From d3e18efaac2fa68050db100bc86c9204b8fc5dc3 Mon Sep 17 00:00:00 2001 From: Tine Date: Thu, 8 Feb 2024 13:36:07 +0100 Subject: [PATCH] chore: get current changes --- assets/css/screen.css | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/assets/css/screen.css b/assets/css/screen.css index 7d93516..3365a81 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -1290,7 +1290,6 @@ html.no-infinite-scroll .pagination { /* ---------------------------------------------------------- */ .article { - padding: max(8vmin, 40px) 0 max(8vmin, 64px); word-break: break-word; } @@ -1299,7 +1298,7 @@ html.no-infinite-scroll .pagination { } .post-template .article-header { - padding: 0 0 max(6.4vmin, 40px) 0; + padding: 0 0 max(6.4vmin, 40px); } .page-template .article-header { @@ -1372,21 +1371,20 @@ html.no-infinite-scroll .pagination { is laid out on top of. Canvas just defines the grid, we don't use it for applying any other styles. */ -.gh-canvas { +.gh-canvas, +.kg-width-full.kg-content-wide { + --gap: max(4vmin, 20px); + --main: min(var(--content-width, 720px), 100% - var(--gap) * 2); + --wide: minmax(0, calc((var(--container-width, 1200px) - var(--content-width, 720px)) / 2)); + --full: minmax(var(--gap), 1fr); + display: grid; grid-template-columns: - [full-start] - minmax(max(4vmin, 20px), auto) - [wide-start] - minmax(auto, 240px) - [main-start] - min(720px, calc(100% - max(8vmin, 40px))) - [main-end] - minmax(auto, 240px) - [wide-end] - minmax(max(4vmin, 20px), auto) - [full-end] - ; + [full-start] var(--full) + [wide-start] var(--wide) + [main-start] var(--main) [main-end] + var(--wide) [wide-end] + var(--full) [full-end]; } .gh-canvas > * { @@ -2443,7 +2441,7 @@ html.dark-mode .footer-cta-title { color: #fff; } - html.auto-color .gh-head { + html.auto-color body:not(.has-cover) .gh-head { background: var(--color-darkmode); color: #fff; } @@ -2609,6 +2607,13 @@ html.dark-mode .footer-cta-title { html.auto-color .footer-cta-title { color: #fff; } + + @media (max-width: 767px) { + html.auto-color .gh-head-open:not(.has-cover) #gh-head, + html.auto-color .gh-head-open:not(.has-cover) #gh-head .gh-head-actions { + background: var(--color-darkmode); + } + } } /*