-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
163 lines (143 loc) · 4.39 KB
/
styles.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
body, html {
margin: 0px;
padding:0px;
width: 100%;
height: 100%;
background-color: #f7f8fd;
font-family: 'Poppins', sans-serif;
font-size: 18px;
font-weight: 300;
scroll-behavior: smooth;
}
body {
display: flex;
justify-content: normal;
align-items: normal;
align-content: normal;
}
*:focus {
outline: none;
}
* {
box-sizing: border-box;
}
#main {
max-width: 725;
width: 725px;
display: block;
margin:100px auto 20px auto;
}
.content {
width: auto;
padding: 60px;
background-color: #fff;
border-radius: 15px;
min-height: 200px;
margin: 10px;
-webkit-box-shadow: 0px 13px 15px 5px rgba(233,234,242,0.56);
box-shadow: 0px 13px 15px 5px rgba(233,234,242,0.56);
}
h1 {
font-size: 24px;
font-weight: 500;
text-align: center;
}
h2 {
font-size: 14px;
text-align: center;
max-width: 70%;
margin: auto;
line-height: 26px;
margin-top: 20px;
color: #262626;
}
.question {
padding: 10px;
background: white;
transition: all 0.5s ease;
font-size: 14px;
}
.question + .question {
border-top: 2px solid #efeffb;
}
.question .faqAnswer {
display: none;
padding: 20px 10px;
line-height: 28px;
color: rgb(88, 88, 88);
font-size: 14px;
font-weight: 400;
}
h4 {
border-radius: 6px;
margin: 0px;
padding: 10px;
padding-right: 30px;
color: black;
font-weight: 300;
font-size: 18px;
cursor: pointer;
transition: all .3s ease;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23000000' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cline x1='12' y1='5' x2='12' y2='19' /%3E%3Cline x1='5' y1='12' x2='19' y2='12' /%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right;
}
h4:hover {
color: #9797cf;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' stroke-width='1.5' stroke='%239797cf' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cline x1='12' y1='5' x2='12' y2='19' /%3E%3Cline x1='5' y1='12' x2='19' y2='12' /%3E%3C/svg%3E");
}
h4.open {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-minus' width='24' height='24' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23000000' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cline x1='5' y1='12' x2='19' y2='12' /%3E%3C/svg%3E");
}
button {
display: block;
margin-top: 20px;
padding: 10px 30px;
border-radius: 25px;
border: 2px solid #dbdbec;
color: black;
font-size: 16px;
cursor: pointer;
font-weight: 500;
transition: all .3s ease;
}
button:hover {
background-color: #dbdbec;
color: #5a5a80;
}
.hidden {
display: none;
}
@media only screen and (max-width: 560px) {
.content {
padding: 20px;
}
}
details {
border-bottom: 2px solid #CCC;
padding-bottom: 10px;
padding-top: 10px;
}
summary {
list-style-type: none;
display: block;
padding: 10px;
cursor: pointer;
margin: 0px;
}
details p {
padding: 10px;
margin: 0px;
}
summary {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23000000' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cline x1='12' y1='5' x2='12' y2='19' /%3E%3Cline x1='5' y1='12' x2='19' y2='12' /%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: top 10px right;
padding-right: 30px;
display: block;
transition: all .3s ease;
}
summary:hover {
color: #9797cf;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' stroke-width='1.5' stroke='%239797cf' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cline x1='12' y1='5' x2='12' y2='19' /%3E%3Cline x1='5' y1='12' x2='19' y2='12' /%3E%3C/svg%3E");
}