diff options
| author | 2024-06-05 20:45:30 +0200 | |
|---|---|---|
| committer | 2024-06-05 20:45:30 +0200 | |
| commit | 4f60a42e6437196b5a67693e0666150bb7d51ae9 (patch) | |
| tree | 1fa6a7bce6b0b2c99c9d8afdc2f1d685b49ae54d /p/themes/Ansum | |
| parent | cdb9d4a5a8f25924a2c0336093c5d187d4fe3791 (diff) | |
Improved: Nav buttons as buttons (#6485)
* improved HTML
* CSS
* i18n: new title text
* Update swage.scss
* Update app/i18n/fr/gen.php
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* Update swage.scss
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'p/themes/Ansum')
| -rw-r--r-- | p/themes/Ansum/_layout.scss | 4 | ||||
| -rw-r--r-- | p/themes/Ansum/_mobile.scss | 4 | ||||
| -rw-r--r-- | p/themes/Ansum/ansum.css | 8 | ||||
| -rw-r--r-- | p/themes/Ansum/ansum.rtl.css | 8 |
4 files changed, 6 insertions, 18 deletions
diff --git a/p/themes/Ansum/_layout.scss b/p/themes/Ansum/_layout.scss index c0d0a4f96..8ad5099be 100644 --- a/p/themes/Ansum/_layout.scss +++ b/p/themes/Ansum/_layout.scss @@ -372,9 +372,5 @@ main.prompt { /*=== Navigation menu (for articles) */ #nav_entries { - margin: 0; - text-align: center; - line-height: 3em; - table-layout: fixed; background: variables.$sid-bg; } diff --git a/p/themes/Ansum/_mobile.scss b/p/themes/Ansum/_mobile.scss index 720211a2a..21eb43c52 100644 --- a/p/themes/Ansum/_mobile.scss +++ b/p/themes/Ansum/_mobile.scss @@ -140,8 +140,8 @@ } - #nav_entries { - line-height: 4.5rem; + #nav_entries button { + height: 4.5rem; } .notification { diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css index 29fe2de0a..fcefd861e 100644 --- a/p/themes/Ansum/ansum.css +++ b/p/themes/Ansum/ansum.css @@ -973,10 +973,6 @@ main.prompt { /*=== Navigation menu (for articles) */ #nav_entries { - margin: 0; - text-align: center; - line-height: 3em; - table-layout: fixed; background: #fbf9f6; } @@ -1291,8 +1287,8 @@ main.prompt { line-height: 1.5rem; margin-bottom: 1rem; } - #nav_entries { - line-height: 4.5rem; + #nav_entries button { + height: 4.5rem; } .notification { border-radius: 0; diff --git a/p/themes/Ansum/ansum.rtl.css b/p/themes/Ansum/ansum.rtl.css index 37a3e82ee..fe535fbc5 100644 --- a/p/themes/Ansum/ansum.rtl.css +++ b/p/themes/Ansum/ansum.rtl.css @@ -973,10 +973,6 @@ main.prompt { /*=== Navigation menu (for articles) */ #nav_entries { - margin: 0; - text-align: center; - line-height: 3em; - table-layout: fixed; background: #fbf9f6; } @@ -1291,8 +1287,8 @@ main.prompt { line-height: 1.5rem; margin-bottom: 1rem; } - #nav_entries { - line-height: 4.5rem; + #nav_entries button { + height: 4.5rem; } .notification { border-radius: 0; |
