-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
60 lines (50 loc) · 798 Bytes
/
styles.css
File metadata and controls
60 lines (50 loc) · 798 Bytes
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
body {
margin: 0;
box-sizing: border-box;
}
.container {
margin: 0 auto;
width: 70%;
}
.section {
margin: 120px 0;
}
.result {
margin: 20px 0;
padding: 5px;
height: 15px;
width: 182px;
border: 1px solid black;
}
.spoiler {
width: 50%;
}
.spoiler--active .spoiler__drop {
height: auto;
opacity: 1;
padding-top: 15px;
}
.spoiler--active .spoiler__drop code {
opacity: 1;
}
.spoiler__button {
background-color: #f1f1f1;
padding: 10px;
border-radius: 5px;
border: 1px solid #000;
cursor: pointer;
}
.spoiler__drop {
margin-top: -5px;
padding: 0 10px 10px;
border: 1px solid #000;
border-top: none;
border-radius: 0 0 5px 5px;
background-color: #ebebeb17;
height: 0;
opacity: 0;
transition: .5s;
}
.spoiler__drop code {
opacity: 0;
}