Full-width

This commit is contained in:
2026-01-30 13:49:46 +01:00
parent e027348c10
commit 32104c24a5
4 changed files with 8 additions and 14 deletions

View File

@@ -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;

View File

@@ -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 {

View File

@@ -8,7 +8,6 @@
ul {
margin: 0 auto;
padding: 0;
max-width: @ini_site_width;
}
li.action a {

View File

@@ -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