Regenerate GitHub CSS

This commit is contained in:
Sindre Sorhus 2021-12-06 01:56:15 +01:00
parent 4dc9af74a5
commit 95f4064ac3
4 changed files with 165 additions and 40 deletions

View File

@ -42,6 +42,10 @@
display: list-item; display: list-item;
} }
.markdown-body [hidden] {
display: none !important;
}
.markdown-body a { .markdown-body a {
background-color: transparent; background-color: transparent;
color: #58a6ff; color: #58a6ff;
@ -55,7 +59,6 @@
.markdown-body abbr[title] { .markdown-body abbr[title] {
border-bottom: none; border-bottom: none;
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted; text-decoration: underline dotted;
} }
@ -77,7 +80,7 @@
} }
.markdown-body mark { .markdown-body mark {
background-color: #ff0; background-color: rgba(187,128,9,0.15);
color: #c9d1d9; color: #c9d1d9;
} }
@ -132,7 +135,16 @@
border: 0; border: 0;
} }
.markdown-body html [type=button], .markdown-body input {
font: inherit;
margin: 0;
overflow: visible;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
.markdown-body [type=button],
.markdown-body [type=reset], .markdown-body [type=reset],
.markdown-body [type=submit] { .markdown-body [type=submit] {
-webkit-appearance: button; -webkit-appearance: button;
@ -322,14 +334,11 @@
word-wrap: normal; word-wrap: normal;
} }
.markdown-body :-ms-input-placeholder { .markdown-body .octicon {
color: #484f58; display: inline-block;
opacity: 1; overflow: visible !important;
} vertical-align: text-bottom;
fill: currentColor;
.markdown-body ::-ms-input-placeholder {
color: #484f58;
opacity: 1;
} }
.markdown-body ::placeholder { .markdown-body ::placeholder {
@ -337,6 +346,13 @@
opacity: 1; opacity: 1;
} }
.markdown-body input::-webkit-outer-spin-button,
.markdown-body input::-webkit-inner-spin-button {
margin: 0;
-webkit-appearance: none;
appearance: none;
}
.markdown-body .pl-c { .markdown-body .pl-c {
color: #8b949e; color: #8b949e;
} }
@ -891,8 +907,33 @@
font-family: monospace; font-family: monospace;
} }
.markdown-body [hidden] { .markdown-body .task-list-item {
display: none !important; list-style-type: none;
}
.markdown-body .task-list-item label {
font-weight: 400;
}
.markdown-body .task-list-item.enabled label {
cursor: pointer;
}
.markdown-body .task-list-item+.task-list-item {
margin-top: 3px;
}
.markdown-body .task-list-item .handle {
display: none;
}
.markdown-body .task-list-item-checkbox {
margin: 0 .2em .25em -1.6em;
vertical-align: middle;
}
.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox {
margin: 0 -1.6em .25em .2em;
} }
.markdown-body ::-webkit-calendar-picker-indicator { .markdown-body ::-webkit-calendar-picker-indicator {

View File

@ -41,6 +41,10 @@
display: list-item; display: list-item;
} }
.markdown-body [hidden] {
display: none !important;
}
.markdown-body a { .markdown-body a {
background-color: transparent; background-color: transparent;
color: #0969da; color: #0969da;
@ -54,7 +58,6 @@
.markdown-body abbr[title] { .markdown-body abbr[title] {
border-bottom: none; border-bottom: none;
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted; text-decoration: underline dotted;
} }
@ -76,7 +79,7 @@
} }
.markdown-body mark { .markdown-body mark {
background-color: #ff0; background-color: #fff8c5;
color: #24292f; color: #24292f;
} }
@ -131,7 +134,16 @@
border: 0; border: 0;
} }
.markdown-body html [type=button], .markdown-body input {
font: inherit;
margin: 0;
overflow: visible;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
.markdown-body [type=button],
.markdown-body [type=reset], .markdown-body [type=reset],
.markdown-body [type=submit] { .markdown-body [type=submit] {
-webkit-appearance: button; -webkit-appearance: button;
@ -321,14 +333,11 @@
word-wrap: normal; word-wrap: normal;
} }
.markdown-body :-ms-input-placeholder { .markdown-body .octicon {
color: #6e7781; display: inline-block;
opacity: 1; overflow: visible !important;
} vertical-align: text-bottom;
fill: currentColor;
.markdown-body ::-ms-input-placeholder {
color: #6e7781;
opacity: 1;
} }
.markdown-body ::placeholder { .markdown-body ::placeholder {
@ -336,6 +345,13 @@
opacity: 1; opacity: 1;
} }
.markdown-body input::-webkit-outer-spin-button,
.markdown-body input::-webkit-inner-spin-button {
margin: 0;
-webkit-appearance: none;
appearance: none;
}
.markdown-body .pl-c { .markdown-body .pl-c {
color: #6e7781; color: #6e7781;
} }
@ -890,8 +906,33 @@
font-family: monospace; font-family: monospace;
} }
.markdown-body [hidden] { .markdown-body .task-list-item {
display: none !important; list-style-type: none;
}
.markdown-body .task-list-item label {
font-weight: 400;
}
.markdown-body .task-list-item.enabled label {
cursor: pointer;
}
.markdown-body .task-list-item+.task-list-item {
margin-top: 3px;
}
.markdown-body .task-list-item .handle {
display: none;
}
.markdown-body .task-list-item-checkbox {
margin: 0 .2em .25em -1.6em;
vertical-align: middle;
}
.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox {
margin: 0 -1.6em .25em .2em;
} }
.markdown-body ::-webkit-calendar-picker-indicator { .markdown-body ::-webkit-calendar-picker-indicator {

View File

@ -41,6 +41,7 @@
--color-neutral-muted: rgba(110,118,129,0.4); --color-neutral-muted: rgba(110,118,129,0.4);
--color-accent-fg: #58a6ff; --color-accent-fg: #58a6ff;
--color-accent-emphasis: #1f6feb; --color-accent-emphasis: #1f6feb;
--color-attention-subtle: rgba(187,128,9,0.15);
--color-danger-fg: #f85149; --color-danger-fg: #f85149;
} }
} }
@ -88,6 +89,7 @@
--color-neutral-muted: rgba(175,184,193,0.2); --color-neutral-muted: rgba(175,184,193,0.2);
--color-accent-fg: #0969da; --color-accent-fg: #0969da;
--color-accent-emphasis: #0969da; --color-accent-emphasis: #0969da;
--color-attention-subtle: #fff8c5;
--color-danger-fg: #cf222e; --color-danger-fg: #cf222e;
} }
} }
@ -135,6 +137,10 @@
display: list-item; display: list-item;
} }
.markdown-body [hidden] {
display: none !important;
}
.markdown-body a { .markdown-body a {
background-color: transparent; background-color: transparent;
color: var(--color-accent-fg); color: var(--color-accent-fg);
@ -148,7 +154,6 @@
.markdown-body abbr[title] { .markdown-body abbr[title] {
border-bottom: none; border-bottom: none;
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted; text-decoration: underline dotted;
} }
@ -170,7 +175,7 @@
} }
.markdown-body mark { .markdown-body mark {
background-color: #ff0; background-color: var(--color-attention-subtle);
color: var(--color-text-primary); color: var(--color-text-primary);
} }
@ -225,7 +230,16 @@
border: 0; border: 0;
} }
.markdown-body html [type=button], .markdown-body input {
font: inherit;
margin: 0;
overflow: visible;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
.markdown-body [type=button],
.markdown-body [type=reset], .markdown-body [type=reset],
.markdown-body [type=submit] { .markdown-body [type=submit] {
-webkit-appearance: button; -webkit-appearance: button;
@ -415,14 +429,11 @@
word-wrap: normal; word-wrap: normal;
} }
.markdown-body :-ms-input-placeholder { .markdown-body .octicon {
color: var(--color-fg-subtle); display: inline-block;
opacity: 1; overflow: visible !important;
} vertical-align: text-bottom;
fill: currentColor;
.markdown-body ::-ms-input-placeholder {
color: var(--color-fg-subtle);
opacity: 1;
} }
.markdown-body ::placeholder { .markdown-body ::placeholder {
@ -430,6 +441,13 @@
opacity: 1; opacity: 1;
} }
.markdown-body input::-webkit-outer-spin-button,
.markdown-body input::-webkit-inner-spin-button {
margin: 0;
-webkit-appearance: none;
appearance: none;
}
.markdown-body .pl-c { .markdown-body .pl-c {
color: var(--color-prettylights-syntax-comment); color: var(--color-prettylights-syntax-comment);
} }
@ -984,8 +1002,33 @@
font-family: monospace; font-family: monospace;
} }
.markdown-body [hidden] { .markdown-body .task-list-item {
display: none !important; list-style-type: none;
}
.markdown-body .task-list-item label {
font-weight: 400;
}
.markdown-body .task-list-item.enabled label {
cursor: pointer;
}
.markdown-body .task-list-item+.task-list-item {
margin-top: 3px;
}
.markdown-body .task-list-item .handle {
display: none;
}
.markdown-body .task-list-item-checkbox {
margin: 0 .2em .25em -1.6em;
vertical-align: middle;
}
.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox {
margin: 0 -1.6em .25em .2em;
} }
.markdown-body ::-webkit-calendar-picker-indicator { .markdown-body ::-webkit-calendar-picker-indicator {

View File

@ -32,6 +32,6 @@
"stylesheet" "stylesheet"
], ],
"devDependencies": { "devDependencies": {
"generate-github-markdown-css": "^5.0.0" "generate-github-markdown-css": "^5.0.1"
} }
} }