Repo for my website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
904 B

4 years ago
.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: #252627;
margin-left: 5px;
border-radius: 1px;
animation: cursor 1s infinite;
.dark-theme & {
background: #fafafa;
}
}
@media (prefers-reduced-motion: reduce) {
&__cursor {
animation: none;
}
}
}
// // Fading
// @keyframes cursor {
// 0% {
// opacity: 0;
// }
// 50% {
// opacity: 1;
// }
// 100% {
// opacity: 0;
// }
// }
// Blinking
@keyframes cursor {
0% {
visibility: hidden;
}
50% {
visibility: hidden;
}
100% {
visibility: visible;
}
}