Jacky Zhao
2023-07-24 8fd75ffbfda30edd5a134a1fbf9b81ac3cebb2ff
quartz/components/styles/listPage.scss
@@ -1,3 +1,5 @@
@use "../../styles/variables.scss" as *;
ul.section-ul {
  list-style: none;
  margin-top: 2em;
@@ -8,29 +10,36 @@
  margin-bottom: 1em;
  & > .section {
    display: flex;
    align-items: center;
    display: grid;
    grid-template-columns: 6em 3fr 1fr;
    @media all and (max-width: 600px) {
      & .tags {
    @media all and (max-width: $mobileBreakpoint) {
      & > .tags {
        display: none;
      }
    }
    & h3 > a {
      font-weight: 700;
      margin: 0;
    & > .tags {
      justify-self: end;
      margin-left: 1rem;
    }
    & > .desc > h3 > a {
      background-color: transparent;
    }
    & p {
    & > .meta {
      margin: 0;
      padding-right: 1em;
      flex-basis: 6em;
      opacity: 0.6;
    }
  }
}
  & .meta {
    opacity: 0.6;
// modifications in popover context
.popover .section {
  grid-template-columns: 6em 1fr !important;
  & > .tags {
    display: none;
  }
}