Jacky Zhao
2021-12-27 094ab9d064b8e3d24f0cb656aaf4e0ea08365ac5
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,20 @@
article a {
  font-family: Source Sans Pro;
  font-weight: 600;
  // internal link
  &[href^="./"], &[href^="/"] {
    text-decoration: none;
    background-color: transparentize(#8f9fa9, 0.85);
    padding: 0 0.1em;
    margin: auto -0.1em;
    border-radius: 3px;
  }
}
.backlinks a {
  font-weight: 600;
  font-size: 0.9rem;
}
sup > a {
@@ -135,6 +136,19 @@
  padding: 0 0.1em 0 0.2em;
}
a {
  font-family: Inter, sans-serif;
  font-size: 1em;
  font-weight: 700;
  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 +201,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;
@@ -241,6 +246,10 @@
  margin-top: 30vh;
}
article > h1 {
  font-size: 2em;
}
header {
  display: flex;
  flex-direction: row;