2018-12-15 22:06:27 +01:00
|
|
|
/* color palette: https://coolors.co/23f0c7-ef767a-7765e3-6457a6-ffe347 */
|
|
|
|
|
2019-03-16 15:33:28 +01:00
|
|
|
@import url('../fonts/Route159/Route159.css');
|
|
|
|
@import url('../fonts/Lora/Lora.css');
|
|
|
|
@import url('../fonts/Playfair_Display/PlayfairDisplay.css');
|
2018-12-15 22:06:27 +01:00
|
|
|
|
2019-01-09 18:57:48 +01:00
|
|
|
html {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
*, *:before, *:after {
|
|
|
|
box-sizing: inherit;
|
|
|
|
}
|
|
|
|
|
2018-12-15 22:06:27 +01:00
|
|
|
@import 'variables';
|
|
|
|
@import 'global';
|
|
|
|
@import 'header';
|
|
|
|
@import 'article';
|
|
|
|
@import 'forms';
|
|
|
|
|
|
|
|
/// Small screens
|
2019-04-08 22:48:15 +02:00
|
|
|
@media screen and (max-width: 600px) {
|
2018-12-15 22:06:27 +01:00
|
|
|
@keyframes menuOpening {
|
|
|
|
from {
|
|
|
|
transform: scaleX(0);
|
|
|
|
transform-origin: left;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
transform: scaleX(1);
|
|
|
|
transform-origin: left;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-18 14:09:51 +02:00
|
|
|
body > header {
|
2018-12-15 22:06:27 +01:00
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
nav#menu {
|
|
|
|
display: inline-flex;
|
2019-05-18 14:09:51 +02:00
|
|
|
z-index: 21;
|
2018-12-15 22:06:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#content {
|
|
|
|
display: none;
|
2019-05-06 20:18:53 +02:00
|
|
|
appearance: none;
|
2018-12-15 22:06:27 +01:00
|
|
|
text-align: center;
|
2019-05-31 13:07:59 +02:00
|
|
|
overflow-y: scroll;
|
2019-05-18 14:09:51 +02:00
|
|
|
z-index: 20;
|
2018-12-15 22:06:27 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-18 14:09:51 +02:00
|
|
|
body > header:focus-within #content, #content.show {
|
2018-12-15 22:06:27 +01:00
|
|
|
position: fixed;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
animation: 0.2s menuOpening;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
transform: skewX(-10deg);
|
|
|
|
top: 0;
|
|
|
|
left: -20%;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
z-index: -10;
|
|
|
|
|
|
|
|
background: $purple;
|
|
|
|
}
|
|
|
|
|
|
|
|
> nav {
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
margin: 0;
|
|
|
|
padding: 1rem 1.5rem;
|
|
|
|
color: $white;
|
|
|
|
font-size: 1.4em;
|
|
|
|
font-weight: 300;
|
|
|
|
|
|
|
|
&.title { font-size: 1.8em; }
|
|
|
|
|
|
|
|
> *:first-child { width: 3rem; }
|
|
|
|
> img:first-child { height: 3rem; }
|
|
|
|
> *:last-child { margin-left: 1rem; }
|
|
|
|
> nav hr {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
border: solid $white 0.1rem;
|
|
|
|
}
|
|
|
|
.mobile-label { display: initial; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
main .article-meta {
|
2019-05-18 14:09:51 +02:00
|
|
|
> *, .comments {
|
2019-05-31 13:07:59 +02:00
|
|
|
margin: 0 3%;
|
2018-12-15 22:06:27 +01:00
|
|
|
}
|
|
|
|
> p {
|
2019-05-31 13:07:59 +02:00
|
|
|
margin: 1em 5%;
|
2018-12-15 22:06:27 +01:00
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
.comments > * { margin: auto 5%; }
|
|
|
|
.comments .comment { padding: 2em 0px; }
|
|
|
|
}
|
|
|
|
main .article-info, main article, main h1.article, main h2.article {
|
|
|
|
max-width: 90vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card {
|
|
|
|
min-width: 80%;
|
|
|
|
min-height: 80%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs {
|
|
|
|
margin: auto 0px 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stats { flex-direction: column; }
|
|
|
|
body > footer {
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2019-05-18 14:09:51 +02:00
|
|
|
body > footer * {
|
|
|
|
margin: 1em auto;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2018-12-15 22:06:27 +01:00
|
|
|
|
|
|
|
.flex.wrap { flex-direction: column; }
|
2019-04-19 16:49:22 +02:00
|
|
|
|
2019-05-18 14:09:51 +02:00
|
|
|
.cards, .list {
|
2019-04-19 16:49:22 +02:00
|
|
|
margin: 1rem 0 5rem;
|
|
|
|
}
|
2019-05-18 14:09:51 +02:00
|
|
|
|
|
|
|
.split {
|
|
|
|
flex-direction: column;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
& > * {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bottom-bar {
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
& > div {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
main .article-meta .comments .comment {
|
|
|
|
header {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
2018-12-15 22:06:27 +01:00
|
|
|
}
|