-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
85 lines (75 loc) · 1.24 KB
/
index.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
* {
box-sizing: border-box;
}
html {
margin: 0;
padding: 1rem;
width: 100%;
height: 100%;
}
body {
margin: 0 auto;
max-width: 40rem;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #333;
/* line-height: 1.2; */
}
section {
margin: 2.5rem 0;
}
ol {
column-count: 2;
list-style: none;
padding: 0;
}
ol li {
position: relative;
counter-increment: step-counter;
padding-left: 2rem;
break-inside: avoid;
}
ol li:before {
content: counter(step-counter);
color: #ccc;
font-size: smaller;
position: absolute;
left: 0;
top: 0.15rem;
padding-right: 0.5rem;
width: 1.3rem;
display: block;
text-align: right;
}
ol li:hover:before {
color: #333;
}
footer {
font-size: smaller;
color: #999;
font-style: italic;
}
a {
color: #ff0083;
font-weight: bold;
text-decoration: none;
padding: 0 1px;
margin: 0 -1px;
border-radius: 2px;
}
a:visited {
color: #ff72bb;
}
a:hover {
color: white;
background-color: #ff0083;
}
section:last-of-type ol {
column-count: 1;
}
li span.date {
color: #999;
font-size: smaller;
display: block;
margin-bottom: 0.33rem;
white-space: nowrap;
}