-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathmain.css
More file actions
101 lines (82 loc) · 1.42 KB
/
main.css
File metadata and controls
101 lines (82 loc) · 1.42 KB
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
body {
color: #333;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 18px;
}
main h1 {
color: #80bd01;
}
a {
color: #80bd01;
font-weight: bold;
transition: all 200ms ease-out;
}
a:hover {
color: #4d7000;
font-weight: bold;
}
.top-links {
text-align: right;
}
.top-links ul {
margin: 2rem 0;
}
.top-links li {
list-style: none;
display: inline-block;
}
.sidebar {
margin: 2rem;
}
.main-content {
margin: 2rem;
}
.logo {
font-size: 22px;
margin: 2rem 0;
}
.logo a {
color: #888;
}
.logo a:hover {
color: #80bd01;
}
.sidebar li {
list-style: none;
}
.sidebar a {
color: #888;
font-weight: normal;
position: relative;
transition: opacity 0.5s ease-out, padding 0.5s cubic-bezier(0, 1, 0.5, 1);
}
.sidebar a.current {
color: #80bd01;
opacity: 1 !important;
}
.sidebar .completed a {
opacity: 0.5;
padding-left: 20px;
transition: opacity 0.5s ease-out;
}
.sidebar a:before {
content: "✔️";
color: #80bd01;
left: 0;
position: absolute;
transform: scale(0) translateX(-40px);
transition: transform 0.5s cubic-bezier(0.5, -0.5, 0.5, 1.5);
}
.sidebar .completed a:before {
transform: scale(1);
}
.sidebar a:hover {
color: #80bd01;
opacity: 1;
}
.completed-button.completed {
background-color: #fff;
border-color: #80bd01;
color: #333;
}