|
|
@@ -96,7 +96,7 @@ section img + em {
|
|
|
}
|
|
|
|
|
|
h1 {
|
|
|
- display: inline;
|
|
|
+ display: inline-block;
|
|
|
font-family: "NotoSerif", serif;
|
|
|
font-size: 2.4em;
|
|
|
letter-spacing: 0.05em;
|
|
|
@@ -188,28 +188,91 @@ footer p {
|
|
|
|
|
|
/* Header */
|
|
|
header {
|
|
|
- margin: 3vw auto 2em auto;
|
|
|
+ margin: 3vw auto 2vw auto;
|
|
|
display: flex;
|
|
|
flex-flow: row;
|
|
|
max-width: 80vw;
|
|
|
padding: 1em;
|
|
|
+ flex-wrap: wrap;
|
|
|
}
|
|
|
-header div {
|
|
|
- margin: 0 auto 2em auto;
|
|
|
- margin: 0 auto;
|
|
|
- flex: 1;
|
|
|
+
|
|
|
+.breadcrumb {
|
|
|
+ font-size: 0;
|
|
|
+ font-family: "Hack", monospace;
|
|
|
+ flex: 4;
|
|
|
+ list-style-type: none;
|
|
|
display: flex;
|
|
|
- flex-flow: row;
|
|
|
- max-width: 300px;
|
|
|
+ flex-direction: row;
|
|
|
+ align-items: center;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ margin-bottom: 1vw;
|
|
|
}
|
|
|
|
|
|
-.controls svg,
|
|
|
-.controls a {
|
|
|
+.breadcrumb li {
|
|
|
+ padding: 0;
|
|
|
+ margin: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.breadcrumb a {
|
|
|
flex: 1;
|
|
|
- width: 2em;
|
|
|
- height: 3em;
|
|
|
- color: var(--color-text-alternative);
|
|
|
- background-color: transparent;
|
|
|
+ padding: 0;
|
|
|
+ padding-left: 1em;
|
|
|
+ padding-right: 2em;
|
|
|
+ margin: 0;
|
|
|
+ position: relative;
|
|
|
+ line-height: 2rem;
|
|
|
+ font-size: 1rem;
|
|
|
+ color: var(--color-background);
|
|
|
+}
|
|
|
+
|
|
|
+.breadcrumb a:after {
|
|
|
+ content: "";
|
|
|
+ display: inline-block;
|
|
|
+ width: 0;
|
|
|
+ height: 0;
|
|
|
+ position: absolute;
|
|
|
+ right: 0;
|
|
|
+ top: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.breadcrumb a:nth-child(1n + 1) {
|
|
|
+ background-color: var(--color-accent-1);
|
|
|
+}
|
|
|
+
|
|
|
+.breadcrumb a:nth-child(2n + 1) {
|
|
|
+ background-color: var(--color-accent-2);
|
|
|
+}
|
|
|
+
|
|
|
+.breadcrumb a:nth-child(3n + 1) {
|
|
|
+ background-color: var(--color-accent-3);
|
|
|
+}
|
|
|
+
|
|
|
+.breadcrumb a:nth-child(1n + 1):after {
|
|
|
+ border-top: 1rem solid var(--color-accent-2);
|
|
|
+ border-bottom: 1rem solid var(--color-accent-2);
|
|
|
+ border-left: 1rem solid transparent;
|
|
|
+}
|
|
|
+
|
|
|
+.breadcrumb a:nth-child(2n + 1):after {
|
|
|
+ border-top: 1rem solid var(--color-accent-3);
|
|
|
+ border-bottom: 1rem solid var(--color-accent-3);
|
|
|
+ border-left: 1rem solid transparent;
|
|
|
+}
|
|
|
+
|
|
|
+.breadcrumb a:nth-child(3n + 1):after {
|
|
|
+ border-top: 1rem solid var(--color-accent-1);
|
|
|
+ border-bottom: 1rem solid var(--color-accent-1);
|
|
|
+ border-left: 1rem solid transparent;
|
|
|
+}
|
|
|
+
|
|
|
+.breadcrumb a:last-child {
|
|
|
+ border: none;
|
|
|
+ padding-right: 1rem;
|
|
|
+}
|
|
|
+
|
|
|
+.breadcrumb a:last-child:after {
|
|
|
+ border: none;
|
|
|
+ display: none;
|
|
|
}
|
|
|
|
|
|
/* Dark/light mode switches */
|
|
|
@@ -217,7 +280,9 @@ header div {
|
|
|
display: flex;
|
|
|
align-content: space-around;
|
|
|
align-items: flex-start;
|
|
|
- justify-content: flex-end;
|
|
|
+ justify-content: flex-start;
|
|
|
+ flex: 1;
|
|
|
+ margin-bottom: 1vw;
|
|
|
}
|
|
|
|
|
|
.switches svg {
|
|
|
@@ -350,6 +415,7 @@ header div {
|
|
|
header {
|
|
|
max-width: 90vw;
|
|
|
margin-bottom: 2em;
|
|
|
+ flex-flow: column;
|
|
|
}
|
|
|
footer {
|
|
|
padding: 0;
|
|
|
@@ -362,7 +428,6 @@ header div {
|
|
|
footer p {
|
|
|
padding: 1em;
|
|
|
border-bottom: none;
|
|
|
- border-left: 0.5em solid;
|
|
|
margin: 0 1em;
|
|
|
}
|
|
|
}
|