doc/faq css tweak

This commit is contained in:
YasinOnm08 2024-09-23 08:05:29 +02:00
parent c15d9f3eda
commit 1744148b1b
2 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@
background: #fff; background: #fff;
padding: 2rem; padding: 2rem;
border-radius: 8px; border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
overflow-y: scroll; overflow-y: scroll;
} }

View file

@ -15,7 +15,7 @@
border-radius: 10px; border-radius: 10px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
overflow-y: scroll; /* Allow vertical scrolling if content overflows */ overflow-y: scroll; /* Allow vertical scrolling if content overflows */
margin: 0 auto; margin: 2rem auto;
height: 80vh; height: 80vh;
} }
@ -31,6 +31,7 @@
padding: 10px; padding: 10px;
border-radius: 5px; border-radius: 5px;
background-color: #333; background-color: #333;
transition: background-color 0.3s ease-in-out;
} }
.faq-item h3 { .faq-item h3 {
@ -47,5 +48,4 @@
.faq-item:hover { .faq-item:hover {
background-color: #444; background-color: #444;
transition: background-color 0.3s;
} }