Skip to content

Commit

Permalink
Regenerate GitHub CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Nov 28, 2024
1 parent 9ab210a commit f2dc5d9
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 94 deletions.
36 changes: 5 additions & 31 deletions github-markdown-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@
color-scheme: dark;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
margin: 0;
color: #f0f6fc;
background-color: #0d1117;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
font-size: 16px;
word-wrap: break-word;
margin: 0;
min-height: 100vh;
line-height: 1.5;
scroll-behavior: smooth;
word-wrap: break-word;
}

.markdown-body .octicon {
Expand Down Expand Up @@ -134,12 +132,12 @@
}

.markdown-body input {
font: inherit;
margin: 0;
overflow: visible;
font-family: inherit;
font-size: inherit;
line-height: inherit;
font: inherit;
}

.markdown-body [type=button],
Expand Down Expand Up @@ -1101,31 +1099,7 @@
margin-top: 0 !important;
}

.markdown-body ul[role='list'],
.markdown-body ol[role='list'] {
list-style: none;
}

.markdown-body html[focus-within] {
scroll-behavior: smooth;
}

.markdown-body html:focus-within {
scroll-behavior: smooth;
}

.markdown-body a:not([class]) {
-webkit-text-decoration-skip: ink;
text-decoration-skip-ink: auto;
}

.markdown-body img,
.markdown-body picture {
max-width: 100%;
display: block;
}

.markdown-body [class^=Primer_Brand__Link-module__Link___]::after {
width: calc(100% - 20px);
.markdown-body .highlight pre:has(+.zeroclipboard-container) {
min-height: 52px;
}

36 changes: 5 additions & 31 deletions github-markdown-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@
color-scheme: light;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
margin: 0;
color: #1f2328;
background-color: #ffffff;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
font-size: 16px;
word-wrap: break-word;
margin: 0;
min-height: 100vh;
line-height: 1.5;
scroll-behavior: smooth;
word-wrap: break-word;
}

.markdown-body .octicon {
Expand Down Expand Up @@ -134,12 +132,12 @@
}

.markdown-body input {
font: inherit;
margin: 0;
overflow: visible;
font-family: inherit;
font-size: inherit;
line-height: inherit;
font: inherit;
}

.markdown-body [type=button],
Expand Down Expand Up @@ -1101,31 +1099,7 @@
margin-top: 0 !important;
}

.markdown-body ul[role='list'],
.markdown-body ol[role='list'] {
list-style: none;
}

.markdown-body html[focus-within] {
scroll-behavior: smooth;
}

.markdown-body html:focus-within {
scroll-behavior: smooth;
}

.markdown-body a:not([class]) {
-webkit-text-decoration-skip: ink;
text-decoration-skip-ink: auto;
}

.markdown-body img,
.markdown-body picture {
max-width: 100%;
display: block;
}

.markdown-body [class^=Primer_Brand__Link-module__Link___]::after {
width: calc(100% - 20px);
.markdown-body .highlight pre:has(+.zeroclipboard-container) {
min-height: 52px;
}

36 changes: 5 additions & 31 deletions github-markdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,13 @@
.markdown-body {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
margin: 0;
color: var(--fgColor-default);
background-color: var(--bgColor-default);
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
font-size: 16px;
word-wrap: break-word;
margin: 0;
min-height: 100vh;
line-height: 1.5;
scroll-behavior: smooth;
word-wrap: break-word;
}

.markdown-body .octicon {
Expand Down Expand Up @@ -257,12 +255,12 @@
}

.markdown-body input {
font: inherit;
margin: 0;
overflow: visible;
font-family: inherit;
font-size: inherit;
line-height: inherit;
font: inherit;
}

.markdown-body [type=button],
Expand Down Expand Up @@ -1224,31 +1222,7 @@
margin-top: 0 !important;
}

.markdown-body ul[role='list'],
.markdown-body ol[role='list'] {
list-style: none;
}

.markdown-body html[focus-within] {
scroll-behavior: smooth;
}

.markdown-body html:focus-within {
scroll-behavior: smooth;
}

.markdown-body a:not([class]) {
-webkit-text-decoration-skip: ink;
text-decoration-skip-ink: auto;
}

.markdown-body img,
.markdown-body picture {
max-width: 100%;
display: block;
}

.markdown-body [class^=Primer_Brand__Link-module__Link___]::after {
width: calc(100% - 20px);
.markdown-body .highlight pre:has(+.zeroclipboard-container) {
min-height: 52px;
}

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
"stylesheet"
],
"devDependencies": {
"generate-github-markdown-css": "^6.5.0"
"generate-github-markdown-css": "^6.5.1"
}
}

0 comments on commit f2dc5d9

Please sign in to comment.