From fcf2491e2fc6c362845a0cd630365886b4611ee7 Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 11 Feb 2019 08:46:08 +0000 Subject: Add marbling sidebar background images --- static/css/hyde.css | 5 +++++ static/marble1.jpg | Bin 0 -> 2268991 bytes static/marble2.jpg | Bin 0 -> 728206 bytes 3 files changed, 5 insertions(+) create mode 100644 static/marble1.jpg create mode 100644 static/marble2.jpg diff --git a/static/css/hyde.css b/static/css/hyde.css index 1ddbdda..bb4a371 100644 --- a/static/css/hyde.css +++ b/static/css/hyde.css @@ -248,3 +248,8 @@ a.sidebar-nav-item:focus { .theme-base-0f .related-posts li a:hover { color: #8f5536; } + +/* Rescribe */ +.theme-rescribe .sidebar { + background-image: url('/marble1.jpg'); +} diff --git a/static/marble1.jpg b/static/marble1.jpg new file mode 100644 index 0000000..2f21ed1 Binary files /dev/null and b/static/marble1.jpg differ diff --git a/static/marble2.jpg b/static/marble2.jpg new file mode 100644 index 0000000..e6bec09 Binary files /dev/null and b/static/marble2.jpg differ -- cgit v1.2.1-24-ge1ad From d76a71eaeae15dc03dd3160d4fc54831780ec03f Mon Sep 17 00:00:00 2001 From: Nick White Date: Wed, 2 Oct 2019 18:04:59 +0100 Subject: Switch from google fonts to EBGaramond served ourselves --- layouts/partials/head_fonts.html | 4 +++- static/EBGaramond12-Regular.woff | Bin 0 -> 242364 bytes static/css/hyde.css | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 static/EBGaramond12-Regular.woff diff --git a/layouts/partials/head_fonts.html b/layouts/partials/head_fonts.html index 4729eb2..b7ba7f3 100644 --- a/layouts/partials/head_fonts.html +++ b/layouts/partials/head_fonts.html @@ -1 +1,3 @@ - + diff --git a/static/EBGaramond12-Regular.woff b/static/EBGaramond12-Regular.woff new file mode 100644 index 0000000..a4605d3 Binary files /dev/null and b/static/EBGaramond12-Regular.woff differ diff --git a/static/css/hyde.css b/static/css/hyde.css index bb4a371..2ae0573 100644 --- a/static/css/hyde.css +++ b/static/css/hyde.css @@ -250,6 +250,12 @@ a.sidebar-nav-item:focus { } /* Rescribe */ +body.theme-rescribe { + font-family: Helvetica, Arial, sans-serif; +} .theme-rescribe .sidebar { background-image: url('/marble1.jpg'); } +.theme-rescribe .sidebar-about h1 { + font-family: "EB Garamond Regular", Helvetica, Arial, sans-serif; +} -- cgit v1.2.1-24-ge1ad From 09252008dbc94824c4adeb7802011cdb1b09c7af Mon Sep 17 00:00:00 2001 From: Nick White Date: Thu, 10 Oct 2019 15:37:44 +0100 Subject: Make captions smaller --- static/css/hyde.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/css/hyde.css b/static/css/hyde.css index 2ae0573..caf3af5 100644 --- a/static/css/hyde.css +++ b/static/css/hyde.css @@ -259,3 +259,6 @@ body.theme-rescribe { .theme-rescribe .sidebar-about h1 { font-family: "EB Garamond Regular", Helvetica, Arial, sans-serif; } +.theme-rescribe figcaption { + font-size: small; +} -- cgit v1.2.1-24-ge1ad From 09e12b747140a38bf025ff25ac2496495d9d0968 Mon Sep 17 00:00:00 2001 From: Sorin Davidoi Date: Thu, 3 Oct 2019 19:54:26 +0200 Subject: fix(heads): Add protocol to gmpg URL The resource is available over HTTPS. https://webhint.io/docs/user-guide/hints/hint-no-protocol-relative-urls/ --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ab68c44..749cce6 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,7 +1,7 @@ - + {{ .Hugo.Generator }} -- cgit v1.2.1-24-ge1ad From 255810b7a312eeeee0d0522dbc2a573aafba4b9e Mon Sep 17 00:00:00 2001 From: Sorin Davidoi Date: Thu, 3 Oct 2019 19:48:23 +0200 Subject: fix(css): Add text-size-adjust https://developer.mozilla.org/en-US/docs/Web/CSS/text-size-adjust --- static/css/poole.css | 1 + 1 file changed, 1 insertion(+) diff --git a/static/css/poole.css b/static/css/poole.css index 7ddd054..54516b8 100644 --- a/static/css/poole.css +++ b/static/css/poole.css @@ -63,6 +63,7 @@ body { background-color: #fff; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; + text-size-adjust: 100%; } /* No `:visited` state is required by default (browsers will use `a`) */ -- cgit v1.2.1-24-ge1ad From aec49e4f6a99f6040d1a50a050c83fd6e8f1aef9 Mon Sep 17 00:00:00 2001 From: Nick White Date: Tue, 22 Oct 2019 13:10:55 +0100 Subject: Make marble sidebar image smaller --- static/css/hyde.css | 1 + static/marble1.jpg | Bin 2268991 -> 516720 bytes static/marble2.jpg | Bin 728206 -> 0 bytes 3 files changed, 1 insertion(+) delete mode 100644 static/marble2.jpg diff --git a/static/css/hyde.css b/static/css/hyde.css index caf3af5..8cd18fe 100644 --- a/static/css/hyde.css +++ b/static/css/hyde.css @@ -255,6 +255,7 @@ body.theme-rescribe { } .theme-rescribe .sidebar { background-image: url('/marble1.jpg'); + background-position: bottom right; } .theme-rescribe .sidebar-about h1 { font-family: "EB Garamond Regular", Helvetica, Arial, sans-serif; diff --git a/static/marble1.jpg b/static/marble1.jpg index 2f21ed1..9504f6f 100644 Binary files a/static/marble1.jpg and b/static/marble1.jpg differ diff --git a/static/marble2.jpg b/static/marble2.jpg deleted file mode 100644 index e6bec09..0000000 Binary files a/static/marble2.jpg and /dev/null differ -- cgit v1.2.1-24-ge1ad