Jacky Zhao
2024-07-10 2154d36d9993e128faaa6471cdae305cca3d810d
quartz/styles/base.scss
@@ -43,16 +43,32 @@
.math {
  color: var(--darkgray);
  fill: var(--darkgray);
  overflow-wrap: anywhere;
  hyphens: auto;
}
p,
ul,
text,
a,
li,
ol,
ul,
.katex,
.math {
  overflow-wrap: anywhere;
  /* tr and td removed from list of selectors for overflow-wrap, allowing them to use default 'normal' property value */
}
.math {
  &.math-display {
    text-align: center;
  }
}
strong {
  font-weight: $semiBoldWeight;
}
a {
  font-weight: $semiBoldWeight;
  text-decoration: none;
@@ -75,6 +91,11 @@
      border-radius: 0;
      padding: 0;
    }
    &.tag-link {
      &::before {
        content: "#";
      }
    }
  }
  &.external .external-icon {
@@ -472,6 +493,10 @@
  flex: 1 1 auto;
}
div:has(> .overflow) {
  position: relative;
}
ul.overflow,
ol.overflow {
  max-height: 400;
@@ -504,3 +529,8 @@
    padding-left: 1rem;
  }
}
.katex-display {
  overflow-x: auto;
  overflow-y: hidden;
}