Jacky Zhao
2021-12-26 43837f9e2ec4033722cb6957bd67c688afb3ae2c
assets/base.scss
@@ -23,19 +23,6 @@
  padding: revert;
}
a {
  font-family: Inter;
  font-weight: 700;
  font-size: 1em;
  text-decoration: none;
  transition: all 0.2s ease;
  color: var(--secondary);
  &:hover {
    color: var(--tertiary) !important;
  }
}
#TableOfContents > ol {
  counter-reset: section;
  margin-left: 0em;
@@ -128,6 +115,16 @@
article a {
  font-family: Source Sans Pro;
  font-weight: 600;
  // internal link
  &[href^="./"], &[href^="/"] {
    text-decoration: none;
    background-color: #afbfc933;
    padding: 0 0.2em;
    margin-right: -0.2em;
    font-weight: 600;
    border-radius: 3px;
  }
}
sup > a {
@@ -135,6 +132,19 @@
  padding: 0 0.1em 0 0.2em;
}
a {
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 1em;
  text-decoration: none;
  transition: all 0.2s ease;
  color: var(--secondary);
  &:hover {
    color: var(--tertiary) !important;
  }
}
pre {
  font-family: 'Fira Code';
  padding: 0.75em;
@@ -187,15 +197,6 @@
  background-color: var(--dark);
}
// internal link
a[href^="./"] {
  text-decoration: none;
  background-color: #afbfc933;
  padding: 0 0.2em;
  font-weight: 600;
  border-radius: 3px;
}
.singlePage {
  margin: 4em 30vw;