-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
56 lines (51 loc) · 1.06 KB
/
style.css
File metadata and controls
56 lines (51 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/* FAQs Accordion CSS */
#rank-math-faq {
background: #f0f4f8;
border-radius: 5px;
padding: 10px;
margin-bottom: 1rem;
}
.rank-math-list-item {
background: var(--base-3);
padding: 15px;
box-shadow: 0 0 10px #d1d8dd, 0 0 40px #fff;
margin-bottom: 1rem;
border-radius: 5px;
}
.rank-math-question {
cursor: pointer;
position: relative;
border-bottom: 1px solid #f0f4f8;
padding-bottom: 0.825rem;
margin-bottom: 0.825rem;
padding-right: 35px;
font-size: 1.6rem;
color: #795548 !important;
}
.rank-math-answer {
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
}
.rank-math-question::after {
content: "+";
position: absolute;
right: 0;
width: 30px;
line-height: 30px;
background: #f0f4f8;
color: #ffb549;
border-radius: 50%;
text-align: center;
top: 15px;
transform: translateY(-50%);
font-size: 2.5rem;
font-weight: bold;
transition: transform 0.2s ease-out;
}
.rank-math-question.active::after {
transform: translateY(-50%) rotate(45deg);
}
.rank-math-answer p:last-child {
margin-bottom: 0;
}