rizaldy.club/quartz/components/styles/listPage.scss

41 lines
651 B
SCSS
Raw Normal View History

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