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.
24 lines
383 B
24 lines
383 B
._coffeescript {
|
|
padding-left: 1rem;
|
|
|
|
> h1, > h2 { margin-left: -1rem; }
|
|
> h2 { @extend %block-heading; }
|
|
|
|
code { @extend %label; }
|
|
|
|
// CoffeeScript / JavaScript code blocks
|
|
> .code {
|
|
margin: 1.5em 0;
|
|
overflow: hidden;
|
|
|
|
> pre {
|
|
float: left;
|
|
width: 49%;
|
|
margin: 0;
|
|
@extend %border-box;
|
|
|
|
&:last-child { float: right; }
|
|
}
|
|
}
|
|
}
|