2019-03-29 05:32:42 +01:00
|
|
|
/* -- General Layout -- */
|
|
|
|
|
|
|
|
/* Required for footer to stick to the bottom */
|
2024-01-21 22:19:22 +01:00
|
|
|
html,
|
|
|
|
body {
|
|
|
|
height: 100%;
|
2019-03-29 05:32:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Navigation */
|
|
|
|
|
2024-01-21 22:19:22 +01:00
|
|
|
#nav,
|
|
|
|
#nav-left {
|
2019-03-29 05:32:42 +01:00
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
color: $background-color;
|
|
|
|
padding: 0.33334em 0;
|
|
|
|
font-size: 1.5em;
|
|
|
|
font-weight: 400;
|
|
|
|
border-bottom: none;
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
@media (min-width: 940px) {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
&:hover {
|
|
|
|
background-color: lighten($main-color, 5%);
|
|
|
|
}
|
|
|
|
}
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
span {
|
2024-01-21 22:19:22 +01:00
|
|
|
font-weight: 200;
|
|
|
|
}
|
2019-03-29 05:32:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#nav {
|
|
|
|
@include nav-position(right);
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-left {
|
|
|
|
@include nav-position(left);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Toggle class to open menu */
|
|
|
|
|
|
|
|
#nav.menu-open {
|
|
|
|
@include open(-14rem);
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-left.menu-open-left {
|
|
|
|
@include open(14rem);
|
|
|
|
}
|
|
|
|
|
2022-04-11 17:09:33 +02:00
|
|
|
#nav-list {
|
|
|
|
|
|
|
|
.nav-actions {
|
|
|
|
/* Will turn to flex on mobile */
|
|
|
|
display: none;
|
|
|
|
gap: 12px;
|
|
|
|
justify-content: center;
|
2022-04-12 16:15:03 +02:00
|
|
|
align-items: center;
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2022-04-12 16:10:50 +02:00
|
|
|
.icon {
|
2022-04-11 17:09:33 +02:00
|
|
|
padding: 0;
|
2024-01-21 22:19:22 +01:00
|
|
|
|
|
|
|
>img {
|
2022-04-11 17:09:33 +02:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2022-04-11 17:09:33 +02:00
|
|
|
/* Separator after menu */
|
|
|
|
&:after {
|
|
|
|
display: block;
|
|
|
|
content: '';
|
|
|
|
width: 5rem;
|
|
|
|
height: 1px;
|
|
|
|
margin: 23px auto;
|
|
|
|
background-color: $background-color;
|
|
|
|
}
|
2019-03-29 05:32:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Icon menu */
|
|
|
|
|
|
|
|
#nav-menu {
|
|
|
|
@include icon-position(right);
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-menu-left {
|
|
|
|
@include icon-position(left);
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu {
|
|
|
|
height: 4px;
|
|
|
|
width: 1.5em;
|
|
|
|
background-color: lighten($text-color, 35%);
|
|
|
|
margin-top: 8px;
|
2024-01-21 22:19:22 +01:00
|
|
|
|
|
|
|
&:after,
|
|
|
|
&:before {
|
2019-03-29 05:32:42 +01:00
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
height: 4px;
|
|
|
|
width: 1.5em;
|
|
|
|
background-color: lighten($text-color, 35%);
|
|
|
|
transition: all 0.3s ease-in;
|
|
|
|
}
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
&:before {
|
|
|
|
top: -8px;
|
|
|
|
}
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
&:after {
|
|
|
|
top: 4px;
|
|
|
|
}
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
&.btn-close {
|
|
|
|
background: none;
|
|
|
|
}
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
&.btn-close:before {
|
|
|
|
top: 0;
|
|
|
|
-webkit-transform: rotate(-45deg);
|
2024-01-21 22:19:22 +01:00
|
|
|
-moz-transform: rotate(-45deg);
|
|
|
|
-ms-transform: rotate(-45deg);
|
|
|
|
transform: rotate(-45deg);
|
2019-03-29 05:32:42 +01:00
|
|
|
background-color: $background-color;
|
|
|
|
}
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
&.btn-close:after {
|
|
|
|
top: -4px;
|
|
|
|
-webkit-transform: rotate(45deg);
|
2024-01-21 22:19:22 +01:00
|
|
|
-moz-transform: rotate(45deg);
|
|
|
|
-ms-transform: rotate(45deg);
|
|
|
|
transform: rotate(45deg);
|
2019-03-29 05:32:42 +01:00
|
|
|
background-color: $background-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Main content */
|
|
|
|
|
|
|
|
.fixed {
|
|
|
|
position: fixed;
|
|
|
|
width: 100%;
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
@media (min-width: 940px) {
|
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#container {
|
2024-01-21 22:19:22 +01:00
|
|
|
margin: 0 auto;
|
|
|
|
max-width: 730px;
|
|
|
|
padding: 0 1.5rem;
|
2019-03-29 05:32:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#header {
|
2024-01-21 22:19:22 +01:00
|
|
|
text-align: center;
|
2019-03-29 05:32:42 +01:00
|
|
|
padding: 24px 0;
|
|
|
|
position: relative;
|
2019-09-15 21:39:39 +02:00
|
|
|
margin-bottom: 23px;
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
@media (max-width: 480px) {
|
2024-01-21 22:19:22 +01:00
|
|
|
padding-top: 10px;
|
2019-03-29 05:32:42 +01:00
|
|
|
}
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
a {
|
2024-01-21 22:19:22 +01:00
|
|
|
text-decoration: none;
|
|
|
|
color: $text-color;
|
|
|
|
display: inline-block;
|
2019-03-29 05:32:42 +01:00
|
|
|
border-bottom: none;
|
|
|
|
}
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
img {
|
2024-01-21 22:19:22 +01:00
|
|
|
max-height: 100px;
|
|
|
|
margin: 0 auto;
|
|
|
|
display: block;
|
|
|
|
|
2019-04-25 22:11:53 +02:00
|
|
|
@media (max-width: 940px) {
|
2024-01-21 22:19:22 +01:00
|
|
|
max-height: 90px;
|
2019-04-25 22:11:53 +02:00
|
|
|
}
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-04-25 22:11:53 +02:00
|
|
|
@media (max-width: 600px) {
|
2024-01-21 22:19:22 +01:00
|
|
|
max-height: 60px;
|
2019-04-25 22:11:53 +02:00
|
|
|
}
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-04-25 22:11:53 +02:00
|
|
|
@media (max-width: 480px) {
|
2024-01-21 22:19:22 +01:00
|
|
|
max-height: 50px;
|
2019-04-25 22:11:53 +02:00
|
|
|
}
|
2019-03-29 05:32:42 +01:00
|
|
|
}
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
h1 {
|
2024-01-21 22:19:22 +01:00
|
|
|
font-family: 'Bebas Neue', sans-serif; //Emerald logo font
|
2019-03-29 05:32:42 +01:00
|
|
|
font-weight: 400;
|
|
|
|
font-size: 4.5em;
|
|
|
|
color: #d26e2b;
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
@media (max-width: 940px) {
|
2024-01-21 22:19:22 +01:00
|
|
|
padding: 0;
|
2019-03-29 05:32:42 +01:00
|
|
|
}
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
@media (max-width: 600px) {
|
2024-01-21 22:19:22 +01:00
|
|
|
font-size: 3em;
|
2019-03-29 05:32:42 +01:00
|
|
|
}
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
@media (max-width: 480px) {
|
2024-01-21 22:19:22 +01:00
|
|
|
font-size: 2.5em;
|
2019-03-29 05:32:42 +01:00
|
|
|
}
|
|
|
|
}
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
&:after {
|
2024-01-21 22:19:22 +01:00
|
|
|
display: none;
|
2019-03-29 05:32:42 +01:00
|
|
|
content: '';
|
|
|
|
width: 5rem;
|
|
|
|
height: 1px;
|
|
|
|
margin: 23px auto;
|
|
|
|
background-color: lighten($text-color, 70%);
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
@media (max-width: 480px) {
|
2024-01-21 22:19:22 +01:00
|
|
|
margin: 0.5rem auto;
|
2019-03-29 05:32:42 +01:00
|
|
|
}
|
|
|
|
}
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
@media (max-width: 600px) {
|
2024-01-21 22:19:22 +01:00
|
|
|
padding-bottom: 0;
|
2019-03-29 05:32:42 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Posts */
|
|
|
|
|
|
|
|
#posts {
|
|
|
|
li {
|
|
|
|
list-style-type: none;
|
2019-05-24 01:33:33 +02:00
|
|
|
padding-bottom: 0.66667em;
|
2019-03-29 05:32:42 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#post-page {
|
|
|
|
margin-bottom: 1.5em;
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
@media (min-width: 940px) {
|
2024-01-21 22:19:22 +01:00
|
|
|
margin-bottom: 1.3334em;
|
|
|
|
}
|
2019-03-29 05:32:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post+.post:before {
|
2024-01-21 22:19:22 +01:00
|
|
|
display: block;
|
|
|
|
content: '';
|
|
|
|
width: 5rem;
|
|
|
|
height: 1px;
|
|
|
|
margin: 23px auto;
|
|
|
|
background-color: lighten($background-color, 70%) !important;
|
|
|
|
}
|
2019-03-29 05:32:42 +01:00
|
|
|
|
|
|
|
.by-line {
|
|
|
|
display: block;
|
|
|
|
color: lighten($text-color, 25%);
|
2024-01-21 22:19:22 +01:00
|
|
|
line-height: 1.5em;
|
|
|
|
/* 24px/16px */
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
/* 24px/16px */
|
2019-03-29 05:32:42 +01:00
|
|
|
padding-top: 0.5em;
|
|
|
|
font-weight: 200;
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
@media (min-width: 940px) {
|
|
|
|
display: block;
|
|
|
|
color: lighten($text-color, 25%);
|
2024-01-21 22:19:22 +01:00
|
|
|
line-height: 1.3334em;
|
|
|
|
/* 24px/18px */
|
|
|
|
margin-bottom: 1.3334em;
|
|
|
|
/* 24px/18px */
|
2019-03-29 05:32:42 +01:00
|
|
|
font-weight: 200;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-15 21:39:39 +02:00
|
|
|
.by-line-post {
|
|
|
|
display: block;
|
|
|
|
color: lighten($text-color, 25%);
|
2024-01-21 22:19:22 +01:00
|
|
|
line-height: 1.5em;
|
|
|
|
/* 24px/16px */
|
2019-09-15 21:39:39 +02:00
|
|
|
padding-top: 0.5em;
|
|
|
|
font-weight: 200;
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-09-15 21:39:39 +02:00
|
|
|
@media (min-width: 940px) {
|
|
|
|
display: block;
|
|
|
|
color: lighten($text-color, 25%);
|
2024-01-21 22:19:22 +01:00
|
|
|
line-height: 1.3334em;
|
|
|
|
/* 24px/18px */
|
|
|
|
margin-bottom: 1.3334em;
|
|
|
|
/* 24px/18px */
|
2019-09-15 21:39:39 +02:00
|
|
|
font-weight: 200;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
display: block;
|
|
|
|
margin: 0 auto;
|
|
|
|
margin-bottom: 24px;
|
|
|
|
-webkit-border-radius: 4px;
|
2024-01-21 22:19:22 +01:00
|
|
|
-moz-border-radius: 4px;
|
|
|
|
-ms-border-radius: 4px;
|
|
|
|
border-radius: 4px;
|
2019-03-29 05:32:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
img[title="Emerald"] {
|
2024-01-21 22:19:22 +01:00
|
|
|
box-shadow: 0 2px 6px #ddd;
|
|
|
|
}
|
2019-03-29 05:32:42 +01:00
|
|
|
|
|
|
|
code {
|
|
|
|
color: lighten($text-color, 35%);
|
|
|
|
background-color: lighten($background-color, 35%);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Set the vertical rhythm (and padding-left) for lists inside post content */
|
|
|
|
|
2024-01-21 22:19:22 +01:00
|
|
|
.content ul,
|
|
|
|
.content ol {
|
|
|
|
line-height: 1.5em;
|
|
|
|
/* 24px/16px */
|
2019-03-29 05:32:42 +01:00
|
|
|
padding-left: 1.5em;
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
@media (min-width: 940px) {
|
2024-01-21 22:19:22 +01:00
|
|
|
line-height: 1.33334em;
|
|
|
|
/* 24px/18px */
|
2019-03-29 05:32:42 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Paginator */
|
|
|
|
|
|
|
|
.pagination {
|
|
|
|
text-align: center;
|
|
|
|
margin: 2.666668em;
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
span {
|
|
|
|
background-color: darken($background-color, 5%);
|
|
|
|
color: $text-color;
|
|
|
|
}
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
a:hover {
|
|
|
|
background-color: lighten($main-color, 5%);
|
|
|
|
}
|
|
|
|
}
|
2024-01-21 22:19:22 +01:00
|
|
|
|
2019-03-29 05:32:42 +01:00
|
|
|
.page-item {
|
|
|
|
background-color: $main-color;
|
|
|
|
color: $background-color;
|
|
|
|
padding: 4px 8px;
|
|
|
|
font-weight: 400;
|
|
|
|
padding: 0.5em 1em;
|
2019-05-24 01:33:33 +02:00
|
|
|
border-bottom: none;
|
2019-03-29 05:32:42 +01:00
|
|
|
-webkit-border-radius: 4px;
|
2024-01-21 22:19:22 +01:00
|
|
|
-moz-border-radius: 4px;
|
|
|
|
-ms-border-radius: 4px;
|
|
|
|
border-radius: 4px;
|
2019-03-29 05:32:42 +01:00
|
|
|
}
|
2024-01-21 22:19:22 +01:00
|
|
|
|
|
|
|
.page-item:hover,
|
|
|
|
.page-item:active,
|
|
|
|
.page-item:focus {
|
|
|
|
border-bottom: none;
|
2019-05-24 01:33:33 +02:00
|
|
|
}
|
2019-03-29 05:32:42 +01:00
|
|
|
|
|
|
|
/* Footer */
|
|
|
|
|
|
|
|
footer {
|
|
|
|
background-color: $main-color;
|
|
|
|
color: $background-color;
|
|
|
|
text-align: center;
|
|
|
|
padding: 0.6667em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wrap {
|
2024-01-21 22:19:22 +01:00
|
|
|
min-height: 100%;
|
|
|
|
position: relative;
|
|
|
|
padding-bottom: 105px;
|
2019-03-29 05:32:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.footer {
|
2024-01-21 22:19:22 +01:00
|
|
|
padding: 25px 0;
|
|
|
|
background-color: $main-color;
|
|
|
|
color: $background-color;
|
|
|
|
text-align: center;
|
|
|
|
position: absolute;
|
2019-03-29 05:32:42 +01:00
|
|
|
width: 100%;
|
|
|
|
bottom: 0;
|
2024-01-21 22:19:22 +01:00
|
|
|
}
|