From b3b9803dbc6c1623d0a6ee47869665c82feb8d6a Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Thu, 13 Mar 2025 12:08:07 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Am=C3=A9liorations=20design?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/datatables.css | 8 ++++---- public/css/index.css | 33 +++++++++++++++------------------ 2 files changed, 19 insertions(+), 22 deletions(-) diff --git a/public/css/datatables.css b/public/css/datatables.css index 674d8bc..f886b2e 100644 --- a/public/css/datatables.css +++ b/public/css/datatables.css @@ -21,13 +21,13 @@ padding: 6px; border-radius: 6px; border:0; - background-color: rgba(0,0,0,0.1); + background-color: rgba(255,255,255,0.2); color:var(--text-color) } .datatable-input { padding: 6px 12px; - background-color:rgba(0, 0, 0, 0.1); + background-color:rgba(255,255,255,0.2); color: var(--text-color); border:none; border-radius:6px; @@ -64,13 +64,13 @@ } .datatable-pagination a:hover { - background-color: rgba(0, 0, 0, 0.1); + background-color: rgba(255,255,255,0.2); } .datatable-pagination .datatable-active a, .datatable-pagination .datatable-active a:focus, .datatable-pagination .datatable-active a:hover { - background-color: rgba(0, 0, 0, 0.1); + background-color: rgba(255,255,255,0.2); cursor: default; } diff --git a/public/css/index.css b/public/css/index.css index 81ca3a5..3ed368a 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -45,8 +45,9 @@ body { font-family: var(--font-family); color: var(--text-color); background-image: url("/img/dark-b10.png"); - background-position: bottom center; + background-position: bottom right; background-repeat: repeat-x; + background-attachment: fixed; font-size: 16px; } @@ -186,6 +187,10 @@ header h1 a[href] { padding:12px; height:100%; box-shadow: 1px 0px 1px 0px rgba(0,0,0,0.4); + background-image: url("/img/dark-b10.png"); + background-position: bottom right; + background-repeat: repeat-x; + background-attachment: fixed; } #sidebar.shown { @@ -209,12 +214,6 @@ main img { margin: auto; } -.card, -#sidebar ul>li, -#links ul>li { - background-color: var(--background-menu); -} - #sidebar ul > li, #links ul > li { list-style: none; @@ -274,7 +273,7 @@ ul.nav, } #more-info h2 { - padding: 3px; + padding: 6px; margin: 0; font-size: 1rem; } @@ -286,14 +285,10 @@ ul.nav, } #sidebar ul li a.active, -#sidebar ul li a:hover { - background-color: rgba(255, 255, 255, 0.3); -} - - +#sidebar ul li a:hover, #more-info ol li a:hover, #more-info ol li a.active { - background-color:rgba(0,0,0,0.1); + background-color: rgba(255, 255, 255, 0.3); } aside { @@ -479,6 +474,8 @@ table { border-collapse: collapse; width:100%; border:0; + background-color: rgba(255,255,255,0.05); + border-radius: 6px; } table.centered th, table.centered td { @@ -490,15 +487,15 @@ th, td { } tr:hover { - background-color: #eee8d5; + background-color: rgba(255,255,255,0.1);; } -tr { - border-bottom: 1px solid rgba(0,0,0,0.1); +tr:not(:last-child) { + border-bottom: 1px solid rgba(255,255,255,0.1); } thead tr { - border-bottom: 3px solid rgba(0,0,0,0.1); + border-bottom: 3px solid rgba(255,255,255,0.1); } th, td {