-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.scss
91 lines (80 loc) · 1.41 KB
/
main.scss
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
---
---
* {
font-family: Roboto;
color: #000;
font-weight: normal;
text-decoration: none;
margin: 0;
padding: 0;
}
body {
text-align: center;
background-color: #fafafa;
.wrap {
width: 90%;
max-width: 60em;
display: inline-block;
text-align: left;
p {
font-size: 1.3em;
}
}
}
h1 {
font-weight: 900;
padding-top: .5em;
padding-bottom: .2em;
font-size: 3em;
}
a {
color: #259ef5;
font-weight: 700;
&:hover {
color: #1f85cf;
}
}
label {
cursor: pointer;
}
li {
list-style: none;
h2 {
font-weight: 800;
display: inline-block;
font-size: 1.75em;
// height: 2em;
}
.subtitle {
display: inline-block;
font-size: .75em;
height: 2em;
width: 50em;
overflow-y: hidden;
overflow-x: hidden;
text-align: bottom;
p {
display: inline;
font-size: 1.75em;
opacity: .75;
}
}
.label:before {
content: 'More Info ▼';
}
input:checked + .label:before {
content: 'More Info ▲';
}
input {
display: none;
}
.desc {
display: none;
}
input:checked ~ .desc {
display: block;
}
input:checked ~ label > .subtitle {
display: none;
}
}