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.
59 lines
923 B
59 lines
923 B
11 years ago
|
//
|
||
|
// 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 #ddd;
|
||
|
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;
|
||
|
text-shadow: 0 1px rgba(white, .3);
|
||
|
background: #f2f2f2;
|
||
|
border-radius: 3px;
|
||
|
}
|
||
|
|
||
|
._attribution-link { @extend %internal-link; }
|
||
|
|
||
|
//
|
||
|
// Entry list
|
||
|
//
|
||
|
|
||
|
._entry-list {
|
||
|
padding-left: 1em;
|
||
|
list-style: none;
|
||
|
}
|