2023-03-11 11:41:19 +01:00
|
|
|
@import 'breakpoints';
|
|
|
|
@import 'colors';
|
|
|
|
@import 'fonts';
|
2023-03-12 00:13:25 +01:00
|
|
|
@import 'gallery';
|
2023-03-11 11:41:19 +01:00
|
|
|
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2023-03-12 00:13:25 +01:00
|
|
|
:root {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
2023-03-11 11:41:19 +01:00
|
|
|
body {
|
|
|
|
background: $color-background;
|
|
|
|
color: $color-text;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
font-family: "Maven Pro", sans-serif;
|
2023-03-12 00:13:25 +01:00
|
|
|
font-size: 1.125rem;
|
2023-03-11 14:02:10 +01:00
|
|
|
line-height: 1.5;
|
2023-03-11 11:41:19 +01:00
|
|
|
margin: 0 auto;
|
|
|
|
max-width: $large;
|
|
|
|
min-height: 100vh;
|
|
|
|
|
|
|
|
main {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
header, footer {
|
2023-03-12 20:34:30 +01:00
|
|
|
padding: 1rem;
|
2023-03-11 11:41:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
|
|
|
align-items: center;
|
2023-03-12 20:34:30 +01:00
|
|
|
background: $color-background;
|
2023-03-11 11:41:19 +01:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
2023-03-12 20:34:30 +01:00
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 1;
|
2023-03-11 11:41:19 +01:00
|
|
|
|
2023-03-11 14:11:57 +01:00
|
|
|
a img {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-brand {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2023-03-11 11:41:19 +01:00
|
|
|
.header-logo {
|
|
|
|
height: 3.2rem;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-burger {
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
}
|
2023-03-11 14:11:57 +01:00
|
|
|
|
|
|
|
.sm-menu {
|
|
|
|
display: flex;
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
|
|
|
|
a {
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
|
|
|
|
.sm-icon {
|
|
|
|
height: auto;
|
|
|
|
transition: opacity 0.25s;
|
|
|
|
width: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover .sm-icon {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: $small) {
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
|
|
|
nav {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: right;
|
|
|
|
}
|
|
|
|
}
|
2023-03-11 11:41:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
2023-03-12 20:34:30 +01:00
|
|
|
padding: 0 1rem;
|
2023-03-11 11:41:19 +01:00
|
|
|
|
|
|
|
& > :last-child {
|
2023-03-11 16:04:10 +01:00
|
|
|
margin-bottom: 0 !important;
|
2023-03-11 11:41:19 +01:00
|
|
|
}
|
|
|
|
|
2023-03-30 00:32:00 +02:00
|
|
|
p a {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2023-03-11 11:41:19 +01:00
|
|
|
& > p > img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-12 20:34:30 +01:00
|
|
|
footer nav {
|
|
|
|
align-items: end;
|
2023-03-11 11:41:19 +01:00
|
|
|
|
2023-03-12 20:34:30 +01:00
|
|
|
@media screen and (min-width: $small) {
|
|
|
|
align-items: normal;
|
|
|
|
justify-content: end;
|
2023-03-11 11:41:19 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
&.nav-toggleable {
|
|
|
|
flex-basis: 100%;
|
|
|
|
max-height: 0;
|
|
|
|
overflow-y: hidden;
|
|
|
|
transition: max-height 0.5s;
|
|
|
|
|
|
|
|
.nav-toggle:checked ~ & {
|
|
|
|
max-height: calc(var(--num-elements) * 2em);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.pagination {
|
2023-03-12 20:26:31 +01:00
|
|
|
margin-bottom: 3rem;
|
2023-03-11 11:41:19 +01:00
|
|
|
|
|
|
|
:first-child {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a, span {
|
|
|
|
line-height: 1.5em;
|
|
|
|
margin: 0.5em 0 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: $small) {
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
&.nav-toggleable {
|
|
|
|
flex-basis: auto;
|
|
|
|
max-height: max-content;
|
|
|
|
}
|
|
|
|
|
|
|
|
a, span {
|
2023-03-11 19:18:43 +01:00
|
|
|
margin: 0 0 0 1.5em;
|
2023-03-11 11:41:19 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-11 14:07:49 +01:00
|
|
|
article {
|
|
|
|
display: flex;
|
|
|
|
|
2023-03-11 16:04:10 +01:00
|
|
|
&.preview {
|
|
|
|
margin-bottom: 3rem;
|
2023-03-11 14:07:49 +01:00
|
|
|
|
2023-03-12 20:20:24 +01:00
|
|
|
& > img {
|
|
|
|
display: none;
|
2023-03-11 16:04:10 +01:00
|
|
|
height: 200px;
|
2023-03-11 16:12:55 +01:00
|
|
|
margin-right: 1.5rem;
|
2023-03-12 20:20:24 +01:00
|
|
|
min-width: 200px;
|
|
|
|
object-fit: cover;
|
2023-03-11 14:07:49 +01:00
|
|
|
|
2023-03-11 16:04:10 +01:00
|
|
|
@media screen and (min-width: $small) {
|
2023-03-12 20:20:24 +01:00
|
|
|
display: block;
|
2023-03-11 16:04:10 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& > .text {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.page {
|
|
|
|
& > .image {
|
2023-03-12 20:20:24 +01:00
|
|
|
display: none;
|
2023-03-11 16:04:10 +01:00
|
|
|
text-align: right;
|
|
|
|
|
2023-03-12 20:20:24 +01:00
|
|
|
& > img {
|
|
|
|
height: auto;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2023-03-11 16:04:10 +01:00
|
|
|
@media screen and (min-width: $small) {
|
2023-03-12 20:20:24 +01:00
|
|
|
display: block;
|
2023-03-11 16:04:10 +01:00
|
|
|
padding-left: 1.5em;
|
|
|
|
width: 60%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& > .text {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
@media screen and (min-width: $small) {
|
|
|
|
width: 40%;
|
2023-03-11 14:07:49 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-11 11:41:19 +01:00
|
|
|
a {
|
|
|
|
color: $color-link;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover, &.is-active {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
2023-03-11 14:02:45 +01:00
|
|
|
font-weight: normal;
|
2023-03-11 11:41:19 +01:00
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
ol, ul {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
padding-left: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
color: $color-text;
|
|
|
|
margin: 3em 0;
|
|
|
|
}
|
|
|
|
|
2023-03-11 16:04:10 +01:00
|
|
|
.date {
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
|
|
@media screen and (min-width: $small) {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-11 11:41:19 +01:00
|
|
|
.nav-burger {
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 1rem;
|
|
|
|
justify-content: space-between;
|
|
|
|
width: 1.2rem;
|
|
|
|
|
|
|
|
div {
|
|
|
|
background: $color-burger;
|
|
|
|
height: 2px;
|
|
|
|
transition: background 0.5s, transform 0.5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-toggle:checked ~ & div {
|
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
background: $color-burger;
|
|
|
|
transform: translateY(0.5rem) translateY(-1px) rotate(45deg) scaleX(141%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
background: $color-burger;
|
|
|
|
transform: translateY(-0.5rem) translateY(1px) rotate(-45deg) scaleX(141%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: $small) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-toggle {
|
|
|
|
display: none;
|
|
|
|
}
|