8000 Regenerate GitHub CSS · ljonesdesign/github-markdown-css@95f4064 · GitHub
[go: up one dir, main page]

Skip to content

Commit 95f4064

Browse files
committed
Regenerate GitHub CSS
1 parent 4dc9af7 commit 95f4064

File tree

4 files changed

+162
-37
lines changed

4 files changed

+162
-37
lines changed

github-markdown-dark.css

Lines changed: 53 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@
4242
display: list-item;
4343
}
4444

45+
.markdown-body [hidden] {
46+
display: none !important;
47+
}
48+
4549
.markdown-body a {
4650
background-color: transparent;
4751
color: #58a6ff;
@@ -55,7 +59,6 @@
5559

5660
.markdown-body abbr[title] {
5761
border-bottom: none;
58-
-webkit-text-decoration: underline dotted;
5962
text-decoration: underline dotted;
6063
}
6164

@@ -77,7 +80,7 @@
7780
}
7881

7982
.markdown-body mark {
80-
background-color: #ff0;
83+
background-color: rgba(187,128,9,0.15);
8184
color: #c9d1d9;
8285
}
8386

@@ -132,7 +135,16 @@
132135
border: 0;
133136
}
134137

135-
.markdown-body html [type=button],
138+
.markdown-body input {
139+
font: inherit;
140+
margin: 0;
141+
overflow: visible;
142+
font-family: inherit;
143+
font-size: inherit;
144+
line-height: inherit;
145+
}
146+
147+
.markdown-body [type=button],
136148
.markdown-body [type=reset],
137149
.markdown-body [type=submit] {
138150
-webkit-appearance: button;
@@ -322,19 +334,23 @@
322334
word-wrap: normal;
323335
}
324336

325-
.markdown-body :-ms-input-placeholder {
326-
color: #484f58;
327-
opacity: 1;
337+
.markdown-body .octicon {
338+
display: inline-block;
339+
overflow: visible !important;
340+
vertical-align: text-bottom;
341+
fill: currentColor;
328342
}
329343

330-
.markdown-body ::-ms-input-placeholder {
344+
.markdown-body ::placeholder {
331345
color: #484f58;
332346
opacity: 1;
333347
}
334348

335-
.markdown-body ::placeholder {
336-
color: #484f58;
337-
opacity: 1;
349+
.markdown-body input::-webkit-outer-spin-button,
350+
.markdown-body input::-webkit-inner-spin-button {
351+
margin: 0;
352+
-webkit-appearance: none;
353+
appearance: none;
338354
}
339355

340356
.markdown-body .pl-c {
@@ -891,8 +907,33 @@
891907
font-family: monospace;
892908
}
893909

894-
.markdown-body [hidden] {
895-
display: none !important;
910+
.markdown-body .task-list-item {
911+
list-style-type: none;
912+
}
913+
914+
.markdown-body .task-list-item label {
915+
font-weight: 400;
916+
}
917+
918+
.markdown-body .task-list-item.enabled label {
919+
cursor: pointer;
920+
}
921+
922+
.markdown-body .task-list-item+.task-list-item {
923+
margin-top: 3px;
924+
}
925+
926+
.markdown-body .task-list-item .handle {
927+
display: none;
928+
}
929+
930+
.markdown-body .task-list-item-checkbox {
931+
margin: 0 .2em .25em -1.6em;
932+
vertical-align: middle;
933+
}
934+
935+
.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox {
936+
margin: 0 -1.6em .25em .2em;
896937
}
897938

898939
.markdown-body ::-webkit-calendar-picker-indicator {

github-markdown-light.css

Lines changed: 53 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141
display: list-item;
4242
}
4343

44+
.markdown-body [hidden] {
45+
display: none !important;
46+
}
47+
4448
.markdown-body a {
4549
background-color: transparent;
4650
color: #0969da;
@@ -54,7 +58,6 @@
5458

5559
.markdown-body abbr[title] {
5660
border-bottom: none;
57-
-webkit-text-decoration: underline dotted;
5861
text-decoration: underline dotted;
5962
}
6063

@@ -76,7 +79,7 @@
7679
}
7780

7881
.markdown-body mark {
79-
background-color: #ff0;
82+
background-color: #fff8c5;
8083
color: #24292f;
8184
}
8285

@@ -131,7 +134,16 @@
131134
border: 0;
132135
}
133136

134-
.markdown-body html [type=button],
137+
.markdown-body input {
138+
font: inherit;
139+
margin: 0;
140+
overflow: visible;
141+
font-family: inherit;
142+
font-size: inherit;
143+
line-height: inherit;
144+
}
145+
146+
.markdown-body [type=button],
135147
.markdown-body [type=reset],
136148
.markdown-body [type=submit] {
137149
-webkit-appearance: button;
@@ -321,19 +333,23 @@
321333
word-wrap: normal;
322334
}
323335

324-
.markdown-body :-ms-input-placeholder {
325-
color: #6e7781;
326-
opacity: 1;
336+
.markdown-body .octicon {
337+
display: inline-block;
338+
overflow: visible !important;
339+
vertical-align: text-bottom;
340+
fill: currentColor;
327341
}
328342

329-
.markdown-body ::-ms-input-placeholder {
343+
.markdown-body ::placeholder {
330344
color: #6e7781;
331345
opacity: 1;
332346
}
333347

334-
.markdown-body ::placeholder {
335-
color: #6e7781;
336-
opacity: 1;
348+
.markdown-body input::-webkit-outer-spin-button,
349+
.markdown-body input::-webkit-inner-spin-button {
350+
margin: 0;
351+
-webkit-appearance: none;
352+
appearance: none;
337353
}
338354

339355
.markdown-body .pl-c {
@@ -890,8 +906,33 @@
890906
font-family: monospace;
891907
}
892908

893-
.markdown-body [hidden] {
894-
display: none !important;
909+
.markdown-body .task-list-item {
910+
list-style-type: none;
911+
}
912+
913+
.markdown-body .task-list-item label {
914+
font-weight: 400;
915+
}
916+
917+
.markdown-body .task-list-item.enabled label {
918+
cursor: pointer;
919+
}
920+
921+
.markdown-body .task-list-item+.task-list-item {
922+
margin-top: 3px;
923+
}
924+
925+
.markdown-body .task-list-item .handle {
926+
display: none;
927+
}
928+
929+
.markdown-body .task-list-item-checkbox {
930+
margin: 0 .2em .25em -1.6em;
931+
vertical-align: middle;
932+
}
933+
934+
.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox {
935+
margin: 0 -1.6em .25em .2em;
895936
}
896937

897938
.markdown-body ::-webkit-calendar-picker-indicator {

github-markdown.css

Lines changed: 55 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
--color-neutral-muted: rgba(110,118,129,0.4);
4242
--color-accent-fg: #58a6ff;
4343
--color-accent-emphasis: #1f6feb;
44+
--color-attention-subtle: rgba(187,128,9,0.15);
4445
--color-danger-fg: #f85149;
4546
}
4647
}
@@ -88,6 +89,7 @@
8889
--color-neutral-muted: rgba(175,184,193,0.2);
8990
--color-accent-fg: #0969da;
9091
--color-accent-emphasis: #0969da;
92+
--color-attention-subtle: #fff8c5;
9193
--color-danger-fg: #cf222e;
9294
}
9395
}
@@ -135,6 +137,10 @@
135137
display: list-item;
136138
}
137139

140+
.markdown-body [hidden] {
141+
display: none !important;
142+
}
143+
138144
.markdown-body a {
139145
background-color: transparent;
140146
color: var(--color-accent-fg);
@@ -148,7 +154,6 @@
148154

149155
.markdown-body abbr[title] {
150156
border-bottom: none;
151-
-webkit-text-decoration: underline dotted;
152157
text-decoration: underline dotted;
153158
}
154159

@@ -170,7 +175,7 @@
170175
}
171176

172177
.markdown-body mark {
173-
background-color: #ff0;
178+
background-color: var(--color-attention-subtle);
174179
color: var(--color-text-primary);
175180
}
176181

@@ -225,7 +230,16 @@
225230
border: 0;
226231
}
227232

228-
.markdown-body html [type=button],
233+
.markdown-body input {
234+
font: inherit;
235+
margin: 0;
236+
overflow: visible;
237+
font-family: inherit;
238+
font-size: inherit;
239+
line-height: inherit;
240+
}
241+
242+
.markdown-body [type=button],
229243
.markdown-body [type=reset],
230244
.markdown-body [type=submit] {
231245
-webkit-appearance: button;
@@ -415,19 +429,23 @@
415429
word-wrap: normal;
416430
}
417431

418-
.markdown-body :-ms-input-placeholder {
419-
color: var(--color-fg-subtle);
420-
opacity: 1;
432+
.markdown-body .octicon {
433+
display: inline-block;
434+
overflow: visible !important;
435+
vertical-align: text-bottom;
436+
fill: currentColor;
421437
}
422438

423-
.markdown-body ::-ms-input-placeholder {
439+
.markdown-body ::placeholder {
424440
color: var(--color-fg-subtle);
425441
opacity: 1;
426442
}
427443

428-
.markdown-body ::placeholder {
429-
color: var(--color-fg-subtle);
430-
opacity: 1;
444+
.markdown-body input::-webkit-outer-spin-button,
445+
.markdown-body input::-webkit-inner-spin-button {
446+
margin: 0;
447+
-webkit-appearance: none;
448+
appearance: none;
431449
}
432450

433451
.markdown-body .pl-c {
@@ -984,8 +1002,33 @@
9841002
font-family: monospace;
9851003
}
9861004

987-
.markdown-body [hidden] {
988-
display: none !important;
1005+
.markdown-body .task-list-item {
1006+
list-style-type: none;
1007+
}
1008+
1009+
.markdown-body .task-list-item label {
1010+
font-weight: 400;
1011+
}
1012+
1013+
.markdown-body .task-list-item.enabled label {
1014+
cursor: pointer;
1015+
}
1016+
1017+
.markdown-body .task-list-item+.task-list-item {
1018+
margin-top: 3px;
1019+
}
1020+
1021+
.markdown-body .task-list-item .handle {
1022+
display: none;
1023+
}
1024+
1025+
.markdown-body .task-list-item-checkbox {
1026+
margin: 0 .2em .25em -1.6em;
1027+
vertical-align: middle;
1028+
}
1029+
1030+
.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox {
1031+
margin: 0 -1.6em .25em .2em;
9891032
}
9901033

9911034
.markdown-body ::-webkit-calendar-picker-indicator {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@
3232
"stylesheet"
3333
],
3434
"devDependencies": {
35-
"generate-github-markdown-css": "^5.0.0"
35+
"generate-github-markdown-css": "^5.0.1"
3636
}
3737
}

0 commit comments

Comments
 (0)
0