Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.

Template:AngelQuarantine/styles.css: Difference between revisions

Template page
Content deleted Content added
MMONTAGEe (talk | contribs)
No edit summary
MMONTAGEe (talk | contribs)
No edit summary
Line 4: Line 4:
justify-content: center;
justify-content: center;
text-align: center;
text-align: center;
color: #ff4d4d;
background: #000;
color: #ffea00;
animation: pulse 2s infinite;
animation: title-flash 1.5s infinite;
}
}


#subtitle{
#subtitle{
display: inline-block;
font-weight: bold;
color: #fff;
background: #000;
color: #ffea00;
justify-content: center;
font-weight: bold;
text-align: center;
text-align: center;
animation: flicker 2.5s infinite;
font-size: 1.2rem;
background: linear-gradient(90deg, #ff6666, #cc0000);
padding: 0.3em 1em;
border-radius: 0.2em;
position: relative;
z-index: 1;
margin-bottom: 1.2em;
overflow: visible;
animation: subtitle-glow 2.5s infinite;
}
}


#subtitle::after {
@keyframes pulse {
content: '';
0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
position: absolute;
70% { box-shadow: 0 0 20px 10px rgba(255, 0, 0, 0); }
left: 50%;
100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
transform: translateX(-50%);
bottom: -0.5em; /* sits just below the subtitle */
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: 0;
}
}



@keyframes flicker {
@keyframes title-flash {
0% {
text-shadow: 0 0 5px rgba(255,102,102,0.7);
0%, 50%, 100% { text-shadow: none; }
25%, 75% { text-shadow: 0 0 10px #ffea00; }
}
}
50% {

text-shadow: 0 0 20px rgba(204,0,0,0.9);
@keyframes subtitle-glow {
}
0%, 100% { box-shadow: 0 0 5px #ffea00; }
100% {
text-shadow: 0 0 5px rgba(255,102,102,0.7);
50% { box-shadow: 0 0 20px #ffea00; }
}
}
}

Revision as of 13:26, May 2, 2025

#title{
	font-size: 35px;
	font-weight: bold;
	justify-content: center;
	text-align: center;
	background: #000;
	color: #ffea00;
    animation: title-flash 1.5s infinite;
}

#subtitle{
  display: inline-block;
  background: #000;
  color: #ffea00;
  font-weight: bold;
  text-align: center;
  font-size: 1.2rem;
  padding: 0.3em 1em;
  border-radius: 0.2em;
  position: relative;
  z-index: 1;
  margin-bottom: 1.2em;
  overflow: visible;   
  animation: subtitle-glow 2.5s infinite;
}

#subtitle::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -0.5em;        /* sits just below the subtitle */
  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: 0;
}


@keyframes title-flash {
  0%, 50%, 100%   { text-shadow: none; }
  25%, 75%       { text-shadow: 0 0 10px #ffea00; }
}

@keyframes subtitle-glow {
  0%, 100%  { box-shadow: 0 0 5px #ffea00; }
  50%       { box-shadow: 0 0 20px #ffea00; }
}