Browse Source

smaller code font-size

master
Alexander Avery 2 years ago
parent
commit
749a0b7c5e
  1. 5
      assets/sass/code.scss
  2. 2
      assets/sass/main.scss

5
assets/sass/code.scss

@ -6,6 +6,10 @@ code {
white-space: nowrap; white-space: nowrap;
} }
p code {
font-size: .9rem !important;
}
pre { pre {
background-color: $background-color !important; background-color: $background-color !important;
max-width: 100%; max-width: 100%;
@ -14,6 +18,7 @@ pre {
@include shadow; @include shadow;
display: block; display: block;
padding: 1rem 1.5rem; padding: 1rem 1.5rem;
font-size: 1.05rem;
white-space: pre; white-space: pre;
max-width: 100%; max-width: 100%;
overflow-x: auto; overflow-x: auto;

2
assets/sass/main.scss

@ -83,7 +83,7 @@ a:visited, a:hover {
height: 0px; height: 0px;
} }
a, p, span, li, h2, code { a, p, li, h2 {
font-size: 1.25rem; font-size: 1.25rem;
} }

Loading…
Cancel
Save