-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
140 lines (134 loc) · 2.53 KB
/
style.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
body, html {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
overflow: hidden;
}
#container {
width: 100%;
height: 100%;
background-image: linear-gradient(hsl(273, 75%, 66%), hsl(240, 73%, 65%));
display: flex;
flex-direction: column;
justify-content: space-evenly;
}
#accordian {
width: 1000px;
height: 600px;
background-color: white;
border-radius: 25px;
margin: 0 auto;
position: relative;
overflow: hidden;
}
#imgContainer {
width: 50%;
height: 100%;
position: absolute;
left: 0;
top: 0;
background-image: url('images/bg-pattern-desktop.svg');
background-size: 957px 1010px;
background-position: -565px -330px;
background-repeat: no-repeat;
}
#FAQContainer {
width: 50%;
height: 100%;
position: absolute;
right: 0;
top: 0;
font-family: 'Kumbh Sans', sans-serif;
padding-top: 50px;
}
#FAQContainer p {
color: hsl(240, 6%, 50%);
font-size: 18px;
}
#FAQContainer h1 {
color: hsl(238, 29%, 16%);
}
#imgContainer img {
position: absolute;
left: -110px;
top: 63px;
width: 500px;
}
.selection {
margin-right: 100px;
border-bottom: 1px solid hsl(240, 5%, 91%);
cursor: pointer;
}
.selection img {
float: right;
margin-top: 20px;
}
.description {
margin: 5px 0;
line-height: 24px;
animation: height 2s;
overflow: hidden;
}
.gone {
height: 0px;
margin: 0;
}
.option {
display: inline-block;
}
.active {
color: hsl(240, 37%, 45%);
font-weight: 700;
}
@media only screen and (max-width: 375px) {
#accordian {
width: 90%;
overflow: visible;
height: 75%;
}
#FAQContainer {
width: 90%;
height: inherit;
padding: 5%;
overflow: visible;
margin-top: 80px;
overflow-x: hidden;
overflow-y: scroll;
}
}
@media only screen and (max-width: 375px) {
.selection {
margin: 0 auto;
}
#FAQContainer h1 {
text-align: center;
}
#FAQContainer p {
font-size: 15px;
}
.option {
padding: 20px 0;
margin: 0;
font-size: 16px;
}
#imgContainer {
width: 100%;
left: 0;
right: 0;
background-size: 230px 250px;
background-position: 50px -150px;
}
#imgContainer img {
position: absolute;
top: -100px;
left: 0;
right: 0;
margin: 0 auto;
width: 230px;
}
#accordian {
position: relative;
top: 50px;
}
}