webapp/src/components/Topic/TopicBadge/TopicBadge.module.scss

86 lines
1.3 KiB
SCSS
Raw Normal View History

.TopicBadge {
2024-03-27 20:10:49 +00:00
margin-bottom: 4.8rem;
gap: 1rem;
2023-10-09 21:22:06 +00:00
2024-02-08 09:11:52 +00:00
.content {
align-items: flex-start;
display: flex;
flex-direction: row;
2024-03-27 20:10:49 +00:00
margin-bottom: 1.6rem;
2024-02-08 09:11:52 +00:00
}
2024-02-13 13:09:44 +00:00
.basicInfo {
display: flex;
flex-flow: row nowrap;
align-items: flex-start;
flex: 1;
gap: 1rem;
2023-10-16 22:13:13 +00:00
}
.info {
2023-11-04 15:37:28 +00:00
@include font-size(1.4rem);
2023-10-09 21:22:06 +00:00
border: none;
display: flex;
flex-direction: column;
&:hover {
background: unset;
}
.title {
2024-03-27 20:10:49 +00:00
@include font-size(2.2rem);
font-weight: bold;
margin-bottom: 0.8rem;
}
.description {
2024-03-27 20:10:49 +00:00
@include font-size(1.6rem);
line-height: 1.4;
-webkit-line-clamp: 3;
}
}
.actions {
display: flex;
flex-direction: row;
gap: 1rem;
2023-10-09 21:22:06 +00:00
}
.subscribeButton {
border-radius: 0.8rem !important;
margin-right: 0 !important;
width: 9em;
}
}
2024-02-08 09:11:52 +00:00
.stats {
@include font-size(1.5rem);
color: var(--secondary-color);
display: flex;
@include media-breakpoint-down(md) {
flex-wrap: wrap;
}
@include media-breakpoint-down(sm) {
margin-top: 0.5em;
}
.statsItem {
@include font-size(1.4rem);
2024-03-27 20:10:49 +00:00
font-weight: 500;
2024-02-08 09:11:52 +00:00
margin-right: 1.6rem;
white-space: nowrap;
&:last-child {
margin-right: 0;
}
&.followers {
word-break: keep-all;
}
}
}