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 {
|
|
|
|
.font-rem(32);
|
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
|
|
|
.link-arrow {
|
|
|
|
font-weight: 100;
|
|
|
|
text-decoration: underline;
|
|
|
|
font-style: normal;
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
margin: 0 auto;
|
|
|
|
max-width: 440px;
|
|
|
|
padding-top: 5px;
|
|
|
|
padding-right: 20px;
|
|
|
|
padding-left: 20px;
|
|
|
|
text-align: right;
|
|
|
|
.font(14);
|
|
|
|
line-height: 1.3;
|
|
|
|
color: lighten(@text-color, 30);
|
|
|
|
.clearfix();
|
|
|
|
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
|
|
|
|
// --------------------------------------------------
|
|
|
|
.entry-content .footnotes {
|
|
|
|
ol, li, p {
|
|
|
|
.font-size(14);
|
|
|
|
}
|
2013-06-30 21:41:53 +02:00
|
|
|
}
|
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
|
|
|
}
|