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

2
assets/sass/main.scss

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

Loading…
Cancel
Save