-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.css
102 lines (86 loc) · 1.25 KB
/
README.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
html {
color: #eee;
background: rgb(43, 43, 49);
scroll-behavior: smooth;
scroll-padding: 50px 0;
}
body {
max-width: 800px;
margin: 0 auto;
font-size: 18px;
line-height: 1.5;
}
h1,
h2,
h3,
h4,
h5,
h6 {
border-bottom: 1px solid #eee;
position: relative;
margin-bottom: 12px;
}
h1 {
margin-top: 32px;
}
h2 {
margin-top: 24px;
}
h3 {
margin-top: 16px;
}
.heading-link {
position: absolute;
right: 100%;
top: 0;
width: 2rem;
opacity: 0;
}
.heading-link:before {
position: absolute;
left: -50%;
right: -50%;
top: -50%;
bottom: -50%;
content: " ";
}
h1:hover .heading-link,
h2:hover .heading-link,
h3:hover .heading-link,
h4:hover .heading-link,
h5:hover .heading-link,
h6:hover .heading-link {
opacity: 1;
}
a {
color: rgb(0, 225, 255);
}
.vscode-light pre {
background: rgb(0, 0, 0);
page-break-inside: avoid;
}
pre code {
background: transparent;
padding: 0;
}
code {
background: rgb(29, 28, 28);
padding: 0.2rem;
}
li {
margin-bottom: 0.75rem;
}
li ul {
margin-top: 0.75rem;
}
ul,
ol {
page-break-inside: avoid;
}
h1 {
page-break-before: right;
}
h2,
h1 {
page-break-after: avoid;
}