syntax highlighting
This commit is contained in:
parent
ccf20da6c1
commit
b5c8a022fc
5 changed files with 108 additions and 52 deletions
|
@ -14,11 +14,13 @@ $text-default: $white-light;
|
|||
$primary: $blue;
|
||||
$secondary: $blue-med;
|
||||
|
||||
$default-font-family: 'Inconsolata', serif;
|
||||
$default-font-weight: 400;
|
||||
|
||||
body {
|
||||
color: $text-default;
|
||||
background-color: $grey-vdark;
|
||||
font-family: 'Inconsolata',
|
||||
monospace;
|
||||
font-family: $default-font-family;
|
||||
line-height: 1.3rem;
|
||||
|
||||
|
||||
|
@ -97,6 +99,21 @@ body {
|
|||
margin: 0rem 1rem;
|
||||
}
|
||||
|
||||
pre[class*="language-"],
|
||||
code[class*="language-"] {
|
||||
font-family: $default-font-family !important;
|
||||
font-weight: $default-font-weight;
|
||||
tab-size: 2;
|
||||
line-height: 1.3rem;
|
||||
}
|
||||
|
||||
pre[class*="language-"] {
|
||||
max-width: 100%;
|
||||
background: $grey-dark !important;
|
||||
border-radius: 0;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
.nav {
|
||||
width: 100%;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue