c4cd84dcc8
* Add a wrapper span to dates in PageList. This means there is a placeholder when date is not specified, so the values in grid-template-columns always line up correctly. * Use a <div> instead -- better practice to stick to block elements.
41 lines
651 B
SCSS
41 lines
651 B
SCSS
@use "../../styles/variables.scss" as *;
|
|
|
|
ul.section-ul {
|
|
list-style: none;
|
|
margin-top: 2em;
|
|
padding-left: 0;
|
|
}
|
|
|
|
li.section-li {
|
|
margin-bottom: 1em;
|
|
|
|
& > .section {
|
|
display: grid;
|
|
grid-template-columns: fit-content(8em) 3fr 1fr;
|
|
|
|
@media all and (max-width: $mobileBreakpoint) {
|
|
& > .tags {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
& > .desc > h3 > a {
|
|
background-color: transparent;
|
|
}
|
|
|
|
& .meta {
|
|
margin: 0 1em 0 0;
|
|
opacity: 0.6;
|
|
}
|
|
}
|
|
}
|
|
|
|
// modifications in popover context
|
|
.popover .section {
|
|
grid-template-columns: fit-content(8em) 1fr !important;
|
|
|
|
& > .tags {
|
|
display: none;
|
|
}
|
|
}
|