From 17d65a66e8b860fb47684ae2d311f18ec1679ee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Sun, 13 Feb 2022 18:07:52 +0100 Subject: Lighter white theme There was too much green and it felt a bit annoying --- assets/scss/style.scss | 15 ++++++++++----- layouts/_default/baseof.html | 2 +- layouts/index.html | 2 +- layouts/partials/author_card.html | 2 +- layouts/partials/hero.html | 2 +- layouts/partials/pagination.html | 8 ++++---- layouts/partials/post.html | 4 ++-- layouts/partials/post_pager.html | 4 ++-- 8 files changed, 22 insertions(+), 17 deletions(-) diff --git a/assets/scss/style.scss b/assets/scss/style.scss index 98afe53..c7b70dd 100644 --- a/assets/scss/style.scss +++ b/assets/scss/style.scss @@ -141,27 +141,32 @@ div.highlight pre { } blockquote { - @extend .bl, .bw2, .w3-theme-border, .pl2; + @extend .bl, .bw2, .w3-theme-border, .pl2, .near-white; } // POSTS -.main-content, -footer { +.main-content { a { - @extend .link, .light-gray, .underline; + @extend .link, .near-black, .underline; } p code { @extend .bg-black-30, .pa1; } } +footer { + a { + @extend .link, .near-white, .underline; + } +} + // Projects status feed .status-feed { dt { @extend .b; } dd a { - @extend .link, .w3-theme-d2, .pa1, .br3; + @extend .link, .w3-theme-l1, .pa1, .br3; } } diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 20e0c0c..81ba4d7 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,7 +1,7 @@ {{- partial "head.html" . -}} - + {{- partial "header.html" . -}}
{{- block "main" . }}{{- end }} diff --git a/layouts/index.html b/layouts/index.html index b256f80..f84fa28 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -13,7 +13,7 @@
{{ end }} diff --git a/layouts/partials/author_card.html b/layouts/partials/author_card.html index 33c86b8..25e0701 100644 --- a/layouts/partials/author_card.html +++ b/layouts/partials/author_card.html @@ -4,7 +4,7 @@
{{ .Site.Params.Owner }}
-
{{ .Site.Params.Role }}
+
{{ .Site.Params.Role }}

{{ .Site.Params.bio }}

diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html index 7345fe9..cdbccdf 100644 --- a/layouts/partials/hero.html +++ b/layouts/partials/hero.html @@ -1,7 +1,7 @@
-

{{ .Title }}

+

{{ .Title }}

{{ .Content }}
diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html index 3aa16f7..52f4213 100644 --- a/layouts/partials/pagination.html +++ b/layouts/partials/pagination.html @@ -2,16 +2,16 @@ {{ if gt $pag.TotalPages 1 }} {{ end }} diff --git a/layouts/partials/post.html b/layouts/partials/post.html index 8eaadee..56ca457 100644 --- a/layouts/partials/post.html +++ b/layouts/partials/post.html @@ -1,6 +1,6 @@