From 7a7e357dcdd34e4a33a81eadc55548d579938f49 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sat, 16 Apr 2022 17:35:33 +0200 Subject: Update --- assets/css/main.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'assets/css/main.css') diff --git a/assets/css/main.css b/assets/css/main.css index 4360305..2fb8f55 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -19,4 +19,28 @@ body * { nav.navbar { background-color: transparent !important; border-bottom: 1px solid rgba(255,255,255,.25); +} + +.faq-container { + margin: 15px 0; + background: rgba(0, 0, 0, .25); + box-shadow: transparent 0 0 20px 0; + padding: 10px 20px; + border: 1px solid black; + border-radius: 10px; + transition: background-color 200ms, box-shadow 200ms; +} + +.faq-container:hover:not([open]) { + background: rgba(0, 0, 0, .5); +} + +.faq-container[open] { + background: rgba(0, 0, 0, .75); + box-shadow: rgba(0, 0, 0, .75) 0 0 20px 0; +} + +.faq-separator { + background-color: gray; + margin: 1rem -20px; } \ No newline at end of file -- cgit