-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle_dark.css
140 lines (120 loc) · 2.22 KB
/
style_dark.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
132
133
134
135
136
137
138
139
140
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
line-height: 1.6;
margin: 0 auto;
max-width: 800px;
padding: 20px;
color: white;
background-color: #1e1e1e;
}
h1, h2, h3 {
color: white;
font-weight: 600;
}
pre {
background: #2d2d2d;
padding: 10px;
border-radius: 5px;
overflow: auto;
position: relative;
color: #f8f8f2;
margin: 0;
}
code {
background: #2d2d2d;
padding: 2px 5px;
border-radius: 3px;
}
a {
color: #58a6ff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
ul, ol {
padding-left: 20px;
}
blockquote {
border-left: 4px solid #58a6ff;
padding-left: 10px;
color: #8b949e;
}
footer {
text-align: center;
padding: 20px;
font-size: 0.7em;
color: #8b949e;
border-top: 1px solid #30363d;
}
footer a {
color: #58a6ff;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
.copy-button {
background: none;
border: none;
cursor: pointer;
margin-left: 10px;
color: white;
}
.copy-button svg {
fill: white;
}
.code-header {
display: flex;
justify-content: space-between;
align-items: center;
background: #2d2d2d;
padding: 5px 10px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
.language-label {
font-weight: bold;
font-size: 0.9em;
color: #f8f8f2;
}
img {
display: block;
margin: 0 auto;
max-width: 100%;
height: auto;
}
figcaption {
text-align: center;
font-size: 0.9em;
color: #8b949e;
}
code[class*="language-"], pre[class*="language-"] {
color: #f8f8f2;
background: none;
text-shadow: 0 1px black;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
font-size: 1em;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
tab-size: 4;
hyphens: none;
}
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 1em;
}
th, td {
border: 1px solid #30363d;
padding: 8px;
text-align: left;
}
th {
background-color: #2d2d2d;
font-weight: bold;
}