2013-09-07 14:44:10 +02:00
|
|
|
// Body
|
|
|
|
// --------------------------------------------------
|
|
|
|
body {
|
|
|
|
font-family: @base-font;
|
|
|
|
color: @text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Headings
|
|
|
|
// --------------------------------------------------
|
2013-05-24 16:25:31 +02:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
2013-09-07 14:44:10 +02:00
|
|
|
font-family: @heading-font;
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
2013-09-07 14:44:10 +02:00
|
|
|
h1 {
|
2013-09-07 17:59:02 +02:00
|
|
|
.font-size(32)
|
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
.font-size(28)
|
|
|
|
}
|
|
|
|
h3 {
|
|
|
|
.font-size(24)
|
|
|
|
}
|
|
|
|
h4 {
|
|
|
|
.font-size(18)
|
|
|
|
}
|
|
|
|
h5 {
|
|
|
|
.font-size(16)
|
|
|
|
}
|
|
|
|
h6 {
|
|
|
|
.font-size(14);
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
|
|
|
|
2013-09-07 14:44:10 +02:00
|
|
|
// Links
|
|
|
|
// --------------------------------------------------
|
2013-05-24 16:25:31 +02:00
|
|
|
a {
|
|
|
|
text-decoration: none;
|
2013-09-07 14:44:10 +02:00
|
|
|
color: @link-color;
|
2013-05-24 16:25:31 +02:00
|
|
|
&:visited {
|
2013-09-07 14:44:10 +02:00
|
|
|
color: lighten(@link-color, 20);
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
|
|
|
&:hover {
|
2013-09-07 14:44:10 +02:00
|
|
|
color: darken(@link-color, 20);
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
|
|
|
&:focus {
|
|
|
|
outline: thin dotted;
|
2013-09-07 14:44:10 +02:00
|
|
|
color: darken(@link-color, 20);
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-07 14:44:10 +02:00
|
|
|
// Figures
|
|
|
|
// --------------------------------------------------
|
|
|
|
figcaption {
|
|
|
|
padding-top: 10px;
|
|
|
|
.font(14);
|
|
|
|
line-height: 1.3;
|
|
|
|
color: lighten(@text-color, 10);
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
|
|
|
|
2013-09-07 14:44:10 +02:00
|
|
|
// Feature Image Caption
|
|
|
|
// --------------------------------------------------
|
|
|
|
.image-credit {
|
2013-09-07 15:05:36 +02:00
|
|
|
.grid(12,10);
|
|
|
|
.prefix(12,1);
|
|
|
|
.suffix(12,1);
|
|
|
|
display: block;
|
2013-09-07 14:44:10 +02:00
|
|
|
text-align: right;
|
2013-09-07 15:05:36 +02:00
|
|
|
.font(12);
|
2013-09-07 14:44:10 +02:00
|
|
|
line-height: 1.3;
|
2013-09-07 15:05:36 +02:00
|
|
|
font-style: italic;
|
2013-09-07 14:44:10 +02:00
|
|
|
color: lighten(@text-color, 30);
|
|
|
|
a {
|
|
|
|
color: lighten(@text-color, 30);
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-07 14:44:10 +02:00
|
|
|
// Note text
|
|
|
|
// --------------------------------------------------
|
2013-05-24 16:25:31 +02:00
|
|
|
.notice {
|
|
|
|
margin-top: 1.5em;
|
|
|
|
padding: .5em 1em;
|
|
|
|
text-indent: 0;
|
2013-09-07 14:44:10 +02:00
|
|
|
.font-rem(14);
|
|
|
|
background-color: @body-color;
|
|
|
|
border: 1px solid darken(@body-color,20);
|
|
|
|
.rounded(3px);
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
2013-09-07 14:44:10 +02:00
|
|
|
|
|
|
|
// Blockquotes
|
|
|
|
// --------------------------------------------------
|
2013-05-24 16:25:31 +02:00
|
|
|
blockquote {
|
2013-09-07 14:44:10 +02:00
|
|
|
margin-left: -28px;
|
|
|
|
padding-left: 20px;
|
|
|
|
border-left: 8px solid @border-color;
|
|
|
|
font-family: @alt-font;
|
2013-05-24 16:25:31 +02:00
|
|
|
font-style: italic;
|
2013-09-07 14:44:10 +02:00
|
|
|
.font-rem(24);
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
2013-09-07 14:44:10 +02:00
|
|
|
|
|
|
|
// Footnotes
|
|
|
|
// --------------------------------------------------
|
2013-09-07 18:57:20 +02:00
|
|
|
.footnotes {
|
2013-09-07 14:44:10 +02:00
|
|
|
ol, li, p {
|
|
|
|
.font-size(14);
|
|
|
|
}
|
2013-06-30 21:41:53 +02:00
|
|
|
}
|
2013-09-07 14:44:10 +02:00
|
|
|
|
2013-09-07 16:10:55 +02:00
|
|
|
// Paragraphs
|
|
|
|
// --------------------------------------------------
|
|
|
|
p {
|
|
|
|
margin: 0 0 @indent-var;
|
|
|
|
& + p {
|
|
|
|
//siblings indentation
|
|
|
|
text-indent: @indent-var;
|
|
|
|
margin-top: -(@indent-var);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-07 14:44:10 +02:00
|
|
|
// Code
|
|
|
|
// --------------------------------------------------
|
2013-06-30 21:41:53 +02:00
|
|
|
tt, code, kbd, samp, pre {
|
2013-09-07 14:44:10 +02:00
|
|
|
font-family: @code-font;
|
|
|
|
}
|
|
|
|
p,
|
|
|
|
li {
|
|
|
|
code {
|
|
|
|
.font-rem(12);
|
|
|
|
line-height: 1.5;
|
|
|
|
white-space: nowrap;
|
|
|
|
margin: 0 2px;
|
|
|
|
padding: 0 5px;
|
|
|
|
border: 1px solid lighten(@black, 90);
|
|
|
|
background-color: lighten(@black, 95);
|
|
|
|
.rounded(3px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pre {
|
|
|
|
.font-rem(12);
|
|
|
|
line-height: 1.5;
|
|
|
|
overflow-x: auto;
|
2013-06-30 21:41:53 +02:00
|
|
|
}
|