diff options
Diffstat (limited to 'cooler/style.css')
-rw-r--r-- | cooler/style.css | 152 |
1 files changed, 152 insertions, 0 deletions
diff --git a/cooler/style.css b/cooler/style.css new file mode 100644 index 0000000..a0dae26 --- /dev/null +++ b/cooler/style.css @@ -0,0 +1,152 @@ +@import url('https://fonts.googleapis.com/css?family=Raleway:900&display=swap'); + +html, body { + background-color: #000; + color: #fff; + padding: 0; + margin: 0; + text-align: center; + font-size: 69px; + font-family: 'Courier New', Courier, monospace; + font-weight: bold; +} + +section{ + height: 100vh; +} + +.center { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} + +.blink { + animation: blink .2s infinite; +} + +@keyframes blink { + 0% { + opacity: 1; + } + 50% { + opacity: 0; + } + 100% { + opacity: 1; + } +} + +.bg { + z-index: 1; + width: 100%; + height: 200vh; + position: absolute; + top: 0; + left: 0; +} + +.page { + height: 100vh; + position: relative; +} + +.note { + position: absolute; + bottom: 0; + left: 0; + right: 0; + font-size: 28px; +} + +.colored { + background-color: pink; +} + +ul, li, ol { + list-style: none; +} + +a:link, a:visited { + color: #fff; +} + +@media (prefers-reduced-motion: reduce) { + .blink { + animation: none; + } + + .bg { + display: none; + } +} + +div { + display: flex; + justify-content: center; + align-items: center; + height: 100vh; +} + + + +#mcontainer { + /* Center the text in the viewport. */ + position: absolute; + margin: auto; + height: 80pt; + top: 0; + bottom: 0; + + filter: url(#threshold) blur(0.6px); +} + +#text1, #text2 { + position: absolute; + width: 100%; + display: inline-block; + + font-family: 'Raleway', sans-serif; + font-size: 80pt; + + text-align: center; + + user-select: none; +} + +#flaggy_section img{ + position: absolute; +} + +#rock{ + top: 150%; + left: 50%; + transform: translate(-50%, -0%); + width: 30%; +} + +.flaggy { + top: 150%; + left: 50%; + transform: translate(-50%, -60%); + width: 10%; +} + + +#demo *{ + position: absolute; + top: 250%; + left: 50%; + transform: translate(-50%, -50%); + color: white; +} + +#flags{ + position: absolute; + top: 350%; + left: 50%; + transform: translate(-50%, -40%); + width: 100%; + height: 100vh; +}
\ No newline at end of file |