-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
61 lines (52 loc) · 941 Bytes
/
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
body{
padding: 10vw 20vw;
font-family: 'Montserrat', sans-serif;
}
main{
width: 60vw;
}
h1{
font-size: 200%;
display: block;
font-weight: 700;
font-style: italic;
color: white;
flex: 1;
}
p{
margin: 1.5em;
}
img{
width: 3em;
height: 3em;
transition: transform ease .5s
}
.contentWrapper{
margin: 0;
border: 2px solid rgba(0, 0, 0, 0.11);
max-height: 0;
transition: all ease .5s;
overflow-y: hidden;
}
.visible{
max-height: 15em
}
.headingWrapper{
display: flex;
align-items: center;
height: 6em;
padding: 1em;
margin: .1em 0 0 0;
background-color: rgb(158, 56, 176);
border-bottom: .2em solid rgb(111, 39, 125);
user-select: none;
cursor: pointer;
transition: all ease .5s;
}
.open{
background-color: rgb(104, 68, 183);
border-bottom: .2em solid rgb(76, 49, 133);
}
.open img{
transform: rotate(180deg)
}