44 lines
788 B
CSS
44 lines
788 B
CSS
.user {
|
|
align-items: center;
|
|
background-color: var(--some-black-color, #000);
|
|
border-radius: 50%;
|
|
color: var(--some-white-color, #fff);
|
|
display: flex;
|
|
font-family: var(--ff-fira-sans);
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
height: 3.5rem;
|
|
justify-content: center;
|
|
position: relative;
|
|
width: 3.5rem;
|
|
}
|
|
|
|
.alert {
|
|
align-items: center;
|
|
background-color: var(--some-red-color, #ed2027);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
font-size: 1rem;
|
|
height: 2rem;
|
|
justify-content: center;
|
|
position: absolute;
|
|
right: -1rem;
|
|
top: -0.5rem;
|
|
width: 2rem;
|
|
}
|
|
|
|
@media screen and (min-width: 950px) {
|
|
.user {
|
|
height: 2.8rem;
|
|
width: 2.8rem;
|
|
}
|
|
|
|
.alert {
|
|
font-size: 0.6rem;
|
|
height: 1rem;
|
|
right: -0.2rem;
|
|
top: -0.1rem;
|
|
width: 1rem;
|
|
}
|
|
}
|