hugo-theme-hello-amigo/assets/scss/_logo.scss

49 lines
662 B
SCSS
Raw Normal View History

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