2014-07-30 21:36:13 +00:00
|
|
|
---
|
|
|
|
---
|
|
|
|
|
2014-02-07 00:18:00 +00:00
|
|
|
//
|
|
|
|
// IMPORTS
|
|
|
|
//
|
|
|
|
|
2015-02-23 06:14:19 +00:00
|
|
|
@import "reset";
|
|
|
|
@import "variables";
|
2014-07-30 22:53:22 +00:00
|
|
|
// Syntax highlighting @import is at the bottom of this file
|
2014-02-07 00:18:00 +00:00
|
|
|
|
2014-07-30 22:53:22 +00:00
|
|
|
/**************/
|
|
|
|
/* BASE RULES */
|
|
|
|
/**************/
|
2014-02-07 00:18:00 +00:00
|
|
|
|
|
|
|
html {
|
|
|
|
font-size: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
background: $white;
|
|
|
|
font: 18px/1.4 $helvetica;
|
|
|
|
color: $darkGray;
|
|
|
|
}
|
|
|
|
|
2014-05-17 20:35:19 +00:00
|
|
|
.container {
|
|
|
|
margin: 0 auto;
|
|
|
|
max-width: 740px;
|
2014-06-02 23:10:43 +00:00
|
|
|
padding: 0 10px;
|
2014-05-17 20:35:19 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2014-02-13 01:42:49 +00:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
2014-02-07 00:18:00 +00:00
|
|
|
font-family: $helveticaNeue;
|
|
|
|
color: $darkerGray;
|
2014-08-22 12:45:24 +00:00
|
|
|
font-weight: bold;
|
2014-11-12 03:42:00 +00:00
|
|
|
|
2014-02-07 00:18:00 +00:00
|
|
|
line-height: 1.7;
|
2014-02-13 01:42:49 +00:00
|
|
|
margin: 1em 0 15px;
|
2014-02-07 00:18:00 +00:00
|
|
|
padding: 0;
|
2014-05-28 00:58:58 +00:00
|
|
|
|
|
|
|
@include mobile {
|
|
|
|
line-height: 1.4;
|
|
|
|
}
|
2014-02-07 00:18:00 +00:00
|
|
|
}
|
2014-11-12 03:42:00 +00:00
|
|
|
|
|
|
|
h1 {
|
2014-08-29 01:56:14 +00:00
|
|
|
font-size: 30px;
|
2014-04-30 13:29:05 +00:00
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
2014-02-07 00:18:00 +00:00
|
|
|
}
|
|
|
|
|
2014-11-12 03:42:00 +00:00
|
|
|
h2 {
|
2014-06-01 23:00:30 +00:00
|
|
|
font-size: 24px;
|
2014-02-07 00:18:00 +00:00
|
|
|
}
|
|
|
|
|
2014-11-12 03:42:00 +00:00
|
|
|
h3 {
|
2014-08-29 01:56:14 +00:00
|
|
|
font-size: 20px;
|
2014-02-18 01:34:55 +00:00
|
|
|
}
|
|
|
|
|
2014-11-12 03:42:00 +00:00
|
|
|
h4 {
|
2014-02-18 01:34:55 +00:00
|
|
|
font-size: 18px;
|
|
|
|
color: $gray;
|
2014-02-07 00:18:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 15px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2014-06-01 21:24:06 +00:00
|
|
|
color: $blue;
|
2014-02-07 00:18:00 +00:00
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
2014-02-11 14:11:56 +00:00
|
|
|
&:hover, &:active {
|
2014-06-01 21:24:06 +00:00
|
|
|
color: $blue;
|
2014-02-07 00:18:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-02-18 01:34:55 +00:00
|
|
|
ul, ol {
|
|
|
|
margin: 15px 0;
|
2014-02-07 00:18:00 +00:00
|
|
|
padding-left: 30px;
|
2014-02-18 01:34:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
2014-02-07 00:18:00 +00:00
|
|
|
list-style-type: disc;
|
|
|
|
}
|
|
|
|
|
2014-02-18 01:34:55 +00:00
|
|
|
ol {
|
|
|
|
list-style-type: decimal;
|
|
|
|
}
|
|
|
|
|
|
|
|
ol ul, ul ol, ul ul, ol ol {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul ul, ol ul {
|
|
|
|
list-style-type: circle;
|
|
|
|
}
|
|
|
|
|
2014-07-15 02:13:26 +00:00
|
|
|
em, i {
|
2014-02-18 01:34:55 +00:00
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2014-07-15 02:13:26 +00:00
|
|
|
strong, b {
|
2014-08-22 12:45:24 +00:00
|
|
|
font-weight: bold;
|
2014-02-18 01:34:55 +00:00
|
|
|
}
|
|
|
|
|
2014-02-13 01:42:49 +00:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2015-01-13 00:20:29 +00:00
|
|
|
// Fixes images in popup boxes from Google Translate
|
|
|
|
.gmnoprint img {
|
|
|
|
max-width: none;
|
|
|
|
}
|
|
|
|
|
2014-02-18 01:34:55 +00:00
|
|
|
.date {
|
|
|
|
font-style: italic;
|
|
|
|
color: $gray;
|
|
|
|
}
|
|
|
|
|
2015-11-06 15:33:30 +00:00
|
|
|
.info {
|
|
|
|
font-size: smaller;
|
2015-11-06 15:44:52 +00:00
|
|
|
color: $gray;
|
2015-11-06 15:33:30 +00:00
|
|
|
}
|
|
|
|
|
2014-02-07 00:18:00 +00:00
|
|
|
// Specify the color of the selection
|
|
|
|
::-moz-selection {
|
|
|
|
color: $black;
|
2014-06-01 22:20:29 +00:00
|
|
|
background: $lightGray;
|
2014-02-07 00:18:00 +00:00
|
|
|
}
|
|
|
|
::selection {
|
|
|
|
color: $black;
|
2014-06-01 22:20:29 +00:00
|
|
|
background: $lightGray;
|
2014-02-07 00:18:00 +00:00
|
|
|
}
|
|
|
|
|
2014-06-01 21:12:38 +00:00
|
|
|
// Nicolas Gallagher's micro clearfix hack
|
|
|
|
// http://nicolasgallagher.com/micro-clearfix-hack/
|
|
|
|
.clearfix:before,
|
|
|
|
.clearfix:after {
|
|
|
|
content: " ";
|
|
|
|
display: table;
|
|
|
|
}
|
|
|
|
|
|
|
|
.clearfix:after {
|
|
|
|
clear: both;
|
|
|
|
}
|
2014-02-07 00:18:00 +00:00
|
|
|
|
2014-07-30 22:53:22 +00:00
|
|
|
/*********************/
|
|
|
|
/* LAYOUT / SECTIONS */
|
|
|
|
/*********************/
|
2014-02-07 00:18:00 +00:00
|
|
|
|
2014-02-17 15:07:14 +00:00
|
|
|
//
|
|
|
|
// .masthead
|
|
|
|
//
|
|
|
|
|
2014-05-17 20:35:19 +00:00
|
|
|
.wrapper-masthead {
|
2014-07-02 12:57:41 +00:00
|
|
|
margin-bottom: 50px;
|
2014-05-17 20:35:19 +00:00
|
|
|
}
|
|
|
|
|
2014-02-17 15:07:14 +00:00
|
|
|
.masthead {
|
2014-05-18 23:13:54 +00:00
|
|
|
padding: 20px 0;
|
2014-06-01 22:20:29 +00:00
|
|
|
border-bottom: 1px solid $lightGray;
|
2014-11-12 03:42:00 +00:00
|
|
|
|
2014-05-17 23:35:15 +00:00
|
|
|
@include mobile {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2014-02-17 15:07:14 +00:00
|
|
|
}
|
|
|
|
|
2014-06-01 21:12:38 +00:00
|
|
|
.site-avatar {
|
2014-02-07 00:18:00 +00:00
|
|
|
float: left;
|
2014-04-30 13:18:14 +00:00
|
|
|
width: 70px;
|
2014-05-18 23:30:00 +00:00
|
|
|
height: 70px;
|
2014-04-30 13:18:14 +00:00
|
|
|
margin-right: 15px;
|
2014-05-17 23:35:15 +00:00
|
|
|
|
|
|
|
@include mobile {
|
|
|
|
float: none;
|
|
|
|
display: block;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
2014-02-17 15:07:14 +00:00
|
|
|
}
|
|
|
|
|
2014-06-01 21:12:38 +00:00
|
|
|
.site-info {
|
2014-02-17 15:07:14 +00:00
|
|
|
float: left;
|
|
|
|
|
|
|
|
@include mobile {
|
2014-05-17 23:35:15 +00:00
|
|
|
float: none;
|
|
|
|
display: block;
|
2014-06-01 21:12:38 +00:00
|
|
|
margin: 0 auto;
|
2014-02-17 15:07:14 +00:00
|
|
|
}
|
2014-06-01 21:12:38 +00:00
|
|
|
}
|
2014-02-17 15:07:14 +00:00
|
|
|
|
2014-06-01 21:12:38 +00:00
|
|
|
.site-name {
|
|
|
|
margin: 0;
|
|
|
|
color: $darkGray;
|
2014-02-17 15:07:14 +00:00
|
|
|
cursor: pointer;
|
2014-11-12 03:42:00 +00:00
|
|
|
font-family: $helveticaNeue;
|
2014-06-01 21:12:38 +00:00
|
|
|
font-weight: 300;
|
|
|
|
font-size: 28px;
|
|
|
|
letter-spacing: 1px;
|
2014-02-07 00:18:00 +00:00
|
|
|
}
|
|
|
|
|
2014-02-17 15:07:14 +00:00
|
|
|
.site-description {
|
2014-06-01 21:12:38 +00:00
|
|
|
margin: -5px 0 0 0;
|
2014-06-01 22:17:13 +00:00
|
|
|
color: $gray;
|
2014-06-01 21:12:38 +00:00
|
|
|
font-size: 16px;
|
2014-11-12 03:42:00 +00:00
|
|
|
|
2014-05-17 23:35:15 +00:00
|
|
|
@include mobile {
|
|
|
|
margin: 3px 0;
|
|
|
|
}
|
2014-02-13 01:42:49 +00:00
|
|
|
}
|
|
|
|
|
2014-02-07 00:18:00 +00:00
|
|
|
nav {
|
|
|
|
float: right;
|
2014-06-01 21:12:38 +00:00
|
|
|
margin-top: 23px; // @TODO: Vertically middle align
|
2014-11-12 03:42:00 +00:00
|
|
|
font-family: $helveticaNeue;
|
2014-02-18 01:34:55 +00:00
|
|
|
font-size: 18px;
|
2014-11-12 03:42:00 +00:00
|
|
|
|
2014-02-07 00:18:00 +00:00
|
|
|
@include mobile {
|
2014-05-17 23:35:15 +00:00
|
|
|
float: none;
|
2014-06-01 21:31:39 +00:00
|
|
|
margin-top: 9px;
|
2014-06-01 21:12:38 +00:00
|
|
|
display: block;
|
2014-05-17 23:35:15 +00:00
|
|
|
font-size: 16px;
|
2014-02-07 00:18:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2014-06-20 20:58:10 +00:00
|
|
|
margin-left: 20px;
|
2014-06-01 21:12:38 +00:00
|
|
|
color: $darkGray;
|
2014-02-07 00:18:00 +00:00
|
|
|
text-align: right;
|
|
|
|
font-weight: 300;
|
|
|
|
letter-spacing: 1px;
|
2014-06-01 21:31:39 +00:00
|
|
|
|
2014-05-17 23:35:15 +00:00
|
|
|
@include mobile {
|
|
|
|
margin: 0 10px;
|
2014-06-01 21:31:39 +00:00
|
|
|
color: $blue;
|
2014-05-17 23:35:15 +00:00
|
|
|
}
|
2014-02-07 00:18:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-02-17 15:07:14 +00:00
|
|
|
//
|
|
|
|
// .main
|
|
|
|
//
|
|
|
|
|
2014-02-13 01:42:49 +00:00
|
|
|
.posts > .post {
|
|
|
|
padding-bottom: 2em;
|
2014-06-01 22:20:29 +00:00
|
|
|
border-bottom: 1px solid $lightGray;
|
2014-02-13 01:42:49 +00:00
|
|
|
}
|
2014-02-07 00:18:00 +00:00
|
|
|
|
2014-05-28 00:49:02 +00:00
|
|
|
.posts > .post:last-child {
|
|
|
|
padding-bottom: 1em;
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
2014-11-12 03:42:00 +00:00
|
|
|
.post {
|
2014-02-07 00:18:00 +00:00
|
|
|
blockquote {
|
|
|
|
margin: 1.8em .8em;
|
2014-06-01 21:12:38 +00:00
|
|
|
border-left: 2px solid $gray;
|
2014-02-07 00:18:00 +00:00
|
|
|
padding: 0.1em 1em;
|
|
|
|
color: $gray;
|
2014-06-01 21:12:38 +00:00
|
|
|
font-size: 22px;
|
|
|
|
font-style: italic;
|
2014-02-07 00:18:00 +00:00
|
|
|
}
|
2014-06-11 13:07:22 +00:00
|
|
|
|
|
|
|
.comments {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2014-07-02 12:46:40 +00:00
|
|
|
|
|
|
|
.read-more {
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 15px;
|
|
|
|
}
|
2014-02-07 00:18:00 +00:00
|
|
|
}
|
|
|
|
|
2014-05-17 20:35:19 +00:00
|
|
|
.wrapper-footer {
|
2014-05-17 23:35:15 +00:00
|
|
|
margin-top: 50px;
|
2014-05-17 20:35:19 +00:00
|
|
|
border-top: 1px solid #ddd;
|
2014-06-03 00:04:06 +00:00
|
|
|
border-bottom: 1px solid #ddd;
|
2014-06-01 22:20:29 +00:00
|
|
|
background-color: $lightGray;
|
2014-05-17 20:35:19 +00:00
|
|
|
}
|
|
|
|
|
2014-02-07 00:18:00 +00:00
|
|
|
footer {
|
2014-02-18 01:34:55 +00:00
|
|
|
padding: 20px 0;
|
2014-04-30 22:16:38 +00:00
|
|
|
text-align: center;
|
2014-06-01 22:07:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Settled on moving the import of syntax highlighting to the bottom of the CSS
|
|
|
|
// ... Otherwise it really bloats up the top of the CSS file and makes it difficult to find the start
|
2015-02-23 06:14:19 +00:00
|
|
|
@import "highlights";
|
|
|
|
@import "svg-icons";
|