mirror of https://github.com/freeCodeCamp/devdocs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1007 B
45 lines
1007 B
._rdoc {
|
|
> .description, > .documentation-section { padding-left: 1rem; }
|
|
> .description > h2, header > h3, > h2 { @extend %block-heading; }
|
|
> .description > h2, header > h3, .method-heading { margin-left: -1rem; }
|
|
.description > h1 { font-size: 1rem; }
|
|
.method-description > h2, h3, h4, h5, h6 { font-size: 1em; }
|
|
|
|
.method-heading {
|
|
font-weight: var(--boldFontWeight);
|
|
@extend %block-label, %label-blue;
|
|
|
|
+ .method-heading { margin-top: -.5em; }
|
|
}
|
|
|
|
> .meta {
|
|
@extend %note, %note-blue;
|
|
|
|
> dd { margin: 0; }
|
|
> dd + dt { margin-top: .5em; }
|
|
}
|
|
|
|
a.method-click-advice {
|
|
float: right;
|
|
font-size: .75rem;
|
|
color: var(--linkColor);
|
|
cursor: pointer;
|
|
@extend %user-select-none;
|
|
|
|
&:hover { text-decoration: underline; }
|
|
|
|
@include print {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.method-source-code {
|
|
display: none;
|
|
}
|
|
|
|
// Rails guides
|
|
.note { @extend %note; }
|
|
.info { @extend %note, %note-blue; }
|
|
.warning { @extend %note, %note-red; }
|
|
}
|