friendenstein/sass/_logo.scss

50 lines
654 B
SCSS
Raw Permalink Normal View History

2023-12-22 00:42:32 +01:00
.logo {
2023-12-25 02:39:41 +01:00
display: flex;
align-items: center;
text-decoration: none;
font-weight: bold;
font-display: auto;
font-family: monospace, monospace;
img {
height: 44px;
}
2024-01-02 12:18:18 +01:00
&-link {
text-decoration: none;
float: left;
}
&-mark {
2023-12-25 02:39:41 +01:00
margin-right: 5px;
}
2024-01-02 12:18:18 +01:00
&-text {
2023-12-25 02:39:41 +01:00
white-space: nowrap;
}
2024-01-02 12:18:18 +01:00
&-cursor {
2023-12-25 02:39:41 +01:00
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) {
2024-01-02 12:18:18 +01:00
&-cursor {
2023-12-25 02:39:41 +01:00
animation: none;
}
}
2023-12-22 00:42:32 +01:00
}
@keyframes cursor {
2023-12-25 02:39:41 +01:00
0% { opacity: 0; }
50% { opacity: 1; }
100% { opacity: 0; }
2023-12-22 00:42:32 +01:00
}