blob: e51490947c67649b6556ff5351f329f6a165c0ce (
plain) (
blame)
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
|
/*
Separator
*/
/* Content */
li:first-child:after {
content: '|';
/*content: '\000BB';*/ /* For ยป arrows */
}
/* Hover effects */
ul:hover li:first-child:after {
font-weight: bolder;
}
/*
Colors
*/
/* Heading */
h1 {
color: #ffe28a;
}
/* Categories */
ul:nth-child(1) {
color: #ffbe4f;
}
ul:nth-child(2) {
color: #6bd2db;
}
ul:nth-child(3) {
color: #ebdada;
}
ul:nth-child(4) {
color: #e8702a;
}
ul:nth-child(5) {
color: #9ed670;
}
/*
For longest category name
*/
li:first-child {
width: 4em;
}
/*
Actual code
*/
body {
font-family: 'Ubuntu Mono', sans-serif;
background-color: #2a2a2a;
margin: 0;
}
h1 {
font-size: 8em;
margin: 0;
text-align: center;
}
a {
color: inherit;
text-decoration: none;
}
li {
color: white;
display: inline-block;
position: relative;
font-size: 2em;
letter-spacing: normal;
}
li:hover, li:first-child {
color: inherit;
}
li:first-child:after {
position: absolute;
right: 0;
}
li:first-child, h1 {
pointer-events: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
li:nth-child(2) {
margin-left: .25em;
}
li:not(:first-child) + li:before {
content: '|';
margin-left: .25em;
margin-right: .25em;
color: white;
}
div {
letter-spacing: -1em;
}
|