Skip to content

Commit e73ebac

Browse files
committed
Append dark theme css selectors to historical pages
1 parent 66484cd commit e73ebac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+2016
-0
lines changed

static/1.10.1/css/docpage.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,3 +169,17 @@
169169
.next .prevnext-text::after {
170170
content: " >";
171171
}
172+
173+
@media (prefers-color-scheme: dark) {
174+
.binding-type {
175+
color: #ccc;
176+
}
177+
178+
.binding-text {
179+
color: unset;
180+
}
181+
182+
.example-title {
183+
color: #ccc;
184+
}
185+
}

static/1.10.1/css/landing.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,22 @@
147147
.github-corner .octo-arm {
148148
animation: octocat-wave 560ms ease-in-out;
149149
}
150+
}
151+
152+
@media (prefers-color-scheme: dark) {
153+
#replterm {
154+
border-color: #333;
155+
background: #333;
156+
color: #ccc;
157+
}
158+
159+
#replinbar {
160+
border-color: #333;
161+
color: unset;
162+
background: #1a1a1a;
163+
}
164+
165+
#replin:focus {
166+
background: unset;
167+
}
150168
}

static/1.10.1/css/main.css

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,3 +287,34 @@ code {
287287
text-decoration: underline;
288288
color: white !important;
289289
}
290+
291+
@media (prefers-color-scheme: dark) {
292+
body {
293+
background-color: #222;
294+
color: #eee;
295+
}
296+
297+
h1, h2, h3, h4 {
298+
color: #f8f8f2;
299+
}
300+
301+
h3 {
302+
color: #e3e0e0;
303+
}
304+
305+
h4 {
306+
color: #cccccc;
307+
}
308+
309+
a {
310+
color: #09a5b8;
311+
}
312+
313+
table tr {
314+
background: #222;
315+
}
316+
317+
.mendoza-code {
318+
background: #333;
319+
}
320+
}

static/1.11.1/css/docpage.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,3 +169,17 @@
169169
.next .prevnext-text::after {
170170
content: " >";
171171
}
172+
173+
@media (prefers-color-scheme: dark) {
174+
.binding-type {
175+
color: #ccc;
176+
}
177+
178+
.binding-text {
179+
color: unset;
180+
}
181+
182+
.example-title {
183+
color: #ccc;
184+
}
185+
}

static/1.11.1/css/landing.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,22 @@
147147
.github-corner .octo-arm {
148148
animation: octocat-wave 560ms ease-in-out;
149149
}
150+
}
151+
152+
@media (prefers-color-scheme: dark) {
153+
#replterm {
154+
border-color: #333;
155+
background: #333;
156+
color: #ccc;
157+
}
158+
159+
#replinbar {
160+
border-color: #333;
161+
color: unset;
162+
background: #1a1a1a;
163+
}
164+
165+
#replin:focus {
166+
background: unset;
167+
}
150168
}

static/1.11.1/css/main.css

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,3 +287,34 @@ code {
287287
text-decoration: underline;
288288
color: white !important;
289289
}
290+
291+
@media (prefers-color-scheme: dark) {
292+
body {
293+
background-color: #222;
294+
color: #eee;
295+
}
296+
297+
h1, h2, h3, h4 {
298+
color: #f8f8f2;
299+
}
300+
301+
h3 {
302+
color: #e3e0e0;
303+
}
304+
305+
h4 {
306+
color: #cccccc;
307+
}
308+
309+
a {
310+
color: #09a5b8;
311+
}
312+
313+
table tr {
314+
background: #222;
315+
}
316+
317+
.mendoza-code {
318+
background: #333;
319+
}
320+
}

static/1.12.2/css/docpage.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,3 +169,17 @@
169169
.next .prevnext-text::after {
170170
content: " >";
171171
}
172+
173+
@media (prefers-color-scheme: dark) {
174+
.binding-type {
175+
color: #ccc;
176+
}
177+
178+
.binding-text {
179+
color: unset;
180+
}
181+
182+
.example-title {
183+
color: #ccc;
184+
}
185+
}

static/1.12.2/css/landing.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,22 @@
147147
.github-corner .octo-arm {
148148
animation: octocat-wave 560ms ease-in-out;
149149
}
150+
}
151+
152+
@media (prefers-color-scheme: dark) {
153+
#replterm {
154+
border-color: #333;
155+
background: #333;
156+
color: #ccc;
157+
}
158+
159+
#replinbar {
160+
border-color: #333;
161+
color: unset;
162+
background: #1a1a1a;
163+
}
164+
165+
#replin:focus {
166+
background: unset;
167+
}
150168
}

static/1.12.2/css/main.css

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,3 +287,34 @@ code {
287287
text-decoration: underline;
288288
color: white !important;
289289
}
290+
291+
@media (prefers-color-scheme: dark) {
292+
body {
293+
background-color: #222;
294+
color: #eee;
295+
}
296+
297+
h1, h2, h3, h4 {
298+
color: #f8f8f2;
299+
}
300+
301+
h3 {
302+
color: #e3e0e0;
303+
}
304+
305+
h4 {
306+
color: #cccccc;
307+
}
308+
309+
a {
310+
color: #09a5b8;
311+
}
312+
313+
table tr {
314+
background: #222;
315+
}
316+
317+
.mendoza-code {
318+
background: #333;
319+
}
320+
}

static/1.13.1/css/docpage.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,3 +169,17 @@
169169
.next .prevnext-text::after {
170170
content: " >";
171171
}
172+
173+
@media (prefers-color-scheme: dark) {
174+
.binding-type {
175+
color: #ccc;
176+
}
177+
178+
.binding-text {
179+
color: unset;
180+
}
181+
182+
.example-title {
183+
color: #ccc;
184+
}
185+
}

0 commit comments

Comments
 (0)