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.
58 lines
900 B
58 lines
900 B
//
|
|
// Page
|
|
//
|
|
|
|
._page {
|
|
> h1 { @extend ._lined-heading; }
|
|
> h1:first-child { margin-top: 0; }
|
|
|
|
a[href^="http:"], a[href^="https:"] { @extend %external-link; }
|
|
|
|
a:not([href]) {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
iframe {
|
|
display: block;
|
|
padding: 1px;
|
|
border: 1px dotted $boxBorder;
|
|
border-radius: 3px;
|
|
}
|
|
}
|
|
|
|
//
|
|
// Attribution box
|
|
//
|
|
|
|
._attribution {
|
|
clear: both;
|
|
margin: 2rem 0 1.5rem;
|
|
font-size: .75rem;
|
|
color: $textColorLight;
|
|
text-align: center;
|
|
-webkit-font-smoothing: subpixel-antialiased;
|
|
|
|
& + & { margin-top: 1.5rem; }
|
|
& + & > ._attribution-link { display: none; }
|
|
}
|
|
|
|
._attribution-p {
|
|
display: inline-block;
|
|
margin: 0;
|
|
padding: .25rem .75rem;
|
|
background: $labelBackground;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
._attribution-link { @extend %internal-link; }
|
|
|
|
//
|
|
// Entry list
|
|
//
|
|
|
|
._entry-list {
|
|
padding-left: 1em;
|
|
list-style: none;
|
|
}
|