website/styles/layouts/_list.scss

72 lines
1.1 KiB
SCSS
Raw Permalink 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;
align-items: center;
2023-11-19 11:27:51 +01:00
justify-content: center;
2023-11-19 00:11:43 +01:00
2023-11-19 11:27:51 +01:00
h2 {
&::before {
content: '\2766';
display: inline-block;
line-height: 1em;
margin-right: .5em;
transform: rotate(90deg);
}
&::after {
content: '\2766';
display: inline-block;
line-height: 1em;
margin-left: .5em;
transform: rotate(270deg);
}
2023-11-19 00:11:43 +01:00
}
}
}
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;
2023-11-19 11:27:51 +01:00
gap: 1em;
2023-11-19 00:11:43 +01:00
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;
2023-11-19 11:27:51 +01:00
text-align: justify;
text-justify: auto;
}
}