forked from yashrasniya/URJAA-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFaq.module.css
86 lines (74 loc) · 1.26 KB
/
Faq.module.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
.faqSection {
flex-basis: 70%;
}
.heading {
text-align: center;
font-size: 3rem;
color: #fff;
font-weight: 600;
}
.heading:after {
content: "";
display: block;
width: 15%;
margin: 3px auto;
height: 3.5px;
background-image: linear-gradient(90deg, #09b35c 2.27%, #32b4ed 97.67%);
}
.faq {
border-radius: 8px;
padding: 1.2rem;
color: #fff;
max-height: 40rem;
overflow: auto;
}
.faq::-webkit-scrollbar {
width: 4px;
}
.faq::-webkit-scrollbar-thumb {
background: rgba(97, 93, 93, 0.507);
}
.single {
width: 50rem;
position: relative;
display: block;
padding: 1.5rem 0.9rem;
background: rgba(0, 0, 0, 0.541);
border-radius: 9px;
transition: all 0.2s ease;
cursor: pointer;
}
.single:not(:last-child) {
margin-bottom: 0.9rem;
}
.question {
font-size: 1.9rem;
transition: all 0.2s ease;
}
.answer {
font-size: 1.4rem;
max-height: 100px;
transition: max-height 0.5s;
color: #f2f2f2;
padding: 1.8rem 0 0 0;
letter-spacing: 0.3rem;
opacity: 80%;
}
.noAnswer {
max-height: 0;
transition: max-height 0.5s;
overflow: hidden;
opacity: 80%;
}
.btn {
position: absolute;
font-size: 2.8rem;
top: 6px;
right: 1rem;
cursor: pointer;
}
@media screen and (max-width: 768px) {
.single {
width: 40rem;
}
}