diff --git a/config.toml b/config.toml index 88a652a..6e2f30f 100644 --- a/config.toml +++ b/config.toml @@ -4,3 +4,4 @@ title = "Daniel's Blog" theme = "vanilla" pygmentsCodeFences = true pygmentsStyle = "github" +summaryLength = 20 diff --git a/themes/vanilla/assets/scss/style.scss b/themes/vanilla/assets/scss/style.scss index 7f739a9..22c888c 100755 --- a/themes/vanilla/assets/scss/style.scss +++ b/themes/vanilla/assets/scss/style.scss @@ -88,12 +88,7 @@ nav { color: black; display: inline-block; border-bottom: none; - transition: color .25s; white-space: nowrap; - - &:hover { - color: $primary-color; - } } } @@ -134,6 +129,11 @@ a { color: black; text-decoration: none; border-bottom: .2rem solid $primary-color; + transition: color 0.25s; + + &:hover { + color: $primary-color; + } } img { @@ -153,10 +153,6 @@ tr { } } -div.highlight tr { - display: table-row; -} - td { @include below-container-width { overflow-x: auto; @@ -164,6 +160,10 @@ td { padding: 0.5rem; } +div.highlight tr { + display: table-row; +} + hr.header-divider { background-color: $primary-color; height: 0.3rem; @@ -171,8 +171,27 @@ hr.header-divider { border-radius: 0.15rem; } -ul.page-list a { - border-bottom: none; +ul.page-list { + list-style: none; + padding: 0; + + li { + @include bordered-block; + margin-bottom: 1rem; + padding: 0.5rem; + } + + a { + border-bottom: none; + font-size: 1.3rem; + font-weight: bold; + font-family: $font-heading; + } + + p { + margin-bottom: 0; + margin-top: 0.2rem; + } } .katex-html { diff --git a/themes/vanilla/layouts/_default/list.html b/themes/vanilla/layouts/_default/list.html index cc3ccf5..a3fe4b9 100644 --- a/themes/vanilla/layouts/_default/list.html +++ b/themes/vanilla/layouts/_default/list.html @@ -3,7 +3,7 @@
{{ .WordCount }} words, about {{ .ReadingTime }} minutes to read.
+{{ .Summary }} . . .
+