1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 11:18:30 -04:00
jarv.is/components/Name/Name.module.css

46 lines
636 B
CSS

.name {
display: inline-flex;
align-items: center;
color: var(--medium-dark);
background: none;
padding-bottom: 0;
}
.name .selfie {
width: 50px;
height: 50px;
line-height: 0;
padding: 0;
}
.name .selfie img {
border: 1px solid var(--light) !important;
border-radius: 50%;
}
.name:hover {
color: var(--link);
}
.name:hover .selfie {
opacity: 0.9;
}
.name span:last-of-type {
margin: 0 0.6em;
font-size: 1.2em;
font-weight: 500;
line-height: 1;
}
@media screen and (max-width: 768px) {
.name .selfie {
width: 70px;
height: 70px;
}
.name span:last-of-type {
display: none;
}
}