diff options
author | Freya Murphy <freya@freyacat.org> | 2025-02-07 15:35:47 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-02-07 15:35:47 -0500 |
commit | 39e38a71528b7e7196ae4f227ebf399922a42dea (patch) | |
tree | b7b0fa43a6704ba8969354dfa655a2d375699210 /public/css | |
parent | read (diff) | |
download | rit.wtf-39e38a71528b7e7196ae4f227ebf399922a42dea.tar.gz rit.wtf-39e38a71528b7e7196ae4f227ebf399922a42dea.tar.bz2 rit.wtf-39e38a71528b7e7196ae4f227ebf399922a42dea.zip |
updates
Diffstat (limited to 'public/css')
-rw-r--r-- | public/css/anim.css | 115 | ||||
-rw-r--r-- | public/css/error.css | 36 | ||||
-rw-r--r-- | public/css/fire.css | 12 | ||||
-rw-r--r-- | public/css/gallery.css | 41 | ||||
-rw-r--r-- | public/css/home.css | 108 | ||||
-rw-r--r-- | public/css/main.css | 177 |
6 files changed, 489 insertions, 0 deletions
diff --git a/public/css/anim.css b/public/css/anim.css new file mode 100644 index 0000000..d46feb4 --- /dev/null +++ b/public/css/anim.css @@ -0,0 +1,115 @@ + +/* used for background */ +@keyframes diag { + from { + background-position: 0 0; + } + to { + background-position: 10% 10%; + } +} + +/* used for title */ +@keyframes bounce { + 0%, + 100% { + transform:translateY(-25%); + animation-timing-function:cubic-bezier(.8,0,1,1) + } + 50% { + transform:none; + animation-timing-function:cubic-bezier(0,0,.2,1) + } +} + +/* used in footer videos */ +@keyframes flip { + 0%, 100% { + transform: rotateY(0deg) rotateX(0deg); + } + 50% { + transform: rotateY(3000deg) rotateX(3000deg); + } +} + +/* used in ie button */ +@keyframes strobe { + 0%, 100% { + background-color: rgba(255,0,0,.4); + } + 20% { + background-color: rgba(255,255,0,.4); + } + 40% { + background-color: rgba(0,255,0,.4); + } + 60% { + background-color: rgba(0,255,255,.4); + } + 80% { + background-color: rgba(0,0,255,.4); + } +} + +/* LITHIUM ION BATTERIES!!! */ +@keyframes cube { + from { + transform: translateX(-50%) rotateY(var(--rot)) translateZ(calc(var(--width)/2)); + } + to { + transform: translateX(-50%) rotateY(calc(var(--rot) + 90deg)) translateZ(calc(var(--width)/2)); + } +} + +/* used in motd */ +@keyframes flash { + 50% { + opacity: 0; + } +} + +@keyframes colorflash { + 0%, 100%, 49% { + border: 5px solid orange; + background-color: black; + color: orange; + } + 50%, 99% { + border: 5px solid black; + background-color: orange; + color: black; + } +} + +@keyframes border { + 0%, + 100% { + border: 2px solid rgb(255, 0, 0); + } + 33% { + border: 2px solid rgb(0, 255, 0); + } + 66% { + border: 2px solid rgb(0, 0, 255); + } +} + +@keyframes across { + 0%, + 100% { + transform: translateX(0%); + } + 50% { + transform: translateX(calc(80vw - 100%)); + } +} + +@keyframes scale { + from { + transform: scale3d(100%, 100%, 100%); + } + to { + transform: scale3d(120%, 120%, 120%); + } +} + diff --git a/public/css/error.css b/public/css/error.css new file mode 100644 index 0000000..b43bb65 --- /dev/null +++ b/public/css/error.css @@ -0,0 +1,36 @@ +#error { + color: white; + margin: 100px 0; + + * { + display: block; + width: fit-content; + margin: 0 auto; + } + + .code { + color: yellow; + font-size: 80px; + text-shadow: 0px 0px 0 rgb(240,248,0), + 1px 1px 0 rgb(234,242,0), + 2px 2px 0 rgb(227,235,0), + 3px 3px 0 rgb(221,229,0), + 4px 4px 0 rgb(214,222,0), + 5px 5px 0 rgb(208,216,0), + 6px 6px 0 rgb(201,209,0), + 7px 7px 0 rgb(194,202,0), + 8px 8px 0 rgb(188,196,0), + 9px 9px 0 rgb(181,189,0), + 10px 10px 0 rgb(175,183,0), + 11px 11px 0 rgb(168,176,0), + 12px 12px 0 rgb(161,169,0), + 13px 13px 0 rgb(155,163,0), + 14px 14px 0 rgb(148,156,0), + 15px 15px 0 rgb(142,150,0), + 16px 16px 0 rgb(135,143,0), + 17px 17px 0 rgb(129,137,0), + 18px 18px 0 rgb(122,130,0), + 19px 19px 0 rgb(115,123,0), + 20px 20px 0 rgb(109,117,0); + } +} diff --git a/public/css/fire.css b/public/css/fire.css new file mode 100644 index 0000000..ecf5dff --- /dev/null +++ b/public/css/fire.css @@ -0,0 +1,12 @@ + +#fires { + marquee { + margin: 20px auto; + display: block; + + img { + width: fit-content; + height: 400px; + } + } +} diff --git a/public/css/gallery.css b/public/css/gallery.css new file mode 100644 index 0000000..ff64c88 --- /dev/null +++ b/public/css/gallery.css @@ -0,0 +1,41 @@ +.title { + text-align: center; + width: 80%; + font-size: 5vh; + padding: 0; + margin: 0; + margin-bottom: 1em; + animation: colorflash 1s linear infinite; + margin-left: 10%; +} + +#munson { + margin-top: 40px; + + .gallery { + display: grid; + grid-template-columns: repeat(3, 1fr); + + img { + height: 20vh; + width: 100%; + + &:hover { + animation: scale 0.3s linear; + animation-fill-mode: forwards; + } + } + } +} + +#films, #raps { + margin-top: 40px; + + video { + display: block; + margin: 0 auto; + padding: 10px; + max-width: 900px; + width: 80%; + } +} diff --git a/public/css/home.css b/public/css/home.css new file mode 100644 index 0000000..1310db1 --- /dev/null +++ b/public/css/home.css @@ -0,0 +1,108 @@ + +#memes { + margin-top: 40px; + + img { + height: 200px; + } +} + +#motd { + margin-top: 40px; + text-align: center; + font-size: 30px; + font-weight: 1000; + color: aqua; + animation: flash 1s linear infinite; + background-color: black; +} + +#links { + .title { + width: fit-content; + background-color: black; + color: orange; + font-size: 30px; + margin-left: 10%; + margin-bottom: 10px; + animation: across 2s linear infinite; + } + + .btn { + width: 600px; + margin: 0 auto; + + img { + display: block; + margin: 0 auto; + } + } +} + +#battery { + margin: 0 auto; + width: fit-content; + margin-top: 40px; + perspective: infinite; + + * { + --width: 500px; + width: var(--width); + } + + .title, .battery { + position: relative; + + >* { + position: absolute; + left: 50%; + animation: cube 2.5s linear infinite; + } + } + + .title { + height: 95px; + >* { + background-color: #232323; + color: #fff; + font-size: 40px; + text-align: center; + text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #49ff18, 0 0 30px #49ff18, 0 0 40px #49ff18, 0 0 55px #49ff18, 0 0 75px #49ff18; + } + } + + .battery { + height: 280px; + } +} + +#sanders { + margin-top: 40px; + + .title { + text-align: center; + width: 80%; + font-size: 5vh; + padding: 0; + margin: 0; + margin-bottom: 1em; + animation: colorflash 1s linear infinite; + margin-left: 10%; + } + + .gallery { + display: grid; + grid-template-columns: repeat(3, 1fr); + + img { + height: 20vh; + width: 100%; + + &:hover { + animation: scale 0.3s linear; + animation-fill-mode: forwards; + } + } + } +} + diff --git a/public/css/main.css b/public/css/main.css new file mode 100644 index 0000000..c2cba8b --- /dev/null +++ b/public/css/main.css @@ -0,0 +1,177 @@ +/* elements */ + +html { + overflow: auto; +} + +body { + margin: 0; + min-width: 800px; + min-height: 100vh; + position: relative; + font-family: "Comic Sans", "Comic Sans MS", sans-serif; + cursor: url("../images/rotchie.jpg"), auto; + background-image: url("../images/rit.jpg"); + animation: diag 1s linear infinite alternate; +} + +a { + color: yellow; +} + +a:hover, [onclick]:hover { + cursor: url("../images/cursor.png"), pointer !important; +} + +.btn { + background: black; + color: yellow; + padding: 5px; + margin: 5px auto; + border: 3px solid yellow; + width: fit-content; + + &:hover { + background: orange; + color: black; + border-color: black; + } +} + +/* header */ + +header#header { + + /* goofy bouncy title :3 */ + div#title { + margin-top: 40px; + width: 100%; + text-align: center; + font-size: 75px; + color: #f7ff07; + font-family: Courier New; + text-shadow: 0px 0px 0 rgb(240,248,0), + 1px 1px 0 rgb(234,242,0), + 2px 2px 0 rgb(227,235,0), + 3px 3px 0 rgb(221,229,0), + 4px 4px 0 rgb(214,222,0), + 5px 5px 0 rgb(208,216,0), + 6px 6px 0 rgb(201,209,0), + 7px 7px 0 rgb(194,202,0), + 8px 8px 0 rgb(188,196,0), + 9px 9px 0 rgb(181,189,0), + 10px 10px 0 rgb(175,183,0), + 11px 11px 0 rgb(168,176,0), + 12px 12px 0 rgb(161,169,0), + 13px 13px 0 rgb(155,163,0), + 14px 14px 0 rgb(148,156,0), + 15px 15px 0 rgb(142,150,0), + 16px 16px 0 rgb(135,143,0), + 17px 17px 0 rgb(129,137,0), + 18px 18px 0 rgb(122,130,0), + 19px 19px 0 rgb(115,123,0), + 20px 20px 0 rgb(109,117,0), + 21px 21px 0 rgb(102,110,0), + 22px 22px 0 rgb(96,104,0), + 23px 23px 0 rgb(89,97,0), + 24px 24px 0 rgb(83,91,0), + 25px 25px 0 rgb(76,84,0), + 26px 26px 0 rgb(69,77,0), + 27px 27px 0 rgb(63,71,0), + 28px 28px 0 rgb(56,64,0), + 29px 29px 0 rgb(50,58,0), + 30px 30px 0 rgb(43,51,0), + 31px 31px 0 rgb(36,44,0), + 32px 32px 0 rgb(30,38,0), + 33px 33px 0 rgb(23,31,0), + 34px 34px 0 rgb(17,25,0), + 35px 35px 0 rgb(10,18,0), + 36px 36px 0 rgb(4,12,0), + 37px 37px 0 rgb(-3,5,0), + 38px 38px 0 rgb(-10,-2,0), + 39px 39px 38px rgba(255,0,0,1), + 39px 39px 1px rgba(255,0,0,0.5), + 0px 0px 38px rgba(255,0,0,.2); + + span { + display: inline-block; + animation: 1s bounce linear infinite; + } + } + + /* nav bar */ + nav#nav { + margin-top: 40px; + margin-left: auto; + margin-right: auto; + width: fit-content; + } + +} + +/* footer */ + +footer#footer { + margin-top: 40px; + + #buttons { + display: block; + margin: 0 auto; + width: fit-content; + + img { + height: 33px; + } + } + + #john { + display: block; + margin: 0 auto; + max-width: 732px; + height: 94px; + width: 100%; + border: none; + background: white; + } +} + +/* dither */ + +html.dither { + + #ditherMask { + background: url("data:image/webp;base64,UklGRjAAAABXRUJQVlA4TCQAAAAvA8AAAIVS27ahb3uzOUmSJoqqrOq6P47of8DQdcprYdP8/VY="); + filter: contrast(2000); + image-rendering: crisp-edges; + } + + #ditherFilter { + filter: initial; + mix-blend-mode: soft-light; + isolation: isolate; + image-rendering: initial; + } +} + +/* flip */ + +html.flip { + transform: rotateZ(180deg); +} + +/* strobe */ + +#strobe { + pointer-events: none; + position: sticky; + top: 0; + left: 0; + height: 100%; + width: 100vw; +} + +html.strobe { + #strobe { + animation: strobe .25s linear infinite; + } +} |