Skip to content

Commit f2dc5d9

Browse files
committedNov 28, 2024
Regenerate GitHub CSS
1 parent 9ab210a commit f2dc5d9

4 files changed

+16
-94
lines changed
 

‎github-markdown-dark.css

+5-31
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,13 @@
33
color-scheme: dark;
44
-ms-text-size-adjust: 100%;
55
-webkit-text-size-adjust: 100%;
6+
margin: 0;
67
color: #f0f6fc;
78
background-color: #0d1117;
89
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
910
font-size: 16px;
10-
word-wrap: break-word;
11-
margin: 0;
12-
min-height: 100vh;
1311
line-height: 1.5;
14-
scroll-behavior: smooth;
12+
word-wrap: break-word;
1513
}
1614

1715
.markdown-body .octicon {
@@ -134,12 +132,12 @@
134132
}
135133

136134
.markdown-body input {
135+
font: inherit;
137136
margin: 0;
138137
overflow: visible;
139138
font-family: inherit;
140139
font-size: inherit;
141140
line-height: inherit;
142-
font: inherit;
143141
}
144142

145143
.markdown-body [type=button],
@@ -1101,31 +1099,7 @@
11011099
margin-top: 0 !important;
11021100
}
11031101

1104-
.markdown-body ul[role='list'],
1105-
.markdown-body ol[role='list'] {
1106-
list-style: none;
1107-
}
1108-
1109-
.markdown-body html[focus-within] {
1110-
scroll-behavior: smooth;
1111-
}
1112-
1113-
.markdown-body html:focus-within {
1114-
scroll-behavior: smooth;
1115-
}
1116-
1117-
.markdown-body a:not([class]) {
1118-
-webkit-text-decoration-skip: ink;
1119-
text-decoration-skip-ink: auto;
1120-
}
1121-
1122-
.markdown-body img,
1123-
.markdown-body picture {
1124-
max-width: 100%;
1125-
display: block;
1126-
}
1127-
1128-
.markdown-body [class^=Primer_Brand__Link-module__Link___]::after {
1129-
width: calc(100% - 20px);
1102+
.markdown-body .highlight pre:has(+.zeroclipboard-container) {
1103+
min-height: 52px;
11301104
}
11311105

‎github-markdown-light.css

+5-31
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,13 @@
33
color-scheme: light;
44
-ms-text-size-adjust: 100%;
55
-webkit-text-size-adjust: 100%;
6+
margin: 0;
67
color: #1f2328;
78
background-color: #ffffff;
89
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
910
font-size: 16px;
10-
word-wrap: break-word;
11-
margin: 0;
12-
min-height: 100vh;
1311
line-height: 1.5;
14-
scroll-behavior: smooth;
12+
word-wrap: break-word;
1513
}
1614

1715
.markdown-body .octicon {
@@ -134,12 +132,12 @@
134132
}
135133

136134
.markdown-body input {
135+
font: inherit;
137136
margin: 0;
138137
overflow: visible;
139138
font-family: inherit;
140139
font-size: inherit;
141140
line-height: inherit;
142-
font: inherit;
143141
}
144142

145143
.markdown-body [type=button],
@@ -1101,31 +1099,7 @@
11011099
margin-top: 0 !important;
11021100
}
11031101

1104-
.markdown-body ul[role='list'],
1105-
.markdown-body ol[role='list'] {
1106-
list-style: none;
1107-
}
1108-
1109-
.markdown-body html[focus-within] {
1110-
scroll-behavior: smooth;
1111-
}
1112-
1113-
.markdown-body html:focus-within {
1114-
scroll-behavior: smooth;
1115-
}
1116-
1117-
.markdown-body a:not([class]) {
1118-
-webkit-text-decoration-skip: ink;
1119-
text-decoration-skip-ink: auto;
1120-
}
1121-
1122-
.markdown-body img,
1123-
.markdown-body picture {
1124-
max-width: 100%;
1125-
display: block;
1126-
}
1127-
1128-
.markdown-body [class^=Primer_Brand__Link-module__Link___]::after {
1129-
width: calc(100% - 20px);
1102+
.markdown-body .highlight pre:has(+.zeroclipboard-container) {
1103+
min-height: 52px;
11301104
}
11311105

‎github-markdown.css

+5-31
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,13 @@
126126
.markdown-body {
127127
-ms-text-size-adjust: 100%;
128128
-webkit-text-size-adjust: 100%;
129+
margin: 0;
129130
color: var(--fgColor-default);
130131
background-color: var(--bgColor-default);
131132
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
132133
font-size: 16px;
133-
word-wrap: break-word;
134-
margin: 0;
135-
min-height: 100vh;
136134
line-height: 1.5;
137-
scroll-behavior: smooth;
135+
word-wrap: break-word;
138136
}
139137

140138
.markdown-body .octicon {
@@ -257,12 +255,12 @@
257255
}
258256

259257
.markdown-body input {
258+
font: inherit;
260259
margin: 0;
261260
overflow: visible;
262261
font-family: inherit;
263262
font-size: inherit;
264263
line-height: inherit;
265-
font: inherit;
266264
}
267265

268266
.markdown-body [type=button],
@@ -1224,31 +1222,7 @@
12241222
margin-top: 0 !important;
12251223
}
12261224

1227-
.markdown-body ul[role='list'],
1228-
.markdown-body ol[role='list'] {
1229-
list-style: none;
1230-
}
1231-
1232-
.markdown-body html[focus-within] {
1233-
scroll-behavior: smooth;
1234-
}
1235-
1236-
.markdown-body html:focus-within {
1237-
scroll-behavior: smooth;
1238-
}
1239-
1240-
.markdown-body a:not([class]) {
1241-
-webkit-text-decoration-skip: ink;
1242-
text-decoration-skip-ink: auto;
1243-
}
1244-
1245-
.markdown-body img,
1246-
.markdown-body picture {
1247-
max-width: 100%;
1248-
display: block;
1249-
}
1250-
1251-
.markdown-body [class^=Primer_Brand__Link-module__Link___]::after {
1252-
width: calc(100% - 20px);
1225+
.markdown-body .highlight pre:has(+.zeroclipboard-container) {
1226+
min-height: 52px;
12531227
}
12541228

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@
3535
"stylesheet"
3636
],
3737
"devDependencies": {
38-
"generate-github-markdown-css": "^6.5.0"
38+
"generate-github-markdown-css": "^6.5.1"
3939
}
4040
}

0 commit comments

Comments
 (0)
Please sign in to comment.