webapp/src/components/Feed/Beside.module.scss

132 lines
2.0 KiB
SCSS
Raw Normal View History

.besideColumn {
2022-09-09 11:53:35 +00:00
counter-reset: item;
list-style-type: none;
padding-left: 0;
2022-10-20 15:51:45 +00:00
@include media-breakpoint-up(md) {
margin-bottom: 0;
}
2022-09-09 11:53:35 +00:00
a {
border: none;
}
li {
2023-06-02 22:01:34 +00:00
margin-bottom: 1.6rem;
2022-11-07 21:07:42 +00:00
2022-09-09 11:53:35 +00:00
&.top {
border-bottom: 1px solid #e1e1e1;
display: flex;
2023-06-05 21:56:36 +00:00
justify-content: space-between;
line-height: 1;
margin-bottom: 1.5rem;
padding-bottom: 1.5rem;
2022-09-09 11:53:35 +00:00
&:last-child {
border: none;
2022-10-20 15:51:45 +00:00
margin-bottom: 0;
padding-bottom: 0;
.shoutCardContent {
margin-bottom: 0;
}
2022-09-09 11:53:35 +00:00
}
2023-06-05 21:56:36 +00:00
&::after {
2022-09-09 11:53:35 +00:00
content: counter(item, upper-roman);
counter-increment: item;
2023-06-05 21:56:36 +00:00
flex: 0 1.4em;
2022-09-09 11:53:35 +00:00
font-size: 1.4em;
font-weight: 900;
line-height: 1;
2023-06-05 21:56:36 +00:00
min-width: 1.4em;
padding-left: 0.3em;
2022-09-09 11:53:35 +00:00
text-align: center;
}
}
}
.top-viewed__topic {
font-size: 1.2rem;
letter-spacing: 0.08em;
margin-bottom: 0.4rem;
text-transform: uppercase;
}
}
.besideColumnTitle {
2022-09-09 11:53:35 +00:00
align-items: baseline;
justify-content: space-between;
display: flex;
line-height: 1.1;
.icon {
display: inline-block;
height: 1em;
vertical-align: middle;
width: 1em;
}
2023-05-25 20:48:36 +00:00
a:link {
2023-05-01 18:32:32 +00:00
border: none;
2023-06-02 22:01:34 +00:00
@include font-size(1.4rem);
font-weight: bold;
2022-11-16 21:08:04 +00:00
padding-right: 0.3em;
2022-09-09 11:53:35 +00:00
white-space: nowrap;
img {
2023-06-02 22:01:34 +00:00
margin-left: 0.8rem;
2022-09-09 11:53:35 +00:00
}
&:hover {
img {
filter: invert(1);
}
}
}
h4 {
2023-06-02 22:01:34 +00:00
@include font-size(2.6rem);
font-weight: bold;
2022-09-09 11:53:35 +00:00
padding-right: 1em;
}
}
2023-06-02 22:01:34 +00:00
.author {
border-bottom: 1px solid #e1e1e1;
padding-bottom: 1.6rem;
li:last-child & {
border-bottom: none;
}
}
.besideColumnTopic {
2022-09-09 11:53:35 +00:00
font-size: 1.2rem;
letter-spacing: 0.08em;
margin-bottom: 0.4rem;
text-transform: uppercase;
}
.besideColumnShout {
2022-09-09 11:53:35 +00:00
font-size: 1.4rem;
h4 {
display: inline;
font-size: 1.4rem;
}
}
button.follow {
max-width: 2em;
max-height: 2em;
}
2022-11-16 21:08:04 +00:00
.shoutCardContainer {
2023-06-02 22:01:34 +00:00
order: 1;
}
.besideRatingColumnAuthor {
order: 2;
2022-11-16 21:08:04 +00:00
}