Skip to content

Commit

Permalink
Regenerate GitHub CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Dec 6, 2021
1 parent 4dc9af7 commit 95f4064
Show file tree
Hide file tree
Showing 4 changed files with 162 additions and 37 deletions.
65 changes: 53 additions & 12 deletions github-markdown-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
display: list-item;
}

.markdown-body [hidden] {
display: none !important;
}

.markdown-body a {
background-color: transparent;
color: #58a6ff;
Expand All @@ -55,7 +59,6 @@

.markdown-body abbr[title] {
border-bottom: none;
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
}

Expand All @@ -77,7 +80,7 @@
}

.markdown-body mark {
background-color: #ff0;
background-color: rgba(187,128,9,0.15);
color: #c9d1d9;
}

Expand Down Expand Up @@ -132,7 +135,16 @@
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=submit] {
-webkit-appearance: button;
Expand Down Expand Up @@ -322,19 +334,23 @@
word-wrap: normal;
}

.markdown-body :-ms-input-placeholder {
color: #484f58;
opacity: 1;
.markdown-body .octicon {
display: inline-block;
overflow: visible !important;
vertical-align: text-bottom;
fill: currentColor;
}

.markdown-body ::-ms-input-placeholder {
.markdown-body ::placeholder {
color: #484f58;
opacity: 1;
}

.markdown-body ::placeholder {
color: #484f58;
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 {
Expand Down Expand Up @@ -891,8 +907,33 @@
font-family: monospace;
}

.markdown-body [hidden] {
display: none !important;
.markdown-body .task-list-item {
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 {
Expand Down
65 changes: 53 additions & 12 deletions github-markdown-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
display: list-item;
}

.markdown-body [hidden] {
display: none !important;
}

.markdown-body a {
background-color: transparent;
color: #0969da;
Expand All @@ -54,7 +58,6 @@

.markdown-body abbr[title] {
border-bottom: none;
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
}

Expand All @@ -76,7 +79,7 @@
}

.markdown-body mark {
background-color: #ff0;
background-color: #fff8c5;
color: #24292f;
}

Expand Down Expand Up @@ -131,7 +134,16 @@
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=submit] {
-webkit-appearance: button;
Expand Down Expand Up @@ -321,19 +333,23 @@
word-wrap: normal;
}

.markdown-body :-ms-input-placeholder {
color: #6e7781;
opacity: 1;
.markdown-body .octicon {
display: inline-block;
overflow: visible !important;
vertical-align: text-bottom;
fill: currentColor;
}

.markdown-body ::-ms-input-placeholder {
.markdown-body ::placeholder {
color: #6e7781;
opacity: 1;
}

.markdown-body ::placeholder {
color: #6e7781;
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 {
Expand Down Expand Up @@ -890,8 +906,33 @@
font-family: monospace;
}

.markdown-body [hidden] {
display: none !important;
.markdown-body .task-list-item {
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 {
Expand Down
67 changes: 55 additions & 12 deletions github-markdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
--color-neutral-muted: rgba(110,118,129,0.4);
--color-accent-fg: #58a6ff;
--color-accent-emphasis: #1f6feb;
--color-attention-subtle: rgba(187,128,9,0.15);
--color-danger-fg: #f85149;
}
}
Expand Down Expand Up @@ -88,6 +89,7 @@
--color-neutral-muted: rgba(175,184,193,0.2);
--color-accent-fg: #0969da;
--color-accent-emphasis: #0969da;
--color-attention-subtle: #fff8c5;
--color-danger-fg: #cf222e;
}
}
Expand Down Expand Up @@ -135,6 +137,10 @@
display: list-item;
}

.markdown-body [hidden] {
display: none !important;
}

.markdown-body a {
background-color: transparent;
color: var(--color-accent-fg);
Expand All @@ -148,7 +154,6 @@

.markdown-body abbr[title] {
border-bottom: none;
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
}

Expand All @@ -170,7 +175,7 @@
}

.markdown-body mark {
background-color: #ff0;
background-color: var(--color-attention-subtle);
color: var(--color-text-primary);
}

Expand Down Expand Up @@ -225,7 +230,16 @@
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=submit] {
-webkit-appearance: button;
Expand Down Expand Up @@ -415,19 +429,23 @@
word-wrap: normal;
}

.markdown-body :-ms-input-placeholder {
color: var(--color-fg-subtle);
opacity: 1;
.markdown-body .octicon {
display: inline-block;
overflow: visible !important;
vertical-align: text-bottom;
fill: currentColor;
}

.markdown-body ::-ms-input-placeholder {
.markdown-body ::placeholder {
color: var(--color-fg-subtle);
opacity: 1;
}

.markdown-body ::placeholder {
color: var(--color-fg-subtle);
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 {
Expand Down Expand Up @@ -984,8 +1002,33 @@
font-family: monospace;
}

.markdown-body [hidden] {
display: none !important;
.markdown-body .task-list-item {
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 {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
"stylesheet"
],
"devDependencies": {
"generate-github-markdown-css": "^5.0.0"
"generate-github-markdown-css": "^5.0.1"
}
}

0 comments on commit 95f4064

Please sign in to comment.