From 3a53b026bff595e1c8d7ec637b8b4d2cb6d20bba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ondr=CC=8Cej=20Ny=CC=81vlt?= Date: Thu, 17 Aug 2023 10:14:33 +0200 Subject: [PATCH] Style --- view/static/main.css | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/view/static/main.css b/view/static/main.css index e06c8ca..428fc7d 100644 --- a/view/static/main.css +++ b/view/static/main.css @@ -75,6 +75,14 @@ td { text-align: inherit; } +ins { + text-decoration-color: hsl(120 50% 75% / 50%); +} + +del { + text-decoration-color: hsl(0 50% 40% / 50%); +} + summary { cursor: pointer; list-style: none; @@ -221,7 +229,16 @@ details[open] summary::before { .page-item { border: 1px solid var(--border-color); - box-shadow: var(--box-shadow); + background: hsl(0 0% 95%); + transition: background-color 120ms; + color: hsl(0 0% 40%); + font-weight: 500; + font-size: 0.85em; + line-height: 1.5rem; +} + +.page-item:not(.active):hover { + background: hsl(0 0% 90%); } .page-item:first-of-type { @@ -236,20 +253,12 @@ details[open] summary::before { border-right-width: 0px; } -.page-item.active .page-link { +.page-item.active { background-color: var(--accent-color); color: white; border-color: transparent; } -.diff ins { - text-decoration-color: hsl(120 50% 75% / 50%); -} - -.diff del { - text-decoration-color: hsl(0 50% 40% / 50%); -} - /* Index */ .filters {