summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortylermurphy534 <tylermurphy534@gmail.com>2022-12-05 22:21:38 -0500
committertylermurphy534 <tylermurphy534@gmail.com>2022-12-05 22:21:38 -0500
commitc8211e6ad7f61d452ed9d08443cd774cb1a5b5bf (patch)
tree996301954050f9e2534df8fa0070c1ce1a62e26d
parentscaling (diff)
downloadrit.wtf-c8211e6ad7f61d452ed9d08443cd774cb1a5b5bf.tar.gz
rit.wtf-c8211e6ad7f61d452ed9d08443cd774cb1a5b5bf.tar.bz2
rit.wtf-c8211e6ad7f61d452ed9d08443cd774cb1a5b5bf.zip
epilepsy
-rw-r--r--index.html5
-rw-r--r--style.css35
2 files changed, 38 insertions, 2 deletions
diff --git a/index.html b/index.html
index a6454f3..6d6d0f6 100644
--- a/index.html
+++ b/index.html
@@ -7,6 +7,7 @@
<title>munson</title>
</head>
<body><div><div><div id="mainBod">
+ <menu class="flashy"></menu>
<p class="title">
<span style="display:inline-block;animation:1s title linear infinite;animation-delay:-1.42s">r</span>
<span style="display:inline-block;animation:1s title linear infinite;animation-delay:-1.22s">i</span>
@@ -118,7 +119,7 @@
<a class="clickable" href="https://validator.w3.org/nu/?doc=https%3A%2F%2Frit.wtf" target="_blank">
<img src="data/html.gif"/>
</a>
- <img src="data/ie.gif"/>
+ <img src="data/ie.gif" class="clickable" onclick="document.documentElement.classList.toggle('flash')"/>
<img src="data/netscape.gif"/>
<a class="clickable" href="https://g.tylerm.dev/tylermurphy534/rit.wtf" target="_blank">
<img src="data/free.gif"/>
@@ -129,5 +130,5 @@
<source src="data/munson.mp4" type="video/mp4">
</video>
</footer>
- </div></div></div></body>
+ </div></div></div></div></body>
</html>
diff --git a/style.css b/style.css
index 671c550..2b971b4 100644
--- a/style.css
+++ b/style.css
@@ -352,6 +352,7 @@ html.dither>body>div>div{
transform: translateX(calc(80vw - 100%));
}
}
+
@keyframes scale {
from {
transform: scale3d(100%, 100%, 100%);
@@ -359,4 +360,38 @@ html.dither>body>div>div{
to {
transform: scale3d(120%, 120%, 120%);
}
+}
+
+html.flash>body>div>div>div>menu {
+ animation: epilepsy .25s linear infinite;
+}
+
+.flashy {
+ margin: 0;
+ padding: 0;
+ list-style:none;
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ z-index: 10;
+ overflow: scroll;
+ pointer-events: none;
+}
+
+@keyframes epilepsy {
+ 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);
+ }
} \ No newline at end of file