-
Notifications
You must be signed in to change notification settings - Fork 0
/
faq.css
102 lines (85 loc) · 1.43 KB
/
faq.css
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
body {
font-family: 'Montserrat', sans-serif;
background-color: #f6f5f5;
margin:50px;
padding: 0 10px 0 10px;
}
.FAQ-Heading{
color:#00334e;
text-align: center;
margin: 2rem 0;
font-size: 2.5rem;
}
.FAQ-Heading:hover{
color:#145374;
}
.row{
display:flex;
}
.column{
flex:50%;
}
.col2{
margin-left: 75px;
}
@media screen and (max-width:880px) {
html {
font-size: 14px;
}
.FAQ-Heading{
font-size:20px;
margin:0;
}
.row{
flex-direction: column;
}
.column{
width:100%;
}
.col2{
margin:0;
}
}
.accordion-item {
background-color: #fff;
color: #111;
margin: 1rem 0;
border-radius: 0.5rem;
box-shadow: 0 2px 5px 0 rgba(0,0,0,0.25);
}
.accordion-item-header:hover{
color:#065446;
}
.accordion-item-header {
padding: 0.5rem 3rem 0.5rem 1rem;
min-height: 3.5rem;
line-height: 1.25rem;
font-weight: bold;
display: flex;
align-items: center;
position: relative;
cursor: pointer;
}
.accordion-item-header::after {
content: "\002B";
font-size: 2rem;
position: absolute;
right: 1rem;
}
.active::after {
content: "\2212";
font-size: 2rem;
position: absolute;
right: 1rem;
}
.accordion-item-body {
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
}
.accordion-item-body-content {
padding: 1rem;
line-height: 1.5rem;
border-top: 1px solid;
border-image: linear-gradient(to right, transparent, #34495e, transparent) 1;
}