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.
47 lines
1.0 KiB
47 lines
1.0 KiB
._rdoc {
|
|
> .description, > .documentation-section { padding-left: 1rem; }
|
|
> .description > h2, header > h3 { @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: bold;
|
|
@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: $linkColor;
|
|
cursor: pointer;
|
|
@extend %user-select-none;
|
|
|
|
&:hover { text-decoration: underline; }
|
|
}
|
|
|
|
.method-description { position: relative; }
|
|
|
|
.method-source-code {
|
|
display: none;
|
|
position: absolute;
|
|
z-index: 1;
|
|
top: 0;
|
|
left: -1em;
|
|
right: 0;
|
|
background: rgba(white, .95);
|
|
box-shadow: 0 1em 1em 1em white;
|
|
|
|
> pre { margin: 0; }
|
|
}
|
|
}
|