2023-10-26 18:13:03 +00:00
|
|
|
/* PAGE STYLES */
|
2024-04-17 07:55:04 +00:00
|
|
|
@import url('./fonts/fonts.css');
|
2023-10-26 18:13:03 +00:00
|
|
|
|
|
|
|
* {
|
|
|
|
scroll-behavior: smooth;
|
|
|
|
}
|
|
|
|
|
2024-02-08 15:56:00 +00:00
|
|
|
*,
|
|
|
|
*::before,
|
|
|
|
*::after {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
input,
|
|
|
|
button,
|
|
|
|
textarea,
|
|
|
|
select {
|
|
|
|
font: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
-moz-text-size-adjust: none;
|
|
|
|
-webkit-text-size-adjust: none;
|
|
|
|
text-size-adjust: none;
|
|
|
|
}
|
|
|
|
|
2023-10-26 18:13:03 +00:00
|
|
|
/* --> BASE STYLES <-- */
|
|
|
|
:root {
|
|
|
|
--page-margin-inline: 1em;
|
2024-02-06 14:01:35 +00:00
|
|
|
--neutral-900: #080c11ff;
|
|
|
|
--neutral-900-25: #080c1133;
|
|
|
|
--neutral-100: #c7c7c7ff;
|
|
|
|
--neutral-100-25: #c7c7c733;
|
|
|
|
|
2024-02-08 15:10:12 +00:00
|
|
|
--primary-colour: var(--neutral-900);
|
|
|
|
--primary-colour-25: var(--neutral-900-25);
|
2024-02-06 14:01:35 +00:00
|
|
|
--bg-colour: #fcfcfcff;
|
|
|
|
--bg-colour-25: #fcfcfc33;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
2024-02-08 15:10:12 +00:00
|
|
|
body {
|
2024-02-06 14:01:35 +00:00
|
|
|
--primary-colour: var(--neutral-100);
|
|
|
|
--primary-colour-25: var(--neutral-100-25);
|
|
|
|
--bg-colour: var(--neutral-900);
|
|
|
|
--bg-colour-25: var(--neutral-900-25);
|
|
|
|
}
|
2023-10-26 18:13:03 +00:00
|
|
|
}
|
|
|
|
|
2024-02-08 15:56:00 +00:00
|
|
|
body.dark {
|
|
|
|
--primary-colour: var(--neutral-100);
|
|
|
|
--primary-colour-25: var(--neutral-100-25);
|
|
|
|
--bg-colour: var(--neutral-900);
|
|
|
|
--bg-colour-25: var(--neutral-900-25);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.light {
|
|
|
|
--primary-colour: var(--neutral-900);
|
|
|
|
--primary-colour-25: var(--neutral-900-25);
|
|
|
|
--bg-colour: #fcfcfcff;
|
|
|
|
--bg-colour-25: #fcfcfc33;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2024-04-17 07:55:04 +00:00
|
|
|
font-family: 'JetBrains', 'fira code', monospace;
|
2024-02-08 15:56:00 +00:00
|
|
|
color: var(--primary-colour);
|
|
|
|
background-color: var(--bg-colour);
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
background-color: var(--bg-colour);
|
|
|
|
color: var(--primary-colour);
|
|
|
|
}
|
|
|
|
|
2023-10-26 18:13:03 +00:00
|
|
|
p {
|
|
|
|
max-width: 80ch;
|
|
|
|
}
|
|
|
|
|
|
|
|
p > img:first-of-type {
|
|
|
|
margin-top: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
em {
|
|
|
|
font-family: serif;
|
|
|
|
font-size: 1.03em;
|
|
|
|
}
|
|
|
|
|
|
|
|
a, a:visited {
|
2024-02-06 14:01:35 +00:00
|
|
|
color: var(--primary-colour);
|
2023-10-26 18:13:03 +00:00
|
|
|
text-decoration: none;
|
2024-02-06 14:01:35 +00:00
|
|
|
border-bottom: 1px var(--primary-colour) solid;
|
2023-10-26 18:13:03 +00:00
|
|
|
transition: color ease 0.5s, border ease 0.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
2024-02-08 15:10:12 +00:00
|
|
|
outline: 1px dotted var(--bg-colour);
|
2023-10-26 18:13:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
border-bottom: thin dotted grey;
|
|
|
|
border-top: none;
|
|
|
|
border-left: none;
|
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
section {
|
|
|
|
isolation: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* --> LISTS <-- */
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin-left: 16px;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
padding: 0.2em 0 0.2em 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
li:before {
|
|
|
|
content: "▸";
|
|
|
|
padding-right: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* --> NAVIGATION <-- */
|
|
|
|
|
|
|
|
nav#toTop {
|
|
|
|
position: fixed;
|
|
|
|
display: inline-block;
|
|
|
|
visibility: hidden;
|
|
|
|
top: calc(95vh - 2em);
|
|
|
|
right: 3em;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0 0em 0.25em;
|
|
|
|
z-index: 100;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav#toTop.active {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav#toTop > span {
|
|
|
|
display: block;
|
|
|
|
opacity: 0.0;
|
|
|
|
transform: translateY(-2em);
|
2024-02-06 14:01:35 +00:00
|
|
|
background-color: var(--primary-colour);
|
2023-10-26 18:13:03 +00:00
|
|
|
padding: 0.3em 0.5em 0.5em;
|
|
|
|
border-radius: 1em;
|
|
|
|
transition: transform ease 0.5s, opacity ease 1s, background-color ease 0.5s 0.5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav#toTop > span::after {
|
|
|
|
font-size: 1.25em;
|
|
|
|
content: '△'
|
|
|
|
}
|
|
|
|
|
|
|
|
nav#toTop.active > span {
|
|
|
|
opacity: 0.5;
|
|
|
|
background-color: rgba(255,255,255,0.9);
|
|
|
|
transform: translateY(0em);
|
|
|
|
}
|
|
|
|
|
|
|
|
nav#toTop.active > span:hover {
|
|
|
|
opacity: 1;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* --> MAINPAGE CONSTRUCTION <-- */
|
|
|
|
nav#sub > ul {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav#sub > ul > li {
|
|
|
|
border-left: thin solid #d2d2d8;
|
|
|
|
text-decoration: none;
|
|
|
|
padding: 5px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav#sub > ul > li:before {
|
2023-10-28 21:10:39 +00:00
|
|
|
content: '';
|
|
|
|
padding: unset;
|
2023-10-26 18:13:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nav#sub > ul > li:hover {
|
2024-02-06 14:01:35 +00:00
|
|
|
background: var(--primary-colour-25);
|
2023-10-26 18:13:03 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav#sub > ul > li > a {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* --> SUBCONTENT CONSTRUCTION <-- */
|
|
|
|
section.page {
|
|
|
|
display: grid;
|
|
|
|
animation: fadeIn 1s ease;
|
|
|
|
margin-inline: var(--page-margin-inline);
|
|
|
|
}
|
|
|
|
|
|
|
|
section.page h1 {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 1360px) {
|
|
|
|
body {
|
|
|
|
font-size: 19px;
|
2024-04-17 07:55:04 +00:00
|
|
|
line-height: 1.5em;
|
2023-10-26 18:13:03 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* --> MAINPAGE CONSTRUCTION <-- */
|
|
|
|
section ul.subMenu {
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* --> SUBCONTENT CONSTRUCTION <-- */
|
|
|
|
section.page {
|
|
|
|
max-width: 1960px;
|
|
|
|
grid-template-columns: repeat(5, 1fr);
|
|
|
|
gap: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
section.page h1 {
|
|
|
|
margin-top: 0.25em;
|
|
|
|
margin-bottom: 0.4em;
|
|
|
|
font-size: 6em;
|
|
|
|
line-height: 0.95em;
|
|
|
|
}
|
|
|
|
|
|
|
|
section.page div.imgFeat {
|
|
|
|
grid-column: span 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
section.page section.imgs {
|
|
|
|
grid-column: 4 / span 2;
|
|
|
|
grid-row: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
section.page section.imgs>img {
|
|
|
|
max-width: 100%;
|
|
|
|
margin-bottom: 24px;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
section.page section.text {
|
|
|
|
grid-column: 1 / span 3;
|
|
|
|
grid-row: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 1359px) {
|
|
|
|
body {
|
|
|
|
font-size: 19px;
|
|
|
|
line-height: 24px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* --> MAINPAGE CONSTRUCTION <-- */
|
|
|
|
section ul.subMenu {
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* --> SUBCONTENT CONSTRUCTION <-- */
|
|
|
|
section.page {
|
|
|
|
max-width: 1960px;
|
|
|
|
grid-template-columns: repeat(5, 1fr);
|
|
|
|
gap: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
section.page h1 {
|
|
|
|
margin-top: 0.25em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
font-size: 4em;
|
|
|
|
line-height: 0.95em;
|
|
|
|
}
|
|
|
|
|
|
|
|
section.page div.imgFeat {
|
|
|
|
grid-column: span 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
section.page section.imgs {
|
|
|
|
grid-column: 4 / span 2;
|
|
|
|
grid-row: 2
|
|
|
|
}
|
|
|
|
|
|
|
|
section.page section.imgs>img {
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
section.page section.text {
|
|
|
|
grid-column: 1 / span 3;
|
|
|
|
grid-row: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 800px) {
|
|
|
|
body {
|
|
|
|
font-size: 20px;
|
|
|
|
line-height: 24px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* --> SUBCONTENT CONSTRUCTION <-- */
|
|
|
|
section.page {
|
|
|
|
display: inherit;
|
2023-10-28 21:10:39 +00:00
|
|
|
grid-gap: 1em;
|
|
|
|
margin-inline: calc(var(--page-margin-inline) * 0.5);
|
2023-10-26 18:13:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
section.page h1 {
|
|
|
|
margin-top: 0.35em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
font-size: 3em;
|
|
|
|
line-height: 0.95em;
|
|
|
|
margin: 24px 0 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#teach h1 {
|
|
|
|
font-size: 3em;
|
|
|
|
line-height: 0.75em;
|
|
|
|
margin: 40px 0 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ANIMATIONS */
|
|
|
|
|
|
|
|
@keyframes fadeIn {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|