From 4b052c7213e3d4b0baf40f56a12308b1cec0b612 Mon Sep 17 00:00:00 2001 From: Felix Pankratz Date: Wed, 28 Jun 2023 21:25:40 +0200 Subject: [PATCH] colors --- cover.css | 20 ++++++++++++++++++++ opt.html | 4 ++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/cover.css b/cover.css index 2449ed7..16e6a38 100644 --- a/cover.css +++ b/cover.css @@ -81,3 +81,23 @@ a:hover { background-color: #FF9C33; border-color: #333; } + +.accordion-button:not(.collapsed) { + color: #FF9C33; + background-color: #333; +} + +.accordion-button:focus { + border-color: #FF9C33; +} + +.accordion { + --bs-accordion-btn-focus-border-color: #FF9C33; + --bs-accordion-btn-focus-box-shadow: 0 0 0 0 ; + --bs-accordion-btn-color: #FF9C33; +} + +[data-bs-theme="dark"] .accordion-button::after { + --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='orange'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); + --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='orange'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); +} diff --git a/opt.html b/opt.html index a77a8e8..d0192bc 100644 --- a/opt.html +++ b/opt.html @@ -90,7 +90,7 @@ - +
@@ -194,7 +194,7 @@ mail [ät] felixpankratz.de | Imprint
- +