Repository navigation
Expand file tree
/
Copy pathfaq.css
More file actions
120 lines (118 loc) · 2.27 KB
/
Copy pathfaq.css
File metadata and controls
120 lines (118 loc) · 2.27 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
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
body {
min-height:100%;
margin-bottom:300px;
}
/*CSS for the accordion*/
.faq_gradient {
position:absolute;
top:0;
height:900px;
width:100%;
}
.faq_title {
color:white;
font-size:50px;
position:relative;
top:50px;
text-align:center;
font-weight:bold;
text-decoration:underline;
text-underline-position: under;
text-align:left;
margin-left:60px;
}
.accordion_container {
position:relative;
top:80px;
display:block;
width: 80vw;
margin:0 auto;
}
.accordion {
background-color: Transparent;
cursor: pointer;
border: none;
outline: none;
transition: 0.4s;
line-height: 42px;
background: #333333;
border: 2px solid #333333;
border-radius:25px;
width: 80vw;
}
/*When the accordion is hovered on*/
.accordion:hover {
background-color: #FFFFFF;
color:black;
}
/*When the accordion is opened*/
.active {
background-color: #333333;
color:white;
border-bottom-left-radius:0px;
border-bottom-right-radius:0px;
}
/*The plus and minus sign*/
.accordion:after {
content: '\002B';
color: #777;
font-weight: bold;
float: right;
margin-left: 5px;
transition: 0.2s;
}
/*If removed, the minus sign is gone, when the user clicks on the accordion, the "plus" sign is replaced with a "minus" sign.*/
.active:after {
transform: rotate(45deg);
transition: 0.25s;
}
.accordion_text {
text-align: left;
font-size: 25px;
color: white;
padding:18px;
}
/*The thing that shows up when accordion is on*/
.inside_accordion {
position:relative;
background-color: #333333;
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
transition: 0.4s;
border-bottom-left-radius:25px;
border-bottom-right-radius:25px;
background: #333333;
margin-bottom:30px;
}
.faq_links {
color:#00aeef;
text-decoration:underline;
}
.faq_links:hover {
color:#0e9dec;
text-decoration:none;
}
@media only screen and (max-width: 1050px) {
.accordion_text {
font-size: 22px;
}
.faq_title {
font-size:40px;
top:70px;
}
}
@media only screen and (max-width: 1050px) {
.accordion_text {
font-size: 18px;
}
}
@media only screen and (max-width: 1050px) {
.accordion_text {
font-size: 17px;
}
.faq_title {
font-size:35px;
top:70px;
}
}