forked from ankit071105/Ticket-Booking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfaq.css
116 lines (100 loc) · 1.83 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
.faq-section {
max-width: 760px;
margin: 0 auto;
color: #1fb899;
}
header {
margin-bottom: 70px;
color: #1fb899;
}
.down-arrow{
color: black;
}
.down-arrow:hover{
color: #1fb899;
}
header > h3 {
font-size: 22px;
color: black;
}
header > h3:hover{
color: #1fb899;
}
h2 {
font-size: 52px;
margin-top: 40px;
color: black;
margin-bottom: 20px;
font-weight: bold;
}
h2:hover{
color: #1fb899
}
details {
cursor: pointer;
color: black;
width: 100%;
}
summary:focus-visible {
outline: 2px solid orange;
outline-offset: 8px;
border-radius: 4px;
color: #1fb899;
}
h4 {
/* width: 100%; */
color: black;
flex-grow: 1;
margin: 0;
}
h4:hover{
color: #1fb899
}
summary {
font-size: 20px;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 25px;
color: #1fb899;
width: 100%;
}
summary::marker {
display: none;
content: "";
color: #1fb899;
}
span {
/* margin-top: 4px; */
margin-left: 10px;
flex-shrink: 0;
color: #1fb899;
}
details > p {
max-width: 100%;
font-size: 18px;
line-height: 155%;
letter-spacing: .1px;
margin-bottom: 40px;
padding-left: 10px;
color: #1fb899;
}
hr {
border: 1px solid #404E5C;
margin-block-end: 30px;
color: #1fb899;
}
/* Code to make the hidden text under the details-summary faq come out with a little animation */
details[open] p {
display: block;
height: auto;
opacity: 1;
transition: height 0.5s ease, opacity 0.5s ease; /
}
details p {
display: block;
height: 0;
overflow: hidden;
opacity: 0;
transition: height 0.5s ease, opacity 0.5s ease;
}