Template:AngelQuarantine/styles.css: Difference between revisions
Template page
More actions
Content deleted Content added
No edit summary |
Tesinormed (talk | contribs) No edit summary |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
#title{ /* the main title itself */ |
#angel_quarantine-title { /* the main title itself */ |
||
font-size: 35px; |
font-size: 35px; |
||
font-weight: bold; |
font-weight: bold; |
||
| Line 5: | Line 5: | ||
text-align: center; |
text-align: center; |
||
color: #ffea00; |
color: #ffea00; |
||
animation: flash 2s infinite ease-in-out; |
|||
} |
} |
||
#subtitle{ |
#angel_quarantine-subtitle { |
||
| ⚫ | |||
overflow-wrap: break-word; |
|||
width: fit-content; |
|||
margin: 1em auto; |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
text-transform: uppercase; |
|||
| ⚫ | |||
text-wrap: wrap; |
|||
} |
} |
||
#subtitle::after { /* |
#angel_quarantine-subtitle::after { /* subtitle danger stripes */ |
||
content: ''; |
|||
position: absolute; |
|||
left: 50%; |
|||
transform: translateX(-50%); |
|||
bottom: -1.3em; |
|||
width: calc(100% + 2em); |
|||
height: 0.5em; |
|||
background: repeating-linear-gradient( |
|||
-45deg, |
|||
#ffea00 0, |
|||
#ffea00 25%, |
|||
#000 25%, |
|||
#000 50% |
|||
); |
|||
background-size: 0.8em 0.8em; |
|||
border-radius: 0 0 0.2em 0.2em; |
|||
z-index: -1; |
|||
animation: stripe-scroll 1s linear infinite; |
|||
} |
} |
||
@keyframes stripe-scroll { |
@keyframes stripe-scroll { |
||
from { |
|||
background-position: 0 0; |
|||
} |
|||
to { |
|||
background-position: 0.8em 0; /* move by one stripe width */ |
|||
} |
|||
} |
} |
||
@keyframes flash { |
@keyframes flash { |
||
0%, 100% { |
|||
text-shadow: none; |
|||
} |
|||
50% { |
|||
text-shadow: 0 0 15px #ffea00; |
|||
} |
|||
} |
} |
||
@keyframes glow { |
@keyframes glow { |
||
0%, 100% { |
|||
box-shadow: 0 0 0 transparent; |
|||
} |
|||
50% { |
|||
box-shadow: 0 0 15px #ffea00; |
|||
} |
|||
} |
} |
||
Latest revision as of 11:00, June 20, 2025
#angel_quarantine-title { /* the main title itself */
font-size: 35px;
font-weight: bold;
justify-content: center;
text-align: center;
color: #ffea00;
animation: flash 2s infinite ease-in-out;
}
#angel_quarantine-subtitle {
display: block;
width: fit-content;
margin: 1em auto;
background: #000;
color: #ffea00;
font-weight: bold;
text-align: center;
font-size: 1.2rem;
padding: 0.3em 1em;
border-radius: 0.2em;
animation: glow 2s infinite ease-in-out; /* the subtitle pulse */
position: relative;
overflow: visible;
text-transform: uppercase;
text-wrap: wrap;
}
#angel_quarantine-subtitle::after { /* subtitle danger stripes */
content: '';
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: -1.3em;
width: calc(100% + 2em);
height: 0.5em;
background: repeating-linear-gradient(
-45deg,
#ffea00 0,
#ffea00 25%,
#000 25%,
#000 50%
);
background-size: 0.8em 0.8em;
border-radius: 0 0 0.2em 0.2em;
z-index: -1;
animation: stripe-scroll 1s linear infinite;
}
@keyframes stripe-scroll {
from {
background-position: 0 0;
}
to {
background-position: 0.8em 0; /* move by one stripe width */
}
}
@keyframes flash {
0%, 100% {
text-shadow: none;
}
50% {
text-shadow: 0 0 15px #ffea00;
}
}
@keyframes glow {
0%, 100% {
box-shadow: 0 0 0 transparent;
}
50% {
box-shadow: 0 0 15px #ffea00;
}
}