/* @Source: [[:w:eu:template:Azala/styles.css]] (//w.wiki/4iVi) */
/*TYPEWRITER*/
.typewriter {
padding: 0;
width: 100%;
float: left;
text-align: left;
}
.typewriter div {
overflow: hidden; /* Ensures the content is not revealed until the animation */
border-right: .15em solid #2a4b8d; /* The typwriter cursor */
white-space: nowrap; /* Keeps the content on a single line */
/* margin: 0 auto; Gives that scrolling effect as the typing happens */
animation:
typing 5.0s steps(40, end),
blink-caret .5s step-end infinite;
border-bottom: 0;
font-size: 1em;
}
/* The typing effect */
@keyframes typing {
from { width: 0 }
to { width: 100% }
}
/* The typewriter cursor effect */
@keyframes blink-caret {
from, to { border-color: transparent }
50% { border-color: #2a4b8d; }
}