Files
copenlight/styles/_category.scss
Ivan Carlos de Almeida 6fa41a771d
Some checks failed
Build, Push, Publish / Build & Release (push) Failing after 2s
Sync Repo / sync (push) Failing after 2s
first load
2025-12-16 04:40:00 -03:00

60 lines
980 B
SCSS

/***** Category pages *****/
.category {
&-container {
display: flex;
justify-content: flex-end;
}
&-content {
@include desktop {
flex: 0 0 80%;
}
flex: 1;
max-width: 100%;
}
}
.section-tree {
@include tablet { flex-direction: row; }
display: flex;
flex-direction: column;
flex-wrap: wrap;
justify-content: space-between;
.section {
@include tablet { flex: 0 0 45%; /* Two columns for tablet and desktop. Leaving 5% separation between columns */ }
flex: initial;
max-width: 100%;
}
&-title {
margin-bottom: 0;
font-size: 18px;
font-weight: $font-weight-semibold;
a { color: $text_color; }
}
.see-all-articles {
display: block;
padding: 15px 0;
}
}
.article-list {
&-item {
font-size: $font-size-bigger;
padding: 15px 0;
text-overflow: ellipsis;
overflow: hidden;
a { color: $text_color; }
}
}
.icon-star {
color: $brand_color;
font-size: 18px;
}