From 1c3c7b7d7a8fbb41fb1f456c8b864ea640220982 Mon Sep 17 00:00:00 2001 From: Lucas Date: Thu, 16 Oct 2025 12:03:10 +0200 Subject: [PATCH 1/2] css faq --- assets/styles/app.css | 27 +++++++++++----- templates/_footer.html.twig | 2 +- templates/base.html.twig | 1 + templates/home/faq.html.twig | 60 +++++++++++++++++++++--------------- 4 files changed, 57 insertions(+), 33 deletions(-) diff --git a/assets/styles/app.css b/assets/styles/app.css index dc9815a..b064113 100644 --- a/assets/styles/app.css +++ b/assets/styles/app.css @@ -17,11 +17,6 @@ main { margin-top: 1rem; } -.questionBlock { - display: block; - margin-top: 1rem; -} - details { margin-left: 1rem; margin-bottom: 1rem; @@ -77,7 +72,7 @@ details { margin: 0; } -footer { +.pageFooter { padding: 1rem; text-align: center; border-top: 1px solid gray; @@ -87,6 +82,11 @@ footer { text-shadow: 0 0 5px black; } +.qFooter { + padding: 1rem; + text-align: center; +} + footer p { margin: 0; display: inline-block; @@ -100,7 +100,7 @@ footer ul { list-style: none; } -footer a { +.pageFooter a { color: inherit; } @@ -143,6 +143,19 @@ article { } } +.questions { + max-width: 180ch; +} + +.questionBlock { + margin-top: 1rem; + max-width: 180ch; + + details { + padding: 1rem; + } +} + .adminPanel { display: flex; border-style: solid; diff --git a/templates/_footer.html.twig b/templates/_footer.html.twig index 26c6441..90048f7 100644 --- a/templates/_footer.html.twig +++ b/templates/_footer.html.twig @@ -1,4 +1,4 @@ -