2
0
mirror of https://github.com/tildeclub/site synced 2024-06-23 01:07:04 +00:00

Merge pull request #24 from login000/patch-2

Adds "prefers-reduced-motion" media query
This commit is contained in:
deepend-tildeclub 2020-05-06 22:55:49 -06:00 committed by GitHub
commit 779ad50b58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,12 +67,14 @@ hr {
from { content: "_"; }
to { content: ""; }
}
h1::after {
content: "_";
animation-name: cursor;
animation-iteration-count: infinite;
animation-timing-function: cubic-bezier(1.0,0,0,1.0);
animation-duration: 1s;
@media not (prefers-reduced-motion: reduce) {
h1::after {
content: "_";
animation-name: cursor;
animation-iteration-count: infinite;
animation-timing-function: cubic-bezier(1.0,0,0,1.0);
animation-duration: 1s;
}
}
h1 {
text-transform: uppercase;