friendenstein/sass/_logo.scss
2024-01-02 12:18:18 +01:00

49 lines
654 B
SCSS

.logo {
display: flex;
align-items: center;
text-decoration: none;
font-weight: bold;
font-display: auto;
font-family: monospace, monospace;
img {
height: 44px;
}
&-link {
text-decoration: none;
float: left;
}
&-mark {
margin-right: 5px;
}
&-text {
white-space: nowrap;
}
&-cursor {
display: inline-block;
width: 10px;
height: 1.5rem;
background: var(--fgColor);
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; }
}