mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 09:46:11 +01:00
47 lines
698 B
SCSS
47 lines
698 B
SCSS
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
font-display: auto;
|
|
font-family: monospace, monospace;
|
|
|
|
img {
|
|
height: 44px;
|
|
}
|
|
|
|
&__mark {
|
|
margin-left: 1rem;
|
|
}
|
|
|
|
&__text {
|
|
font-size: 1.125rem;
|
|
|
|
&::after {
|
|
content: '>';
|
|
filter: brightness(65%);
|
|
}
|
|
}
|
|
|
|
&__cursor {
|
|
display: inline-block;
|
|
width: 10px;
|
|
height: 1rem;
|
|
background: var(--accent);
|
|
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; }
|
|
}
|