Skip to content

Commit 5b26c84

Browse files
committed
Initial commit
0 parents  commit 5b26c84

File tree

4 files changed

+191
-0
lines changed

4 files changed

+191
-0
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020 maximilionus
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<h1 align="center">
2+
<b>Python Docs</b><br>
3+
Dark Theme
4+
</h1>
5+
<h2 align="center">
6+
📦 <a href="https://github.com/maximilionus/python_docs_dark/raw/master/python_docs_dark.user.css">INSTALL</a>
7+
</h2>
8+
<br><br>
9+
10+
<details align="center">
11+
<summary>Preview Image</summary>
12+
<img src="./images/preview.jpg">
13+
</details>

images/preview.jpg

685 KB
Loading

python_docs_dark.user.css

Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
/* ==UserStyle==
2+
@name Python Docs - Dark Theme
3+
@namespace https://github.com/maximilionus
4+
@homepageURL https://github.com/maximilionus/python_docs_dark
5+
@updateURL https://raw.githubusercontent.com/maximilionus/python_docs_dark/master/python_docs_dark.user.css
6+
@license MIT
7+
@version 1.0.0
8+
@description Dark theme for docs.python.org
9+
@author maximilionus <[email protected]>
10+
==/UserStyle== */
11+
@-moz-document domain("docs.python.org") {
12+
:root {
13+
--background-dark: #181818;
14+
--background-light: #262626;
15+
--background-gray: #404040;
16+
--text-normal: #b5b5b5;
17+
--text-light: #d9d9d9;
18+
--text-code-general: #ddcbb4;
19+
--text-code-red: #b71c56;
20+
}
21+
22+
::-webkit-scrollbar {
23+
width: 10px;
24+
}
25+
26+
::-webkit-scrollbar-track {
27+
background-color: var(--background-light);
28+
}
29+
30+
::-webkit-scrollbar-thumb {
31+
background: var(--background-gray);
32+
border-radius: 4px;
33+
}
34+
35+
html {
36+
background: var(--background-dark);
37+
}
38+
39+
body {
40+
background: var(--background-dark);
41+
}
42+
43+
ul {
44+
background: var(--background-dark);
45+
}
46+
47+
div {
48+
color: var(--text-normal);
49+
background: var(--background-dark);
50+
}
51+
52+
p {
53+
color: var(--text-normal);
54+
}
55+
56+
div.related {
57+
background-color: var(--background-dark);
58+
}
59+
60+
div.related a {
61+
color: var(--text-normal);
62+
}
63+
64+
div.sphinxsidebar {
65+
background: var(--background-dark);
66+
}
67+
68+
div.sphinxsidebar h3 a {
69+
color: var(--text-light);
70+
}
71+
72+
div.sphinxsidebar h3,
73+
div.sphinxsidebar h4 {
74+
color: var(--text-light);
75+
}
76+
77+
div.sphinxsidebar a {
78+
color: var(--text-normal);
79+
}
80+
81+
div.body {
82+
background: inherit;
83+
}
84+
85+
div.sidebar {
86+
background: var(--background-light);
87+
border: 2px solid var(--background-gray);
88+
}
89+
90+
div.body h1,
91+
div.body h2,
92+
div.body h3,
93+
div.body h4,
94+
div.body h5,
95+
div.body h6 {
96+
color: var(--text-light);
97+
background: var(--background-dark);
98+
}
99+
100+
div.body pre {
101+
color: var(--text-normal);
102+
background: var(--background-light);
103+
border: 2px solid var(--background-gray);
104+
}
105+
106+
div.seealso {
107+
background: var(--background-light)
108+
}
109+
110+
div.body div.seealso {
111+
border: 2px solid var(--background-gray);
112+
}
113+
114+
div.note {
115+
background: var(--background-light);
116+
}
117+
118+
div.warning {
119+
background: var(--background-light);
120+
}
121+
122+
span.pre {
123+
color: var(--text-code-general);
124+
background: var(--background-gray);
125+
}
126+
127+
th,
128+
dl.field-list > dt {
129+
background: var(--background-light);
130+
}
131+
132+
dt:target,
133+
span.highlighted {
134+
color: var(--text-light);
135+
background: var(--background-gray);
136+
}
137+
138+
table.docutils td {
139+
background: var(--background-light);
140+
}
141+
142+
table.docutils th {
143+
background: var(--background-light);
144+
}
145+
146+
code {
147+
background: var(--background-gray);
148+
}
149+
150+
.highlight .go {
151+
color: var(--text-light);
152+
}
153+
154+
.highlight .nf {
155+
color: var(--text-code-red);
156+
}
157+
}

0 commit comments

Comments
 (0)