diff options
| author | Bobby <[email protected]> | 2024-12-12 13:49:07 -0500 |
|---|---|---|
| committer | Bobby <[email protected]> | 2024-12-12 13:49:07 -0500 |
| commit | 281b7301c8d97051e28608789ce07a5d505e476c (patch) | |
| tree | 64b4239d46e5b1125a7fb697202a1146018acb1e /static/css/shared/core.css | |
| parent | c0bd4e25dc6d1dbbe76cb88c36d74b621dbdb58c (diff) | |
| download | thatcomputerscientist-281b7301c8d97051e28608789ce07a5d505e476c.tar.xz thatcomputerscientist-281b7301c8d97051e28608789ce07a5d505e476c.zip | |
more changes to home page
Diffstat (limited to 'static/css/shared/core.css')
| -rw-r--r-- | static/css/shared/core.css | 112 |
1 files changed, 100 insertions, 12 deletions
diff --git a/static/css/shared/core.css b/static/css/shared/core.css index 884ddbbf..06e571f3 100644 --- a/static/css/shared/core.css +++ b/static/css/shared/core.css @@ -1,24 +1,46 @@ /* Reset and Base Styles */ +@font-face { + font-family: 'TheHeart'; + src: url('../../fonts/THEHEART.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'Yomogi'; + src: url('../../fonts/YOMOGI.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} + * { margin: 0; padding: 0; box-sizing: border-box; - font-family: "Mali", sans-serif; - font-size: 11px; outline: none; border: none; -} - -/* Root Variables */ -:root { - --resolution-multiplier: 1; + color: #fff; } /* HTML and Body Base */ html { background-color: #000; color: #fff; - min-width: 1024px; + min-width: 1200px; +} + +html[lang='en'], +html[lang='en'] input, +.en { + font-family: 'TheHeart', sans-serif; + font-size: 14px; +} + +html[lang='ja'], +html[lang='ja'] input, +.ja { + font-family: 'Yomogi', sans-serif; + font-size: 12px; } body { @@ -33,10 +55,23 @@ hr { background: #fff; } -a:visited { +a { + color: #fff; + text-decoration: none; +} + +a:link, +a:visited, +a:hover, +a:active { color: #fff; } +a:hover { + text-decoration: underline; +} + +/* Image Styles */ img { -webkit-backface-visibility: hidden; backface-visibility: hidden; @@ -46,6 +81,16 @@ img { image-rendering: crisp-edges; } +#video-background { + position: fixed; + right: 0; + bottom: 0; + min-width: 100%; + min-height: 100%; + z-index: -100; + object-fit: cover; +} + /* Video Overlay */ #video-overlay { position: fixed; @@ -54,7 +99,7 @@ img { width: 100%; height: 100%; background-color: #000; - opacity: 0.35; + opacity: 0.5; z-index: -99; } @@ -62,7 +107,7 @@ img { #body-wrapper { position: relative; z-index: 1; - width: 1000px; + width: 1200px; margin: 0 auto; } @@ -70,6 +115,44 @@ img { display: flex; } +/* SCANLINES */ +#scanlines { + position: fixed; + left: 0; + top: 0; + width: 100vw; + height: 100vh; + pointer-events: none; + z-index: 300; + opacity: 0.18; +} + +#scanlines:before { + content: ""; + position: absolute; + left: 0; + top: 0; + right: 0; + bottom: 0; + pointer-events: none; + background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, .4) 50%); + background-size: 100% 4px; + will-change: background, background-size; + animation: scanlines 0.2s linear infinite; +} + +@keyframes scanlines { + from { + background: linear-gradient(to bottom, transparent 10%, rgba(0, 0, 0, .4) 50%); + background-size: 100% 4px; + } + + to { + background: linear-gradient(to bottom, rgba(0, 0, 0, .4) 50%, transparent 50%); + background-size: 100% 4px; + } +} + /* Sidebar and Main Content */ #left-sidebar { width: 200px; @@ -77,8 +160,13 @@ img { border-top-left-radius: 14px; } +.left-sidebar { + position: relative; + top: -65px; +} + #main-content { - width: 580px; + width: 780px; padding: 0 20px; border-top: 1px solid #fff; } |
