diff options
| author | Holger Weiß <holger@zedat.fu-berlin.de> | 2026-07-02 17:27:50 +0200 |
|---|---|---|
| committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2026-07-02 17:27:50 +0200 |
| commit | b6ec20845df0945003c8955de97fc0105d7e8aeb (patch) | |
| tree | b721b1b525cda12d94966ebfb172724fb931e41c | |
| parent | 90a4cabe83a5775cb4889ecddc5fff0a8b1cb2ad (diff) | |
| download | site-b6ec20845df0945003c8955de97fc0105d7e8aeb.tar.gz | |
Hide copyright notice from footer on mobile
Wrap the "Copyright © YYYY-YYYY" text in its own span and hide it below
the existing 45em mobile breakpoint, keeping the team/impressum links
visible to save vertical space on small screens.
| -rw-r--r-- | web/input/resources/plugins.css | 6 | ||||
| -rw-r--r-- | web/page.html | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/web/input/resources/plugins.css b/web/input/resources/plugins.css index 50be892..ad32981 100644 --- a/web/input/resources/plugins.css +++ b/web/input/resources/plugins.css | |||
| @@ -321,6 +321,12 @@ p#news-footer { | |||
| 321 | font-size: small; | 321 | font-size: small; |
| 322 | } | 322 | } |
| 323 | 323 | ||
| 324 | @media (max-width: 45em) { | ||
| 325 | div#footer span#copyright { | ||
| 326 | display: none; | ||
| 327 | } | ||
| 328 | } | ||
| 329 | |||
| 324 | /* | 330 | /* |
| 325 | * Nginx Fancy Index. | 331 | * Nginx Fancy Index. |
| 326 | */ | 332 | */ |
diff --git a/web/page.html b/web/page.html index d654d06..2eeefcb 100644 --- a/web/page.html +++ b/web/page.html | |||
| @@ -42,7 +42,7 @@ | |||
| 42 | </div> | 42 | </div> |
| 43 | <div id="breadcrumb">{{ breadcrumb() }}</div> | 43 | <div id="breadcrumb">{{ breadcrumb() }}</div> |
| 44 | <div id="content">{{ __content__ }}</div> | 44 | <div id="content">{{ __content__ }}</div> |
| 45 | <div id="footer">Copyright © {{ copyright_years(since=2008) }} | 45 | <div id="footer"><span id="copyright">Copyright © {{ copyright_years(since=2008) }}</span> |
| 46 | <a href="team.html">Monitoring Plugins Development Team</a> | | 46 | <a href="team.html">Monitoring Plugins Development Team</a> | |
| 47 | <a href="impressum.html">Impressum</a> | 47 | <a href="impressum.html">Impressum</a> |
| 48 | </div> | 48 | </div> |
