2013-06-25 20:19:49 +00:00
|
|
|
// Body
|
|
|
|
// --------------------------------------------------
|
|
|
|
body {
|
|
|
|
font-family: @base-font;
|
2013-07-26 15:05:10 +00:00
|
|
|
color: @text-color;
|
2013-06-25 20:19:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Headings
|
|
|
|
// --------------------------------------------------
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
font-family: @heading-font;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Links
|
|
|
|
// --------------------------------------------------
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: @link-color;
|
|
|
|
&:visited {
|
|
|
|
color: lighten(@link-color, 20);
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
color: darken(@link-color, 20);
|
|
|
|
}
|
|
|
|
&:focus {
|
|
|
|
outline: thin dotted;
|
|
|
|
color: darken(@link-color, 20);
|
|
|
|
}
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Figures
|
|
|
|
// --------------------------------------------------
|
|
|
|
figcaption {
|
|
|
|
padding-top: 10px;
|
|
|
|
.font(14);
|
|
|
|
line-height: 1.3;
|
|
|
|
color: lighten(@text-color, 10);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Note text
|
|
|
|
// --------------------------------------------------
|
|
|
|
.notice {
|
|
|
|
margin-top: 1.5em;
|
|
|
|
padding: .5em 1em;
|
|
|
|
text-indent: 0;
|
2013-06-27 15:14:06 +00:00
|
|
|
.font-rem(16);
|
|
|
|
background-color: lighten(@black, 95);
|
|
|
|
border: 1px solid lighten(@black, 90);
|
|
|
|
.rounded(4px);
|
2013-06-25 20:19:49 +00:00
|
|
|
}
|
|
|
|
// Blockquotes
|
|
|
|
// --------------------------------------------------
|
|
|
|
blockquote {
|
2013-06-27 19:21:30 +00:00
|
|
|
font-family: @alt-font;
|
|
|
|
font-style: italic;
|
|
|
|
.font-size(24);
|
|
|
|
padding-left: 20px;
|
|
|
|
border-left: 8px solid @black;
|
2013-06-25 20:19:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Footnotes
|
|
|
|
// --------------------------------------------------
|
|
|
|
.footnotes {
|
|
|
|
.font(14);
|
|
|
|
font-family: @base-font;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Code
|
|
|
|
// --------------------------------------------------
|
|
|
|
tt, code, kbd, samp, pre {
|
|
|
|
font-family: @code-font;
|
2013-06-27 15:12:29 +00:00
|
|
|
}
|
|
|
|
p code {
|
|
|
|
.font-rem(16);
|
|
|
|
white-space: nowrap;
|
|
|
|
margin: 0 2px;
|
|
|
|
padding: 0 5px;
|
|
|
|
border: 1px solid lighten(@black, 90);
|
|
|
|
background-color: lighten(@black, 95);
|
|
|
|
.rounded(3px);
|
2013-06-25 20:19:49 +00:00
|
|
|
}
|