-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
65 lines (52 loc) · 1.01 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
body{
margin: 0;
padding: 0;
font-family: Verdana, Geneva, Tahoma, sans-serif;
background-color: paleturquoise;
}
p{
margin-bottom: 1.25rem;
}
.section-center{
width: 90vw;
margin: 50px auto 0;
max-width: 620px;
}
.question{
background: turquoise;
border-radius: 0.5rem;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
padding: 1.5rem 1.5rem 0 1.5rem;
margin-bottom: 2rem;
}
.question-title{
display: flex;
justify-content: space-between;
align-items: center;
}
.question-title p{
font-weight: bolder;
}
.btn{
background: transparent;
border-color: transparent;
cursor: pointer;
font-size: 1.5rem;
}
.question-text{
padding: 1rem 0 1.5rem 0;
border-top: 1px solid black;
display: none;
}
.minus-icon{
display: none;
}
.show-text .question-text{
display: block;
}
.show-text .minus-icon{
display: inline;
}
.show-text .plus-icon{
display: none;
}