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.

73 lines
949 B

4 years ago
.logo {
display: flex;
align-items: center;
text-decoration: none;
font-weight: bold;
font-display: auto;
font-family: monospace, monospace;
white-space: pre;
4 years ago
img {
height: 44px;
}
&__mark {
margin-right: 5px;
white-space: nowrap;
4 years ago
}
&__text {
font-size: 1.125rem;
}
&__cursor {
display: inline-block;
width: 10px;
height: 1rem;
background: #252627;
margin-left: 2px;
4 years ago
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;
}
}