Skip to content

Commit f3550b6

Browse files
committed
Setup basic theme
1 parent 4daad9b commit f3550b6

File tree

4 files changed

+388
-22
lines changed

4 files changed

+388
-22
lines changed

doc/_static/css/ur_theme.css

Lines changed: 351 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,351 @@
1+
/** css/yourtheme.css **/
2+
3+
/* This line is theme specific - it includes the base theme CSS */
4+
5+
@import 'theme.css'; /* for the Read the Docs theme */
6+
7+
body {
8+
font-family: Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;
9+
font-weight: 400;
10+
color: #002B39;
11+
min-height: 100%;
12+
background: #DEE2E1;
13+
14+
a {
15+
color: #56A0D3;
16+
text-decoration: none;
17+
cursor:pointer
18+
}
19+
20+
a:hover {
21+
color:#80B8DE
22+
}
23+
24+
a:visited {
25+
color: purple
26+
}
27+
28+
.wy-menu-vertical header, .wy-menu-vertical p.caption {
29+
color: #3E7698;
30+
height: 32px;
31+
line-height: 32px;
32+
padding: 0 1.618em;
33+
margin: 12px 0 0;
34+
display: block;
35+
font-weight: 700;
36+
text-transform: uppercase;
37+
font-size: 85%;
38+
white-space: nowrap
39+
}
40+
41+
.wy-nav-side {
42+
position: fixed;
43+
top: 0;
44+
bottom: 0;
45+
left: 0;
46+
padding-bottom: 2em;
47+
width: 300px;
48+
overflow-x: hidden;
49+
overflow-y: hidden;
50+
min-height: 100%;
51+
color: #002B39;
52+
background: #D7DDDF;
53+
z-index: 200
54+
}
55+
56+
.wy-menu-vertical li.toctree-l2.current>a,
57+
.wy-menu-vertical li.toctree-l2.current li.toctree-l3>a {
58+
background: #EEF0F0
59+
}
60+
61+
.wy-menu-vertical li.toctree-l2 button.toctree-expand {
62+
color: #335561
63+
}
64+
65+
.wy-menu-vertical li.toctree-l3.current>a,
66+
.wy-menu-vertical li.toctree-l3.current li.toctree-l4>a {
67+
background: #F7F8F7
68+
}
69+
70+
.wy-menu-vertical li.toctree-l3 button.toctree-expand {
71+
color: #335561
72+
}
73+
74+
75+
.wy-menu-vertical li ul li a {
76+
margin-bottom: 0;
77+
color: #4D6B75;
78+
font-weight: 400
79+
}
80+
81+
.wy-menu-vertical a {
82+
line-height: 18px;
83+
padding: .4045em 1.618em;
84+
display: block;
85+
position: relative;
86+
font-size: 90%;
87+
color: #1A414D
88+
}
89+
.wy-menu-vertical li.current {
90+
background:#E6E9E9
91+
}
92+
93+
.wy-menu-vertical li.current a {
94+
color: #335561;
95+
border-right: 1px solid #80B8DE;
96+
padding:.4045em 2.427em
97+
}
98+
99+
.wy-menu-vertical li.current a:hover {
100+
background:#EEF0F0
101+
}
102+
103+
.wy-menu-vertical a:hover {
104+
background-color: #E6E9E9;
105+
cursor: pointer
106+
}
107+
108+
.wy-menu-vertical a:hover button.toctree-expand {
109+
color: #D7DDDF
110+
}
111+
112+
.wy-menu-vertical a:active {
113+
background-color: #DEE2E1;
114+
cursor: pointer;
115+
color: #3E7698
116+
}
117+
118+
.wy-menu-vertical a:active button.toctree-expand {
119+
color: #D7DDDF
120+
}
121+
122+
.wy-menu-vertical li.current > a, .wy-menu-vertical li.on a {
123+
color: #335561;
124+
font-weight: 700;
125+
position: relative;
126+
background: #E6E9E9;
127+
border: none;
128+
padding:.4045em 1.618em
129+
}
130+
131+
.wy-side-nav-search {
132+
display: block;
133+
width: 300px;
134+
padding: .809em;
135+
margin-bottom: .809em;
136+
z-index: 200;
137+
background-color: #D7DDDF;
138+
text-align: center;
139+
color: #002B39
140+
}
141+
142+
.wy-side-nav-search input[type=text] {
143+
width: 100%;
144+
border-radius: 50px;
145+
padding: 6px 12px;
146+
border-color: #002B39
147+
}
148+
149+
.wy-side-nav-search img {
150+
display: block;
151+
margin: auto auto .809em;
152+
height: 45px;
153+
width: 45px;
154+
background-color: #D7DDDF;
155+
padding: 5px;
156+
border-radius: 100%
157+
}
158+
159+
.wy-side-nav-search .wy-dropdown>a,
160+
.wy-side-nav-search>a {
161+
color: #3E7698;
162+
font-size: 100%;
163+
font-weight: 700;
164+
display: inline-block;
165+
padding: 4px 6px;
166+
margin-bottom: .809em;
167+
max-width: 100%
168+
}
169+
170+
.wy-side-nav-search .wy-dropdown>a:hover,
171+
.wy-side-nav-search>a:hover {
172+
background: #D7DDDF
173+
}
174+
175+
.wy-side-nav-search .wy-dropdown>a img.logo,
176+
.wy-side-nav-search>a img.logo {
177+
display: block;
178+
margin: 0 auto;
179+
height: auto;
180+
width: auto;
181+
border-radius: 0;
182+
max-width: 100%;
183+
background: transparent
184+
}
185+
186+
187+
.wy-side-nav-search>div.version {
188+
margin-top: -.4045em;
189+
margin-bottom: .809em;
190+
font-weight: 400;
191+
color: #D7DDDF
192+
}
193+
194+
.wy-nav .wy-menu-vertical header {
195+
color: #3E7698
196+
}
197+
198+
.wy-nav .wy-menu-vertical a {
199+
color: #b3b3b3
200+
}
201+
202+
.wy-nav .wy-menu-vertical a:hover {
203+
background-color: #3E7698;
204+
color: #D7DDDF
205+
}
206+
207+
208+
@media screen and (max-width: 768px) {
209+
.wy-body-for-nav {
210+
background:#fcfcfc
211+
}
212+
213+
.wy-nav-top {
214+
display: block
215+
}
216+
217+
.wy-nav-side {
218+
left: -300px
219+
}
220+
221+
.wy-nav-side.shift {
222+
width: 85%;
223+
left: 0
224+
}
225+
226+
.wy-menu.wy-menu-vertical,.wy-side-nav-search,.wy-side-scroll {
227+
width: auto
228+
}
229+
230+
.wy-nav-content-wrap {
231+
margin-left: 0
232+
}
233+
234+
.wy-nav-content-wrap .wy-nav-content {
235+
padding: 1.618em
236+
}
237+
238+
.wy-nav-content-wrap.shift {
239+
position: fixed;
240+
min-width: 100%;
241+
left: 85%;
242+
top: 0;
243+
height: 100%;
244+
overflow: hidden
245+
}
246+
}
247+
248+
@media screen and (min-width: 1100px) {
249+
.wy-nav-content-wrap {
250+
background:rgba(0,0,0,.05)
251+
}
252+
253+
.wy-nav-content {
254+
margin: 0;
255+
background: #fcfcfc;
256+
max-width: none
257+
}
258+
}
259+
260+
.rst-content.style-external-links a.reference.external:after {
261+
font-family: FontAwesome;
262+
content: "\f08e";
263+
color: #b3b3b3;
264+
vertical-align: super;
265+
font-size: 60%;
266+
margin:0 .2em
267+
}
268+
269+
.rst-content blockquote {
270+
margin-left: 24px;
271+
line-height: 24px;
272+
margin-bottom:24px
273+
}
274+
275+
.rst-content pre.literal-block {
276+
white-space: pre;
277+
margin: 0;
278+
padding: 12px;
279+
font-family: SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, Courier, monospace;
280+
display: block;
281+
overflow:auto
282+
}
283+
284+
.rst-content div[class^=highlight], .rst-content pre.literal-block {
285+
border: 1px solid #e1e4e5;
286+
overflow-x: auto;
287+
margin:1px 0 24px
288+
}
289+
290+
.rst-content div[class^=highlight] div[class^=highlight], .rst-content pre.literal-block div[class^=highlight] {
291+
padding: 0;
292+
border: none;
293+
background-color: #F7F8F7;
294+
margin:0
295+
}
296+
297+
.rst-content div[class^=highlight] td.code {
298+
width:100%
299+
}
300+
301+
.rst-content .linenodiv pre {
302+
border-right: 1px solid #e6e9ea;
303+
margin: 0;
304+
padding: 12px;
305+
font-family: SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, Courier, monospace;
306+
user-select: none;
307+
pointer-events:none
308+
}
309+
310+
.rst-content div[class^=highlight] pre {
311+
white-space: pre;
312+
margin: 0;
313+
padding: 12px;
314+
display: block;
315+
overflow:auto
316+
}
317+
318+
.rst-content div[class^=highlight] pre .hll {
319+
display: block;
320+
margin: 0 -12px;
321+
padding:0 12px
322+
}
323+
324+
.rst-content .linenodiv pre, .rst-content div[class^=highlight] pre, .rst-content pre.literal-block {
325+
font-family: SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, Courier, monospace;
326+
font-size: 12px;
327+
line-height:1.4
328+
}
329+
330+
.rst-content div.highlight .gp, .rst-content div.highlight span.linenos {
331+
user-select: none;
332+
pointer-events:none
333+
}
334+
335+
.rst-content div.highlight span.linenos {
336+
display: inline-block;
337+
padding-left: 0;
338+
padding-right: 12px;
339+
margin-right: 12px;
340+
border-right:1px solid #e6e9ea
341+
}
342+
343+
}
344+
345+
h2, h3, h4, h5, h6, h7 {
346+
color: #3E7698
347+
}
348+
349+
h1 {
350+
color: #002B39
351+
}

doc/_static/images/icon.svg

Lines changed: 4 additions & 0 deletions
Loading

doc/_static/images/ur_logo.svg

Lines changed: 7 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)