SAE15_2022/assets/css/faq.css

56 lines
715 B
CSS

h1 {
text-align: center;
}
h2 {
text-align: center;
font-size: medium;
}
.faq {
margin: 0 auto;
width: 500px;
}
.faq ul {
padding: 0;
list-style-type: none;
}
.faq ul li a{
padding-right: 20px;
padding-left: 20px;
}
.faq ul li {
background: #f1f1f1;
padding: 10px 0;
margin-bottom: 10px;
position: relative;
}
.question {
font-size: 18px;
color: #47a3da;
text-decoration: none;
display: block;
padding: 0 0 0 20px;
position: relative;
}
.question:hover {
color: #000;
}
.question.active {
color: #000;
}
.faq ul li p {
display: none;
font-size: 14px;
color: #2f2f2f;
line-height: 24px;
padding: 10px 20px;
}