diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-03-27 17:32:52 +0200 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-03-27 17:32:52 +0200 |
commit | ba8b3cd293081649f23fdc4485b7544902a8b2b7 (patch) | |
tree | 4b6a7320dfff8968d6713c351c780c5e49877596 | |
parent | c46f9798ffd33434de8bba46d9f597ed5a70caf5 (diff) | |
download | gabrielgio.me-ba8b3cd293081649f23fdc4485b7544902a8b2b7.tar.gz gabrielgio.me-ba8b3cd293081649f23fdc4485b7544902a8b2b7.tar.bz2 gabrielgio.me-ba8b3cd293081649f23fdc4485b7544902a8b2b7.zip |
feat: Change chroma theme
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | config.toml | 2 | ||||
-rw-r--r-- | themes/flamingo/assets/scss/_fonts.scss | 9 | ||||
-rw-r--r-- | themes/flamingo/layouts/_default/baseof.html | 8 |
4 files changed, 5 insertions, 18 deletions
@@ -1,7 +1,5 @@ - - all: openring - hugo + hugo --minify serve: openring hugo serve diff --git a/config.toml b/config.toml index bf38398..48c278a 100644 --- a/config.toml +++ b/config.toml @@ -10,6 +10,8 @@ staticDir = ['static'] [markup] defaultMarkdownHandler = "goldmark" + [markup.highlight] + style='abap' [markup.goldmark] [markup.goldmark.renderer] unsafe = true diff --git a/themes/flamingo/assets/scss/_fonts.scss b/themes/flamingo/assets/scss/_fonts.scss index 586ad0a..5add784 100644 --- a/themes/flamingo/assets/scss/_fonts.scss +++ b/themes/flamingo/assets/scss/_fonts.scss @@ -1,10 +1,6 @@ -* { - box-sizing: border-box; - font-family: 'DejaVu Sans'; - -} body { margin: 0; + font-family: 'DejaVu Sans'; } h1, h2, h3, h4 { font-weight: 400; @@ -14,9 +10,6 @@ code[class*="language-"], nav, .blog-list { font-weight: 400; font-size: 1.025rem; } -code { - font-family: "DejaVu Sans Mono"; -} tags { font-family: "DejaVu Sans Mono"; diff --git a/themes/flamingo/layouts/_default/baseof.html b/themes/flamingo/layouts/_default/baseof.html index 0be16e5..d253d72 100644 --- a/themes/flamingo/layouts/_default/baseof.html +++ b/themes/flamingo/layouts/_default/baseof.html @@ -4,17 +4,11 @@ <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> - {{ with .Site.Params.favicon }}<link rel="icon" type="image/png" href="{{ . }}" />{{ end }} - <title itemprop="name"> {{ .Title }} </title> {{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }} {{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }} - - {{ with resources.Get "scss/main.scss" | toCSS | minify }} - <style>{{ .Content | safeCSS }}</style> - {{ end }} - + {{ with resources.Get "scss/main.scss" | toCSS | minify }}<style>{{ .Content | safeCSS }}</style>{{ end }} {{ partial "meta" . }} </head> <body> |