diff --git a/assets/blog.css b/assets/blog.css deleted file mode 100644 index 3bbb883..0000000 --- a/assets/blog.css +++ /dev/null @@ -1,13 +0,0 @@ -:root { - --pagefind-ui-scale: 1; - --pagefind-ui-primary: #034ad8; - --pagefind-ui-text: #ebdbb2; - --pagefind-ui-background: #3c3836; - --pagefind-ui-border: #eeeeee; - --pagefind-ui-tag: #eeeeee; - --pagefind-ui-border-width: 2px; - --pagefind-ui-border-radius: 8px; - ----pagefind-ui-image-border-radius: 8px; - --pagefind-ui-image-box-ratio: 3 / 2; - --pagefind-ui-font: inherit; -} diff --git a/assets/gruvbox.css b/assets/gruvbox.css index 5c5b24f..ea8e1db 100644 --- a/assets/gruvbox.css +++ b/assets/gruvbox.css @@ -1,55 +1,69 @@ +:root { + --pagefind-ui-scale: 1; + --pagefind-ui-primary: #034ad8; + --pagefind-ui-text: #ebdbb2; + --pagefind-ui-background: #3c3836; + --pagefind-ui-border: #eeeeee; + --pagefind-ui-tag: #034ad8; + --pagefind-ui-border-width: 2px; + --pagefind-ui-border-radius: 8px; + ----pagefind-ui-image-border-radius: 8px; + --pagefind-ui-image-box-ratio: 3 / 2; + --pagefind-ui-font: inherit; +} + main { - -webkit-font-feature-settings: "liga" on, "calt" on; - -webkit-font-smoothing: antialiased; - text-rendering: optimizeLegibility; - font-family: 'JetBrains Mono', 'Input Mono', monospace; - max-width: 38rem; - padding: 2rem; - margin: auto; + -webkit-font-feature-settings: "liga" on, "calt" on; + -webkit-font-smoothing: antialiased; + text-rendering: optimizeLegibility; + font-family: 'JetBrains Mono', 'Input Mono', monospace; + max-width: 38rem; + padding: 2rem; + margin: auto; } @media only screen and (max-device-width: 736px) { - main { - padding: 0.2rem; - } + main { + padding: 0.2rem; + } } ::selection { - background: #9c0018; + background: #9c0018; } body { - background: #282828; - color: #ebdbb2; + background: #282828; + color: #ebdbb2; } pre { - background-color: #3c3836; - padding: 1em; - border: 0; - overflow: auto; - white-space: pre-wrap; + background-color: #3c3836; + padding: 1em; + border: 0; + overflow: auto; + white-space: pre-wrap; } a, a:active, a:visited { - color: #e491b6; - background-color: #1d2021; + color: #e491b6; + background-color: #1d2021; } h1, h2, h3, h4, h5 { - margin-bottom: .1rem; + margin-bottom: .1rem; } blockquote { - border-left: 1px solid #bdae93; - margin: 0.5em 10px; - padding: 0.5em 10px; + border-left: 1px solid #bdae93; + margin: 0.5em 10px; + padding: 0.5em 10px; } footer { - align: center; + align: center; } img { - max-width: 100%; + max-width: 100%; } diff --git a/themes/gruvbox/layouts/_default/baseof.html b/themes/gruvbox/layouts/_default/baseof.html index 87b9ede..ce2dd50 100644 --- a/themes/gruvbox/layouts/_default/baseof.html +++ b/themes/gruvbox/layouts/_default/baseof.html @@ -1,14 +1,12 @@ {{- $gruvbox := resources.Get "gruvbox.css" | resources.ToCSS }} -{{- $blogcss := resources.Get "blog.css" | resources.ToCSS }} - - + diff --git a/themes/gruvbox/layouts/_default/single.html b/themes/gruvbox/layouts/_default/single.html index e26d7e8..c96dc9e 100644 --- a/themes/gruvbox/layouts/_default/single.html +++ b/themes/gruvbox/layouts/_default/single.html @@ -1,7 +1,7 @@ {{ define "title" }}{{ .Title }}{{ end }} {{ define "main" }} -

{{ .Title }}

+

{{ .Title }}

tags:

diff --git a/themes/gruvbox/layouts/partials/tags.html b/themes/gruvbox/layouts/partials/tags.html index 96fa527..9964840 100644 --- a/themes/gruvbox/layouts/partials/tags.html +++ b/themes/gruvbox/layouts/partials/tags.html @@ -1,5 +1,5 @@ {{ $taxonomy := "tags" }} {{ with .Param $taxonomy }} -