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

76 lines
1.5 KiB
SCSS
Raw 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);
margin-bottom: var(--section-separation);
2020-08-22 07:20:08 -04:00
display: flex;
align-items: center;
--separation: 15px;
.section-term {
2020-08-22 07:20:08 -04:00
font-size: 2.2rem;
margin: 0;
margin-top: calc(var(--separation) / 2);
2020-08-22 07:20:08 -04:00
color: var(--card-text-color-main);
& + .section-description {
margin-top: var(--separation);
2020-08-22 07:20:08 -04:00
}
}
.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;
margin-right: 20px;
}
.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 {
margin-bottom: var(--section-separation);
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;
}
}
}
}