From 5957c51503b7930aa9b3c02d06afdf35eb17fdd1 Mon Sep 17 00:00:00 2001 From: teldra Date: Sun, 27 Mar 2022 03:13:08 +0200 Subject: [PATCH] small fixes --- themes/buha/assets/css/layout.css | 21 ++++++++++++++++++++- themes/buha/layouts/_default/baseof.html | 6 ++++-- themes/buha/layouts/_default/list.html | 9 ++++++++- themes/buha/layouts/index.html | 21 +++++++++++++++++++++ themes/buha/layouts/partials/sidebar.html | 2 -- 5 files changed, 53 insertions(+), 6 deletions(-) diff --git a/themes/buha/assets/css/layout.css b/themes/buha/assets/css/layout.css index 8bf76d66..7fd0acb7 100644 --- a/themes/buha/assets/css/layout.css +++ b/themes/buha/assets/css/layout.css @@ -13,7 +13,21 @@ background-image: linear-gradient(var(--background-alt), var(--background)); } +details { + margin-top: 0; +} +summary { + background-color: var(--background-alt); +} + +details p, details section { + text-align: right; +} + +aside { + display: none; +} main h1 { margin-top: 0rem; @@ -21,7 +35,7 @@ main h1 { } .right-sidebar { - display: flex; + display: none; flex-direction: row; margin-left: 1rem; } @@ -137,6 +151,10 @@ article h3 { /* Small devices (portrait tablets and large phones, 600px and up) */ @media only screen and (min-width: 600px) { + details { + display: none; + } + #headerinner { padding: 10px; } @@ -153,6 +171,7 @@ article h3 { } .right-sidebar { + display: flex; flex-shrink: 0; flex-grow: 0; margin-left: 2rem; diff --git a/themes/buha/layouts/_default/baseof.html b/themes/buha/layouts/_default/baseof.html index 59ad4c6f..e5ebb3d4 100644 --- a/themes/buha/layouts/_default/baseof.html +++ b/themes/buha/layouts/_default/baseof.html @@ -5,10 +5,10 @@
{{ partialCached "header" . }} -
-
+
{{ block "nav2" . -}}{{- end }}
+

@@ -16,7 +16,9 @@

{{ block "main" . -}}{{- end }}
+