From: Paul Hänsch Date: Sat, 23 Sep 2023 19:32:58 +0000 (+0200) Subject: Squashed 'cgilite/' changes from 211f2ee..880ed14 X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=93889092574b7deb38da16f67bd5e3d744a94b86;p=shellwiki Squashed 'cgilite/' changes from 211f2ee..880ed14 880ed14 css: avoid search button overflow, always center h1 git-subtree-dir: cgilite git-subtree-split: 880ed14c6887464c1200f146a871e8cfae896638 --- diff --git a/common.css b/common.css index 61d8caa..6f4c484 100644 --- a/common.css +++ b/common.css @@ -79,7 +79,10 @@ h4, h5, h6, form legend { margin-bottom: .25em; } -h1 { font-size: 1.5em; } +h1 { + text-align: center; + font-size: 1.5em; +} h2 { font-size: 1.125em; } select, input, button, textarea, a.button { @@ -120,6 +123,7 @@ input.search + button.search { border-left: none; border-radius: 0 2pt 2pt 0; white-space: nowrap; + overflow: hidden; } input.search + button.search:before { content: '\1f50d'; @@ -130,8 +134,6 @@ input.search + button.search:before { @media print { @page { margin: 20mm; } - h1 { text-align: center; } - h1, h2, h3, h4, h5, h6, form legend { page-break-inside: avoid; page-break-after: avoid;