aboutsummaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorAda Isopods <me@bathynomus.xyz>2024-12-05 20:26:58 -0700
committerAda Isopods <me@bathynomus.xyz>2026-10-21 23:30:20 -0600
commite0406f8c60a05887c2670d633d1d8eb58c7332c1 (patch)
tree77fd790ff67921e35f5c0f10a1c1e375a5b4d566 /style.css
parentb58b9832183c5dec8af2dfd580abf3d5d9bdc086 (diff)
overhauled the entire site basically
Diffstat (limited to 'style.css')
-rwxr-xr-x[-rw-r--r--]style.css296
1 files changed, 194 insertions, 102 deletions
diff --git a/style.css b/style.css
index 7485045..266c66e 100644..100755
--- a/style.css
+++ b/style.css
@@ -1,117 +1,209 @@
@font-face {
- font-family: Ubuntu;
- src: url(ubuntu.ttf);
+ font-family: b612_mono;
+ src: url(/fonts/B612_Mono/B612Mono-Regular.ttf);
}
@font-face {
- font-family: Ubuntu-Bold;
- src: url(ubuntu-bold.ttf);
+ font-family: b612_mono;
+ src: url(/fonts/B612_Mono/B612Mono-Bold.ttf);
+ font-weight: bold;
}
+@font-face {
+ font-family: b612_mono;
+ src: url(/fonts/B612_Mono/B612Mono-Italic.ttf);
+ font-style: italic;
+}
+@font-face {
+ font-family: b612_mono;
+ src: url(/fonts/B612_Mono/B612Mono-BoldItalic.ttf);
+ font-weight: bold;
+ font-style: italic;
+}
+
:root {
- --hfont: 'Ubuntu-Bold', 'Ubuntu', Century Gothic, CenturyGothic, AppleGothic, sans-serif;
- --stdfont: 'Ubuntu', Century Gothic, CenturyGothic, AppleGothic, sans-serif;
+ --blue: #2e1ae0;
+ --green: #00ff00;
+ --yellow: #ffff00;
+ --border: 2px solid white;
+ --boxshadow: 0 0 2px white, 0 0 2px white inset;
+ --gradient: linear-gradient(135deg, var(--blue) 0%, var(--blue) 35%, var(--green) 65%, var(--yellow) 90%);
}
-html, body {
- min-height: 100%;
- margin:0;
- padding:0;
+
+img {
+ max-width: 100%;
}
+
body {
- overflow-x: clip;
- color: gainsboro;
- font-family: var(--stdfont);
- background-color: black;
- background-image: url('bg_default.png');
- background-repeat: no-repeat;
- background-attachment: fixed;
- background-size: cover;
- overflow-wrap: break-word;
- display: flex;
- flex-direction: row-reverse;
+ font-family: b612_mono, monospace;
+ margin: 5rem;
+ color: white;
+ background: black;
+ width: fit-content;
+ max-width: 90%;
+ text-shadow: 0 0 2px white;
+}
+body::before {
+ content: " ";
+ display: block;
+ position: fixed;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ right: 0;
+ background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
+ z-index: 2;
+ background-size: 100% 2px, 3px 100%;
+ pointer-events: none;
+ animation: flicker 0.1s infinite;
+}
+
+h1 {
+ font-size: 3em;
+ width: fit-content;
+ text-shadow: none;
+}
+
+.title {
+ font-style: italic;
+ background: var(--gradient);
+ background-clip: text;
+ -webkit-text-fill-color: transparent;
+}
+
+.dir {
+ padding: 2rem;
+ width: fit-content;
+ min-width: 40ch;
+ max-width: 100%;
+ box-sizing: border-box;
+}
+section.dir > *:first-child {
+ margin-top: 0;
+ padding-top: 0;
+}
+section.dir > *:last-child {
+ margin-bottom: 0;
+ padding-bottom: 0;
}
+section.dir > a {
+ display: block;
+ padding: 0.5rem;
+}
+:is(.dir, nav) {
+ border: var(--border);
+ box-shadow: var(--boxshadow);
+}
+:is(.dir, nav):hover {
+ border-image: var(--gradient) 2;
+}
+section {
+ margin-bottom: 1rem;
+}
+
+section article {
+ margin: 0;
+ padding: .5rem 0;
+ border-bottom: 1px solid #fff9;
+}
+article:last-child {
+ border-bottom: none;
+}
+
a {
- color: gainsboro;
-}
-p {
- text-shadow: 0 0 5px black;
-}
-#main {
- flex: 50%;
- padding: 1rem;
- box-shadow: 0 0 45px 90px rgba(0, 0, 0, 0.7);
- display: flex;
- flex-direction: column;
- justify-content: center;
- background: rgba(0, 0, 0, 0.7);
- background: -webkit-linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, #000000 100%);
- background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, #000 100%);
-}
-#secondary {
- flex: 50%;
- display: flex;
- justify-content: center;
- align-items: center;
-}
-#displaycontent {
- box-shadow: 4px 4px 8px 2px black;
- font-size: 0;
-}
-#header {
- font-family: var(--hfont);
- font-size: 3.5em;
- color: transparent;
- -webkit-text-stroke-width: 2px;
- margin: 0;
-}
-#subheader {
- margin-left: -5px;
- font-size: 0.6em;
- color: white;
- -webkit-text-stroke-width: 0;
- text-shadow: 0 0 9px white;
- z-index: 1;
- animation-name: subheaderappear;
- animation-duration: 0.5s;
-}
-@keyframes subheaderappear {
- from {color: #19191900; text-shadow: 0 0 0 black;}
- to {color: white; text-shadow: 0 0 9px white;}
+ color: white;
+}
+nav {
+ width: fit-content;
+ display: flex;
+ flex-wrap: wrap;
}
nav a {
- text-decoration: none;
- display: inline;
- font-family: var(--hfont);
- font-size: 1.4em;
- padding: 5px;
-}
-@media(max-width: 80vh) {
- body {
- flex-direction: column;
- }
- #main {
- padding: 1rem;
- background: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, #000000 100%);
- background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, #000 100%);
- }
-}
-.bandcamp-color { color: #629aa9; transition-duration: 0.2s; }
-.bandcamp-color:hover { color: #86c3d4 ; text-shadow: 0 0 7px #629aa9 ; }
-.youtube-color { color: #ff0000; transition-duration: 0.2s; }
-.youtube-color:hover { color: #ff5252 ; text-shadow: 0 0 7px #ff0000 ; }
-.itchio-color { color: #fa5c5c; transition-duration: 0.2s; }
-.itchio-color:hover { color: #ff8181 ; text-shadow: 0 0 7px #fa5c5c ; }
-.kofi-color { color: #FF5E5B; transition-duration: 0.2s; }
-.kofi-color:hover { color: #ff8684 ; text-shadow: 0 0 7px #FF5E5B ; }
-.white-color { color: gainsboro; transition-duration: 0.2s; }
-.white-color:hover { color: white; text-shadow: 0 0 7px white;}
+ margin: 0;
+ padding: 1rem;
+}
-#headerblue { -webkit-text-stroke-color: blue; text-shadow: 0 0 15px blue; animation: hblue; animation-duration: 10s; animation-iteration-count: infinite;}
-@keyframes hblue {
- 0%, 100% {-webkit-text-stroke-color: rgb(0, 0, 200); text-shadow: 0 0 15px rgb(0, 0, 200);}
- 15% {-webkit-text-stroke-color: blue; text-shadow: 0 0 15px blue;}
+pre {
+ font-size: 1rem;
+ font-family: b612_mono, monospace;
}
-#headergreen { -webkit-text-stroke-color: #5ff508; text-shadow: 0 0 15px #5ff508; }
-#headeryellow { -webkit-text-stroke-color: gold; text-shadow: 0 0 15px gold; animation: hyellow; animation-duration: 16.7ms; animation-iteration-count: infinite;}
-@keyframes hyellow {
- from {text-shadow: 0 0 15px rgba(219, 186, 0, 0.87);}
- to {text-shadow: 0 0 15px gold;}
+
+@media only screen and (hover: none) {
+ body {
+ margin: 1rem auto;
+ }
+ .dir {
+ min-width: 0;
+ width: 100%;
+ }
}
+
+@media (prefers-reduced-motion) {
+ body::before {
+ animation: none;
+ }
+}
+
+@keyframes flicker {
+ 0% {
+ opacity: 0.27861;
+ }
+ 5% {
+ opacity: 0.34769;
+ }
+ 10% {
+ opacity: 0.23604;
+ }
+ 15% {
+ opacity: 0.90626;
+ }
+ 20% {
+ opacity: 0.18128;
+ }
+ 25% {
+ opacity: 0.83891;
+ }
+ 30% {
+ opacity: 0.65583;
+ }
+ 35% {
+ opacity: 0.67807;
+ }
+ 40% {
+ opacity: 0.26559;
+ }
+ 45% {
+ opacity: 0.84693;
+ }
+ 50% {
+ opacity: 0.96019;
+ }
+ 55% {
+ opacity: 0.08594;
+ }
+ 60% {
+ opacity: 0.20313;
+ }
+ 65% {
+ opacity: 0.71988;
+ }
+ 70% {
+ opacity: 0.53455;
+ }
+ 75% {
+ opacity: 0.37288;
+ }
+ 80% {
+ opacity: 0.71428;
+ }
+ 85% {
+ opacity: 0.70419;
+ }
+ 90% {
+ opacity: 0.7003;
+ }
+ 95% {
+ opacity: 0.36108;
+ }
+ 100% {
+ opacity: 0.24387;
+ }
+} \ No newline at end of file