summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
Diffstat (limited to 'css')
-rw-r--r--css/content.scss19
-rw-r--r--css/navigationBar.scss92
2 files changed, 62 insertions, 49 deletions
diff --git a/css/content.scss b/css/content.scss
index bdac41c..03904a5 100644
--- a/css/content.scss
+++ b/css/content.scss
@@ -36,16 +36,15 @@
}
#contentHeading {
- background-color: $foregroundColour;
- border-radius: 1rem;
- display: block;
- font-family: "Martian Mono", "monospace";
- font-size: 4rem;
- font-weight: bold;
- margin: auto;
- margin-bottom: 1rem;
- padding: 1rem;
- text-align: center;
+ background-color: $foregroundColour;
+ border-radius: 1rem;
+ display: block;
+ font-size: 4rem;
+ font-weight: bold;
+ margin: auto;
+ margin-bottom: 1rem;
+ padding: 1rem;
+ text-align: center;
span.small {
font-size: 0.5em;
diff --git a/css/navigationBar.scss b/css/navigationBar.scss
index a8d6c10..4600437 100644
--- a/css/navigationBar.scss
+++ b/css/navigationBar.scss
@@ -1,52 +1,66 @@
#navigationBar {
- align-items: center;
- backdrop-filter: blur(1rem);
- background-color: $textColour;
- background-color: color-mix(in srgb, $textColour, transparent 75%);
- border-top-left-radius: 1rem;
- border-top-right-radius: 1rem;
- color: $backgroundColour;
- display: flex;
- gap: 0.25rem;
- justify-content: center;
- left: 50vw;
- padding: 1rem;
- position: fixed;
- top: 100vh;
- transform: translate(-50%, -1rem);
- transition: 0.25s;
- z-index: 1;
-
- &:hover {
- background-color: $textColour;
- transition: 0.25s;
- transform: translate(-50%, -100%);
+ align-items: center;
+ background-color: #00000000;
+ display: flex;
+ gap: 1rem;
+ justify-content: center;
+ left: 50vw;
+ padding: 1rem;
+ position: absolute;
+ top: 0;
+ transform: translateX(-50%);
+ user-select: none;
+ width: 100vw;
+ z-index: 1;
+
+ body.about & {
+ --foregroundColour: #FFFFFF;
+ }
+
+ body.benoit & {
+ --foregroundColour: #FFFFFF;
+ }
+
+ body.bowshock & {
+ --foregroundColour: #FFFFFF;
+ }
+
+ body.bzipper & {
+ --foregroundColour: #B4202D;
+ }
+
+ body.eas & {
+ --foregroundColour: #00291B;
+ }
+
+ body.luma & {
+ --foregroundColour: #FFFFFF;
+ }
+
+ body.pollex & {
+ --foregroundColour: #FFFFFF;
}
a {
- font-weight: bold;
- text-decoration: none;
+ color: var(--foregroundColour);
+ font-weight: bold;
+ text-decoration-color: #00000000;
+ transition: text-decoration-color 0.125s;
- &, &:visited {
- color: $backgroundColour;
+ &:hover {
+ cursor: pointer;
+ }
- &:first-of-type {
- color: $achernarColour;
- }
+ &:hover {
+ text-decoration-color: var(--foregroundColour);
+ transition: text-decoration-color 0.125s;
}
}
- .groupSeparator {
- background-color: $backgroundColour;
+ .separator {
+ background-color: var(--foregroundColour);
border-radius: 0.25rem;
height: 0.25rem;
- width: 0.75rem;
- }
-
- .elementSeparator {
- background-color: $backgroundColour;
- border-radius: 100%;
- height: 0.25rem;
- width: 0.25rem;
+ width: 1rem;
}
} \ No newline at end of file