-
Notifications
You must be signed in to change notification settings - Fork 1
/
page4.css
112 lines (107 loc) · 1.85 KB
/
page4.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Poppins", sans-serif;
}
header {
height: 100px;
display: flex;
justify-content: space-around;
align-items: center;
}
header div {
font-size: x-large;
}
ul {
display: flex;
list-style-type: none;
}
ul li a {
padding: 0 20px;
text-decoration: none;
color: #2a7f62;
display: inline-block;
}
li a::after {
content: "";
display: block;
height: 4px;
width: 0;
background: #538083;
transition: all 0.5s;
}
li a:hover::after {
width: 100%;
}
h1 {
text-align: center;
margin-top: 80px;
}
h4 {
font-size: 3rem;
color: #2a7f62;
font-family: "Abril Fatface", cursive;
font-weight: 700;
}
a {
text-decoration: none;
color: #2a7f62;
}
.faq-heading {
border-bottom: #777;
padding: 20px 60px;
}
.faq-container {
display: flex;
justify-content: center;
flex-direction: column;
}
.hr-line {
width: 60%;
margin: auto;
}
/* Style the buttons that are used to open and close the faq-page body */
.faq-page {
/* background-color: #eee; */
color: #444;
cursor: pointer;
padding: 30px 20px;
width: 60%;
border: none;
outline: none;
transition: 0.4s;
margin: auto;
}
.faq-body {
margin: auto;
/* text-align: center; */
width: 50%;
padding: auto;
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active,
.faq-page:hover {
background-color: #f9f9f9;
}
/* Style the faq-page panel. Note: hidden by default */
.faq-body {
padding: 0 18px;
background-color: white;
display: none;
overflow: hidden;
}
.faq-page:after {
content: "\02795";
/* Unicode character for "plus" sign (+) */
font-size: 13px;
color: #777;
float: right;
margin-left: 5px;
}
.active:after {
content: "\2796";
/* Unicode character for "minus" sign (-) */
}