mirror of
https://github.com/tildeclub/site.git
synced 2026-03-17 00:20:18 +00:00
Update style.css
adding typing effect.
This commit is contained in:
committed by
GitHub
parent
970cd6262c
commit
6711e6a3f9
42
style.css
42
style.css
@@ -53,9 +53,6 @@ a:hover {color: #f20;}
|
|||||||
hr {
|
hr {
|
||||||
border-color: #fb5;
|
border-color: #fb5;
|
||||||
}
|
}
|
||||||
.text-center {
|
|
||||||
text-align: center
|
|
||||||
}
|
|
||||||
.advisory {
|
.advisory {
|
||||||
background: #fc4;
|
background: #fc4;
|
||||||
color: #222;
|
color: #222;
|
||||||
@@ -63,25 +60,37 @@ hr {
|
|||||||
padding: 1em;
|
padding: 1em;
|
||||||
border-radius: 0.25em;
|
border-radius: 0.25em;
|
||||||
}
|
}
|
||||||
@keyframes cursor {
|
|
||||||
from { content: "_"; }
|
|
||||||
to { content: ""; }
|
|
||||||
}
|
|
||||||
@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 {
|
h1 {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: #fb5;
|
color: #fb5;
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* THEGOODS */
|
||||||
|
#fancyboi::before {
|
||||||
|
content: "$ ";
|
||||||
|
}
|
||||||
|
@media (prefers-reduced-motion: no-preference) {
|
||||||
|
@keyframes flash {
|
||||||
|
50% { opacity: 0; }
|
||||||
|
}
|
||||||
|
@keyframes reveal {
|
||||||
|
from { width: 2em; } /* Width of ::before */
|
||||||
|
to { width: 100%; }
|
||||||
|
}
|
||||||
|
#fancyboi {
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
animation: reveal 4s linear;
|
||||||
|
text-overflow: "â–ˆ";
|
||||||
|
}
|
||||||
|
#fancyboi::after {
|
||||||
|
content: "â–ˆ";
|
||||||
|
animation: flash 0.5s step-end infinite;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/* SDOOGEHT */
|
||||||
|
|
||||||
.sourceCode {
|
.sourceCode {
|
||||||
color:#008000;
|
color:#008000;
|
||||||
}
|
}
|
||||||
@@ -141,4 +150,3 @@ div.alert-success {
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user