From 812bf33ab9e8e1173103de092ee71f6ff61e56ee Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Sun, 21 Apr 2019 13:02:09 +0300 Subject: [PATCH] Pagination --- static/css/style.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/static/css/style.css b/static/css/style.css index 64192c6..bb6db83 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -333,3 +333,23 @@ pre, code, kbd, samp .img-center { text-align: center; } + +.pagination a { + color: black; + float: left; + padding: 8px 16px; + text-decoration: none; + border-radius: 5px; + border: 1px solid #ddd; + margin: 0 4px; +} + +.pagination a.active { + border-radius: 5px; + background-color: #888888; + color: white; +} + +.pagination a:hover:not(.active) { + background-color: #ddd; +}