webapp/src/components/Author/Userpic/Userpic.module.scss

105 lines
1.6 KiB
SCSS
Raw Normal View History

2023-08-11 16:42:41 +00:00
.Userpic {
align-items: baseline;
2023-06-28 20:25:11 +00:00
background: #f7f7f8;
2022-09-09 11:53:35 +00:00
border-radius: 100%;
2023-05-24 21:51:47 +00:00
display: flex;
2022-09-09 11:53:35 +00:00
height: 32px;
2023-05-24 21:51:47 +00:00
justify-content: center;
2022-09-09 11:53:35 +00:00
margin-right: 1.2rem;
min-width: 32px;
max-width: 32px;
overflow: hidden;
position: relative;
width: 32px;
img {
height: 100%;
object-fit: cover;
width: 100%;
2023-07-18 11:23:28 +00:00
display: block;
2022-09-09 11:53:35 +00:00
}
2023-08-11 16:42:41 +00:00
.letters {
2023-07-09 18:34:59 +00:00
background-color: white;
2022-09-09 11:53:35 +00:00
border-radius: 50%;
2023-07-09 18:34:59 +00:00
border: 1.5px solid black;
color: #000;
2022-09-09 11:53:35 +00:00
font-size: small;
text-align: center;
2023-07-26 19:22:08 +00:00
line-height: 32px;
2023-07-18 11:23:28 +00:00
width: 100%;
height: 100%;
min-width: 32px;
2022-09-09 11:53:35 +00:00
}
.anonymous {
2023-05-24 21:51:47 +00:00
height: 17px !important;
2022-09-09 11:53:35 +00:00
object-fit: contain;
2023-05-24 21:51:47 +00:00
width: 20px !important;
2023-07-18 11:23:28 +00:00
margin: auto;
2022-09-09 11:53:35 +00:00
}
2023-07-09 18:34:59 +00:00
a:link,
a:visited {
border: none;
2023-07-18 11:23:28 +00:00
display: flex;
2023-06-27 22:47:47 +00:00
height: 100%;
2023-07-09 18:34:59 +00:00
padding: 0 !important;
text-align: center;
width: 100%;
2023-06-12 19:59:46 +00:00
2022-09-09 11:53:35 +00:00
&:hover {
2023-07-09 18:34:59 +00:00
background: none;
2022-09-09 11:53:35 +00:00
color: #000;
}
}
2023-08-11 16:42:41 +00:00
&.big {
2023-08-27 21:21:40 +00:00
aspect-ratio: 1/1;
margin: 0 auto;
2023-08-11 16:42:41 +00:00
max-width: 168px;
2023-08-27 21:21:40 +00:00
height: auto;
width: 100%;
2023-08-11 16:42:41 +00:00
@include media-breakpoint-up(md) {
2023-08-27 21:21:40 +00:00
margin: 0;
max-width: 100%;
2023-08-11 16:42:41 +00:00
}
2023-08-11 16:42:41 +00:00
.letters {
2023-08-27 21:21:40 +00:00
align-items: center;
display: flex;
2023-08-11 16:42:41 +00:00
font-size: 2em;
2023-08-27 21:21:40 +00:00
justify-content: center;
line-height: normal;
2023-08-11 16:42:41 +00:00
max-width: 100%;
width: 100%;
}
}
}
2022-11-11 08:58:22 +00:00
.authorsList {
margin-right: 2.4rem;
max-height: 6.8rem;
min-width: 6.8rem;
height: 6.8rem;
width: 6.8rem;
2023-08-11 16:42:41 +00:00
.letters {
2022-11-11 08:58:22 +00:00
line-height: 6.4rem;
}
}
2023-06-21 20:32:16 +00:00
.feedMode {
2023-08-11 16:42:41 +00:00
.letters {
2023-07-09 18:34:59 +00:00
font-size: 0.8rem;
line-height: 14px;
2023-06-21 20:32:16 +00:00
min-width: 16px;
max-width: 16px;
}
}
2023-08-11 16:42:41 +00:00
.cursorPointer {
cursor: pointer;
}