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

46 lines
715 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;
grid-template-columns: 6em 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;
}
}
2023-07-03 03:08:29 +07:00
& > .tags {
justify-self: end;
margin-left: 1rem;
}
& > .desc > h3 > a {
2023-07-03 03:08:29 +07:00
background-color: transparent;
2023-07-01 14:03:01 +07:00
}
2023-07-03 03:08:29 +07:00
& > .meta {
2023-07-01 14:03:01 +07:00
margin: 0;
flex-basis: 6em;
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 {
grid-template-columns: 6em 1fr !important;
& > .tags {
display: none;
2023-07-01 14:03:01 +07:00
}
}