diff options
| Commit | be0a92c970e46281ff7a9bacce9d52ef49f8238c (patch) | |
|---|---|---|
| Author | 2023-01-04 19:21:11 +0200 | |
| Committer | 2023-01-04 19:21:11 +0200 | |
| Files | 61782ac3f9bf8c9cef15ca225306a2c3e92db897 | |
| syndamia.com-be0a92c970e46281ff7a9bacce9d52ef49f8238c.tar syndamia.com-be0a92c970e46281ff7a9bacce9d52ef49f8238c.tar.gz syndamia.com-be0a92c970e46281ff7a9bacce9d52ef49f8238c.zip | ||
| Parent | 955df7d19f8cfd1c62a3bbeeaf04321582691090 (diff) | |
[styles] Sidebar can now be hidden in desktop "mode"
1 files changed, 19 insertions, 7 deletions
| -rw-r--r-- | src/styles.css | 26 |
diff --git a/src/styles.css b/src/styles.css index 99a9376..08d5a75 100644 --- a/src/styles.css +++ b/src/styles.css @@ -445,9 +445,22 @@ a[rev="footnote"] { /* Script-specific styling */ #expandNavbarBtn { + float: right; +} + +.sidebar-hidden { + min-height: auto; + position: absolute; +} + +.sidebar-hidden > :not(.header) { display: none; } +.sidebar-hidden + .noMaxWidth { + margin-top: 5em; +} + /* Small screen support */ @media screen and (max-width: 610px) { @@ -472,22 +485,21 @@ a[rev="footnote"] { max-width: initial; margin-right: 8px; padding-right: 1em; - min-height: auto; } - + .sidebar-hidden { + position: initial; + } .sidebar-hidden > :not(.header) { display: none; } + .sidebar-hidden + .noMaxWidth { + margin-top: 0; + } table td, table th { word-break: break-all; } - #expandNavbarBtn { - display: initial; - float: right; - } - #changeWidthBtn { display: none; } |