wiki/quartz/components/styles/listPage.scss

41 lines
630 B
SCSS
Raw Permalink Normal View History

@use "../../styles/variables.scss" as *;
2023-07-01 07:03:01 +00:00
ul.section-ul {
list-style: none;
margin-top: 2em;
padding-left: 0;
}
li.section-li {
margin-bottom: 1em;
& > .section {
2023-07-02 20:08:29 +00:00
display: grid;
2024-06-18 05:13:31 +00:00
grid-template-columns: fit-content(8em) 3fr 1fr;
2023-07-01 07:03:01 +00:00
@media all and ($mobile) {
2023-07-02 20:08:29 +00:00
& > .tags {
2023-07-01 07:03:01 +00:00
display: none;
}
}
& > .desc > h3 > a {
2023-07-23 00:27:41 +00:00
background-color: transparent;
2023-07-01 07:03:01 +00:00
}
& .meta {
2024-06-18 05:13:31 +00:00
margin: 0 1em 0 0;
2023-07-02 20:08:29 +00:00
opacity: 0.6;
2023-07-01 07:03:01 +00:00
}
}
2023-07-02 20:08:29 +00:00
}
2023-07-01 07:03:01 +00:00
2023-07-02 20:08:29 +00:00
// modifications in popover context
.popover .section {
2024-06-18 05:13:31 +00:00
grid-template-columns: fit-content(8em) 1fr !important;
2023-07-02 20:08:29 +00:00
& > .tags {
display: none;
2023-07-01 07:03:01 +00:00
}
}