-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
131 lines (108 loc) · 1.69 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
body {
margin: 0;
font-family: monospace;
}
header {
text-align: center;
box-shadow: 0 0 8px 4px rgba(0,0,0,.1);
padding: 32px;
}
header h1 {
margin: 0;
}
section {
max-width: 640px;
margin: 0 auto;
}
nav {
position: fixed;
height: 100vh;
top: 0;
margin: auto 0;
width: 64px;
font-size: 32px;
background-color: rgba(0,0,0,.7);
}
.icon-list {
list-style: none;
padding: 0px;
position: absolute;
top: 50%;
transform: translateY(-50%);
}
.icon {
padding: 8px;
transition: all .2s;
}
.icon-norm {
color: lightsteelblue;
}
.icon-current {
color: darkseagreen;
}
.icon:hover {
cursor: pointer;
color: white;
transform: scale(1.1);
padding-left: 16px;
}
.example-code {
margin: 0;
}
.indent {
margin: 0 0 0 16px;
}
#previous-example {
filter: grayscale(1) opacity(25%);
}
button {
display: block;
margin: 32px auto;
color: white;
width: 48px;
height: 48px;
border-radius: 50%;
font-size: 32px;
transition: transform .2s;
outline: none;
}
button:hover {
transform: scale(1.1);
cursor: pointer;
}
button:disabled {
filter: grayscale(1) opacity(5%);
}
#btn-back {
background-color: steelblue;
}
#btn-next {
background-color: mediumseagreen;
line-height: 48px;
}
#question {
text-align: center;
margin: 64px 0 8px 0;
color: steelblue;
}
#function-title {
text-align: center;
font-size: 32px;
color: steelblue;
}
#example-box, #previous-example, .code {
background-color: #EEE;
padding: 16px;
border-radius: 4px;
border: 1px solid #DDD;
}
.example-title {
margin: 0 0 8px 0;
text-align: center;
font-weight: bold;
border-bottom: 1px solid #DDD;
padding-bottom: 4px;
}
.comment {
color: #BBB;
}