From 6b28b3e5102935a32d2dab90a9a384fd3640a226 Mon Sep 17 00:00:00 2001 From: n0099 Date: Tue, 18 May 2021 11:20:48 +0800 Subject: [PATCH] fix: improve responsiveness of article pagination buttons (#373) --- assets/css/kratos.css | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/assets/css/kratos.css b/assets/css/kratos.css index 4e44b49b..82637c32 100644 --- a/assets/css/kratos.css +++ b/assets/css/kratos.css @@ -501,6 +501,14 @@ button:focus { 4. 分页按钮 --------------------------------------------------------------*/ +.k-main .board .paginations > * { + display: inline-block; +} + +.k-main .board .paginations .kicon { + line-height: 25px; +} + .k-main .board .paginations { margin: 23px auto; width: 100%; @@ -509,20 +517,21 @@ button:focus { } .k-main .board .paginations a { - padding: 8px 12px; + margin-top: 5px; + padding: 5px 12px; background: #fff; color: #444; } .k-main .board .paginations .current { - padding: 8px 12px; + padding: 5px 12px; background: #00a2ff; color: #fff; font-weight: 400; } .k-main .board .paginations .dots { - padding: 8px 12px; + padding: 5px 12px; background: #fff; color: #444; }