website/src/styles/layouts/_list.scss

59 lines
824 B
SCSS
Raw Normal View History

.page-list-main {
padding: 2em;
}
.page-list {
2023-06-12 00:41:08 +02:00
max-width: 40em;
margin-inline: auto;
}
2023-11-19 00:11:43 +01:00
.page-list-year {
2023-11-19 00:11:43 +01:00
display: flex;
flex-direction: column;
gap: 0.5em;
margin-block: 1em;
2023-11-19 00:11:43 +01:00
&__header {
display: flex;
gap: 0.5em;
align-items: center;
.fleuron-l {
margin-left: auto;
}
.fleuron-r {
margin-right: auto;
}
}
}
2023-11-19 00:11:43 +01:00
.page-item {
display: block;
padding: 0.5em;
background-color: white;
border-radius: 4px;
box-shadow: var(--shadow-s);
transition: box-shadow ease-in-out .25s;
text-decoration: unset;
2023-11-19 00:11:43 +01:00
&:hover {
box-shadow: var(--shadow-m);
}
&__header {
display: flex;
justify-content: space-between;
color: black;
2023-11-19 00:11:43 +01:00
time {
color: var(--c-text-muted);
}
}
2023-11-19 00:11:43 +01:00
&__desc {
margin-top: 0.5em;
color: black;
}
}