~abcdw/trop.in

5fea23f086c8941cc3452e4d9cb5638bc4424c99 — Andrew Tropin 11 months ago 85403ab
Use serif by default and adjust size for code
1 files changed, 6 insertions(+), 2 deletions(-)

M assets/simple.css
M assets/simple.css => assets/simple.css +6 -2
@@ 6,6 6,7 @@
  /*   "Nimbus Sans L", Roboto, "Noto Sans", "Segoe UI", Arial, Helvetica, */
  /*   "Helvetica Neue", sans-serif; */
  /* --mono-font: Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace; */
  --serif-font: serif;
  --sans-font: sans-serif;
  --mono-font: monospace;
  --standard-border-radius: 5px;


@@ 67,7 68,7 @@ progress {

html {
  /* Set the font globally */
  /* font-family: var(--sans-font); */
  font-family: var(--serif-font);
  scroll-behavior: smooth;
}



@@ 593,6 594,7 @@ pre {
  padding: 0rem 0.4rem;
  max-width: 100%;
  /* overflow: hidden; */

  line-height: 1.2;
  background:var(--accent-bg);
  /* border:1px solid var(--border); */


@@ 606,7 608,9 @@ div.post>small {
}

code {
  font-size: 0.9rem;
  font-size: 1.0rem;
  /* overflow-wrap: break-word; */
  white-space: pre-wrap;
}

/* Fix embedded code within pre */