msfjarvis.dev/assets/scss/_logo.scss
André Almeida 0db6cfc9dd sass: make logo font monospaced
Since the logo text wants to have the look and feel of a terminal, make
the font monospaced.

The monospace word is used twice because of this hack:
https://stackoverflow.com/questions/38781089/font-family-monospace-monospace

Signed-off-by: André Almeida <andrealmeid@riseup.net>
2019-05-23 00:01:27 -03:00

43 lines
619 B
SCSS

.logo {
display: flex;
align-items: center;
text-decoration: none;
font-weight: bold;
font-family: monospace, monospace;
img {
height: 44px;
}
&__mark {
margin-right: 5px;
}
&__text {
font-size: 1.125rem;
}
&__cursor {
display: inline-block;
width: 10px;
height: 1rem;
background: #fe5186;
margin-left: 5px;
border-radius: 1px;
animation: cursor 1s infinite;
}
@media (prefers-reduced-motion: reduce) {
&__cursor {
animation: none;
}
}
}
@keyframes cursor {
0% { opacity: 0; }
50% { opacity: 1; }
100% { opacity: 0; }
}