2022-11-06 22:58:22 +01:00
|
|
|
@font-face {
|
|
|
|
font-family: 'Nunito';
|
2022-11-07 01:15:03 +01:00
|
|
|
src:
|
|
|
|
url('../font/Nunito-Regular.woff2') format('woff2'),
|
|
|
|
url('../font/Nunito-Regular.woff') format('woff'),
|
|
|
|
url('../font/Nunito-Regular.ttf') format('truetype');
|
2022-11-06 22:58:22 +01:00
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
font-display: swap;
|
|
|
|
}
|
|
|
|
|
2022-11-07 01:15:03 +01:00
|
|
|
/* Make the parent background blur under this element */
|
|
|
|
.blur {
|
|
|
|
backdrop-filter: blur(3px);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Useful to force cards to have the same height */
|
2021-05-23 01:42:17 +02:00
|
|
|
.has-equal-height {
|
2022-11-07 01:15:03 +01:00
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-05-23 01:42:17 +02:00
|
|
|
}
|
2021-11-14 23:41:41 +01:00
|
|
|
|
2022-11-07 01:15:03 +01:00
|
|
|
/* Justify all content but not titles */
|
|
|
|
p:not(.title,.subtitle) {
|
2021-11-14 23:41:41 +01:00
|
|
|
text-align: justify;
|
2022-11-06 22:58:22 +01:00
|
|
|
}
|
|
|
|
|
2022-11-07 01:15:03 +01:00
|
|
|
/* New font is "smaller" in feeling */
|
2022-11-06 22:58:22 +01:00
|
|
|
.navbar-dropdown {
|
|
|
|
font-size: 1rem;
|
2022-11-07 01:15:03 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Add counter to title */
|
|
|
|
body {
|
|
|
|
counter-reset: h2
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
counter-reset: h3
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
counter-reset: h4
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
counter-reset: h5
|
|
|
|
}
|
|
|
|
|
|
|
|
article h2:before {
|
|
|
|
counter-increment: h2;
|
|
|
|
content: counter(h2) ". "
|
|
|
|
}
|
|
|
|
|
|
|
|
article h3:before {
|
|
|
|
counter-increment: h3;
|
|
|
|
content: counter(h2) "." counter(h3) ". "
|
|
|
|
}
|
|
|
|
|
|
|
|
article h4:before {
|
|
|
|
counter-increment: h4;
|
|
|
|
content: counter(h2) "." counter(h3) "." counter(h4) ". "
|
|
|
|
}
|
|
|
|
|
|
|
|
article .toc__menu ul {
|
|
|
|
counter-reset: item
|
|
|
|
}
|
|
|
|
|
|
|
|
article .toc__menu li a:before {
|
|
|
|
content: counters(item, ".") ". ";
|
|
|
|
counter-increment: item
|
2022-11-05 23:12:24 +01:00
|
|
|
}
|