From 4b4390d83a7031dab1983652bba31d738c767ea0 Mon Sep 17 00:00:00 2001 From: maTh Date: Fri, 22 Jul 2022 11:50:42 +0200 Subject: Cleanup CSS .pagination (#4455) * remove .pagination .item a:hover * remove .pagination .loading * Update swage.scss * .pagination .item a centralized to template.css * adark theme: mobile: border * remove text-align: center * remove .pager-current * remove .content .pagination * remove font-size * font-style: italic; in template.css * fix --- p/themes/base-theme/template.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'p/themes/base-theme/template.css') diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css index dba74c210..9deae1f8d 100644 --- a/p/themes/base-theme/template.css +++ b/p/themes/base-theme/template.css @@ -655,17 +655,25 @@ input[type="checkbox"]:focus-visible { padding: 0; display: table; table-layout: fixed; + text-align: center; } .pagination .item { display: table-cell; width: 3em; - text-align: center; + font-style: italic; } .pagination .item.active { min-width: 3em; font-weight: bold; + font-style: normal; +} + +.pagination .item a { + display: block; + line-height: 3em; + text-decoration: none; } .pagination .pager-previous, -- cgit v1.2.3