From 32104c24a55d0d4103b23212b66f15a790b64b93 Mon Sep 17 00:00:00 2001 From: luxick Date: Fri, 30 Jan 2026 13:49:46 +0100 Subject: [PATCH] Full-width --- css/pagetools.less | 15 +++++---------- css/structure.less | 3 ++- css/usertools.less | 1 - style.ini | 3 +-- 4 files changed, 8 insertions(+), 14 deletions(-) diff --git a/css/pagetools.less b/css/pagetools.less index e9352b9..fdf07d5 100755 --- a/css/pagetools.less +++ b/css/pagetools.less @@ -11,8 +11,8 @@ */ #dokuwiki__pagetools.pagetools-statusbar { - /* Sticky positioning at bottom of viewport */ - position: sticky; + /* Fixed positioning at bottom of viewport */ + position: fixed; bottom: 0; left: 0; right: 0; @@ -54,25 +54,20 @@ } &:active { - background-color: @ini_link; - color: @ini_background; + background-color: @ini_background_neu; .accesskey { - background-color: @ini_background; - color: @ini_link; + color: @ini_text; } } /* Accesskey badge - prominent display like F1, F2 shortcuts */ .accesskey { display: inline-block; - background-color: @ini_link; - color: @ini_background; + color: @ini_theme_color; font-weight: bold; font-size: 0.85em; - padding: 0.1em 0.4em; margin-right: 0.4em; - border-radius: 2px; min-width: 1.2em; text-align: center; text-transform: uppercase; diff --git a/css/structure.less b/css/structure.less index 3ea2f83..9a0e67c 100755 --- a/css/structure.less +++ b/css/structure.less @@ -5,11 +5,12 @@ */ body { margin: 0 auto; + /* Add bottom padding to account for fixed page tools bar */ + padding-bottom: 2.5em; } #dokuwiki__site { margin: 0 auto; - max-width: @ini_site_width; } #dokuwiki__site > .site { diff --git a/css/usertools.less b/css/usertools.less index efdf16c..cdd8d40 100755 --- a/css/usertools.less +++ b/css/usertools.less @@ -8,7 +8,6 @@ ul { margin: 0 auto; padding: 0; - max-width: @ini_site_width; } li.action a { diff --git a/style.ini b/style.ini index 225d3d8..bf995b3 100755 --- a/style.ini +++ b/style.ini @@ -80,8 +80,7 @@ __background_site__ = "#fbfaf9" ; @ini_background_site __existing__ = "#080" ; @ini_existing __missing__ = "#d30" ; @ini_missing -; site and sidebar widths -__site_width__ = "75em" ; @ini_site_width +; sidebar width __sidebar_width__ = "16em" ; @ini_sidebar_width ; cut off points for mobile devices __tablet_width__ = "800px" ; @ini_tablet_width