hugo-theme-hello-amigo/assets/scss/_logo.scss
Sagi Dayan f013cc5660 Some scss refactoring
- logo cursor color value is now defined in _variables
 - removed some hard coded colors - using vars instead
2019-07-26 14:47:09 -04:00

51 lines
731 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-right: 5px;
}
&__text {
font-size: 1.125rem;
}
&__cursor {
display: inline-block;
width: 10px;
height: 1rem;
background: $light-cursor-color;
margin-left: 5px;
border-radius: 1px;
animation: cursor 1s infinite;
.dark-theme &{
background: $dark-cursor-color;
}
}
@media (prefers-reduced-motion: reduce) {
&__cursor {
animation: none;
}
}
}
@keyframes cursor {
0% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}