2019-10-12 00:31:43 -07:00
|
|
|
$container-width: 800px;
|
2019-08-02 18:04:58 -07:00
|
|
|
$primary-color: #36e281;
|
2019-10-31 14:32:34 -07:00
|
|
|
$primary-color-dark: darken($primary-color, 10%);
|
2019-11-02 17:53:31 -07:00
|
|
|
$code-color: #f0f0f0;
|
|
|
|
$code-color-dark: darken($code-color, 10%);
|
2019-12-06 00:10:26 -08:00
|
|
|
$border-color: #bfbfbf;
|
2019-08-02 18:04:58 -07:00
|
|
|
$font-heading: "Lora", serif;
|
|
|
|
$font-body: "Raleway", serif;
|
|
|
|
$font-code: "Inconsolata", monospace;
|
2019-12-06 00:10:26 -08:00
|
|
|
$standard-border: 1px solid $border-color;
|
|
|
|
|
|
|
|
@mixin bordered-block {
|
|
|
|
border: $standard-border;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
2019-08-02 18:04:58 -07:00
|
|
|
|
|
|
|
body {
|
|
|
|
font-family: $font-body;
|
|
|
|
font-size: 1.0em;
|
|
|
|
line-height: 1.5;
|
|
|
|
margin-bottom: 1em;
|
2019-11-02 17:53:31 -07:00
|
|
|
text-align: justify;
|
2019-08-02 18:04:58 -07:00
|
|
|
}
|
|
|
|
|
2019-12-06 00:10:26 -08:00
|
|
|
main {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2019-08-02 18:04:58 -07:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
margin-bottom: .1em;
|
|
|
|
margin-top: .5em;
|
|
|
|
font-family: $font-heading;
|
|
|
|
font-weight: normal;
|
2019-11-11 15:36:59 -08:00
|
|
|
text-align: left;
|
2019-08-02 18:04:58 -07:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: black;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $primary-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
font-family: $font-code;
|
2019-11-02 17:53:31 -07:00
|
|
|
background-color: $code-color;
|
2019-08-02 18:04:58 -07:00
|
|
|
}
|
|
|
|
|
2019-08-02 18:35:47 -07:00
|
|
|
pre code {
|
|
|
|
display: block;
|
|
|
|
padding: 0.5em;
|
|
|
|
overflow-x: auto;
|
2019-11-02 17:53:31 -07:00
|
|
|
background-color: $code-color;
|
2019-08-02 18:35:47 -07:00
|
|
|
}
|
|
|
|
|
2019-08-02 18:04:58 -07:00
|
|
|
.container {
|
|
|
|
margin: auto;
|
|
|
|
width: 100%;
|
|
|
|
max-width: $container-width;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
@media screen and (max-width: $container-width){
|
|
|
|
padding: 0em 1em 0em 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.button, input[type="submit"] {
|
|
|
|
padding: 0.5em;
|
|
|
|
background-color: $primary-color;
|
|
|
|
border: none;
|
|
|
|
color: white;
|
|
|
|
transition: color 0.25s;
|
|
|
|
transition: background-color 0.25s;
|
2019-11-11 15:36:59 -08:00
|
|
|
text-align: left;
|
2019-08-02 18:04:58 -07:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover, &:focus {
|
|
|
|
background-color: white;
|
|
|
|
color: $primary-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-02 18:35:47 -07:00
|
|
|
nav {
|
2019-08-02 18:04:58 -07:00
|
|
|
background-color: $primary-color;
|
|
|
|
width: 100%;
|
|
|
|
margin: 1em 0px 1em 0px;
|
|
|
|
}
|
|
|
|
|
2019-08-02 18:35:47 -07:00
|
|
|
nav a {
|
2019-08-02 18:04:58 -07:00
|
|
|
padding: .75em;
|
|
|
|
text-decoration: none;
|
|
|
|
color: white;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
transition: color .25s, background-color .25s;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $primary-color;
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-subscript {
|
|
|
|
color: #8f8f8f;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-content {
|
|
|
|
margin-top: .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 3.0rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 2.6rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 2.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-size: 1.8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
|
|
|
font-size: 1.4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h6 {
|
|
|
|
font-size: 1.0rem;
|
|
|
|
}
|
2019-08-02 18:35:47 -07:00
|
|
|
|
2019-08-02 18:04:58 -07:00
|
|
|
a {
|
|
|
|
color: $primary-color-dark;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%
|
|
|
|
}
|