Add code highlighting and make minor style changes

This commit is contained in:
Danila Fedorin 2019-08-02 18:35:47 -07:00
parent 4d52c73ee5
commit 2aae302793
2 changed files with 12 additions and 2 deletions

View File

@ -2,3 +2,5 @@ baseURL = "https://danilafe.com"
languageCode = "en-us" languageCode = "en-us"
title = "Daniel's Blog" title = "Daniel's Blog"
theme = "vanilla" theme = "vanilla"
pygmentsCodeFences = true
pygmentsStyle = "github"

View File

@ -32,6 +32,13 @@ code {
background-color: #f0f0f0; background-color: #f0f0f0;
} }
pre code {
display: block;
padding: 0.5em;
overflow-x: auto;
background-color: #f0f0f0;
}
.container { .container {
margin: auto; margin: auto;
width: 100%; width: 100%;
@ -61,13 +68,13 @@ code {
} }
} }
.navbar { nav {
background-color: $primary-color; background-color: $primary-color;
width: 100%; width: 100%;
margin: 1em 0px 1em 0px; margin: 1em 0px 1em 0px;
} }
.navbar-button { nav a {
padding: .75em; padding: .75em;
text-decoration: none; text-decoration: none;
color: white; color: white;
@ -113,6 +120,7 @@ h5 {
h6 { h6 {
font-size: 1.0rem; font-size: 1.0rem;
} }
a { a {
color: $primary-color-dark; color: $primary-color-dark;
text-decoration: none; text-decoration: none;