Hugo-theme-stack/assets/scss/partials/layout/list.scss

72 lines
1.4 KiB
SCSS
Raw Permalink Normal View History

.section-card {
2020-08-22 07:20:08 -04:00
border-radius: var(--card-border-radius);
background-color: var(--card-background);
padding: var(--small-card-padding);
box-shadow: var(--shadow-l1);
2020-08-22 07:20:08 -04:00
display: flex;
align-items: center;
2022-03-03 17:11:19 -05:00
gap: 20px;
2020-08-22 07:20:08 -04:00
--separation: 15px;
.section-term {
2020-08-22 07:20:08 -04:00
font-size: 2.2rem;
margin: 0;
color: var(--card-text-color-main);
}
.section-description {
2020-08-22 07:20:08 -04:00
font-weight: normal;
color: var(--card-text-color-secondary);
font-size: 1.6rem;
2020-08-22 07:20:08 -04:00
margin: 0;
}
.section-details {
2020-08-22 07:20:08 -04:00
flex-grow: 1;
2022-03-03 17:11:19 -05:00
display: flex;
flex-direction: column;
gap: 8px;
2020-08-22 07:20:08 -04:00
}
.section-image {
2020-08-22 07:20:08 -04:00
img {
width: 60px;
height: 60px;
}
}
.section-count {
2020-08-22 07:20:08 -04:00
color: var(--card-text-color-tertiary);
font-size: 1.4rem;
margin: 0;
2020-09-03 17:32:28 -04:00
font-weight: bold;
2020-08-22 07:20:08 -04:00
text-transform: uppercase;
}
}
.subsection-list {
overflow-x: auto;
.article-list--tile {
display: flex;
padding-bottom: 15px;
article {
width: 250px;
height: 150px;
margin-right: 20px;
flex-shrink: 0;
.article-title {
margin: 0;
font-size: 1.8rem;
}
.article-details {
padding: 20px;
}
}
}
}