mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
0db6cfc9dd
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>
43 lines
619 B
SCSS
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; }
|
|
}
|