diff options
| author | Jakob L. Kreuze <zerodaysfordays@sdf.org> | 2026-02-14 10:13:43 -0500 |
|---|---|---|
| committer | Jakob L. Kreuze <zerodaysfordays@sdf.org> | 2026-02-14 10:13:43 -0500 |
| commit | 5514bc9b5023f4a8e921b3ef70836c1c843248c4 (patch) | |
| tree | 8d09bb048b12b36b56fe991d401bc7b3d5e6c2ea /static/css | |
| parent | f62a80e1a10970376973a2ee5b016a814bcd2039 (diff) | |
Stylize pagination buttons
Diffstat (limited to 'static/css')
| -rw-r--r-- | static/css/style.css | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/static/css/style.css b/static/css/style.css index 49b1f88..0b50f03 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -698,3 +698,49 @@ figure:not(.code-container) figcaption .figure-number { text-transform: uppercase; color: #333 } + +#pagination { + display: flex; + justify-content: space-between; + margin: 30px 0; + padding: 10px; + background-color: #f9f9f9; + border: 1px solid #ccc +} + +#pagination a { + text-transform: uppercase; + font-size: 9px; + font-weight: 700; + letter-spacing: 1px; + padding: 6px 12px; + color: #fff; + background: linear-gradient(to bottom,#333 0,#222 40%,#111 50%,#222 60%,#333 100%); + border: 1px solid #000; + border-left: 4px solid #2e8b57; + text-decoration: none; + box-shadow: 2px 2px 0#ccc +} + +#pagination a:hover { + background: #2e8b57; + border-color: #000; + color: #fff +} + +#pagination a:only-child { + margin-left: auto +} + +#pagination a[rel=prev]:only-child { + margin-right: auto; + margin-left: 0 +} + +#pagination a[rel=next]:only-child { + margin-left: auto +} + +#pagination:empty { + display: none; +} |