Skip to content

Commit c789fb2

Browse files
authored
Use newer theme (#5)
1 parent d83aabb commit c789fb2

File tree

4 files changed

+366
-6
lines changed

4 files changed

+366
-6
lines changed

_static/css/ur_theme.css

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

_static/images/icon.svg

Lines changed: 4 additions & 0 deletions
Loading

_static/images/ur_logo.svg

Lines changed: 7 additions & 0 deletions
Loading

conf.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
project = "Universal Robots ROS 2 Documentation"
2323
copyright = "2024, Universal Robots A/S"
24-
author = "Felix Exner"
24+
author = "Universal Robots A/S"
2525

2626
# The short X.Y version
2727
version = ""
@@ -142,7 +142,7 @@
142142
master_doc,
143143
"ur_documentation.tex",
144144
"ur\\_documentation Documentation",
145-
"Felix Exner",
145+
"Universal Robots A/S",
146146
"manual",
147147
),
148148
]
@@ -206,11 +206,12 @@
206206
"github_version": repos_file_branch + "/",
207207
"conf_py_path": "/",
208208
"source_suffix": source_suffix,
209-
"favicon": "favicon.ico",
210-
"logo": "logo.png"
211209
}
212210

213-
html_favicon = "_static/logo.png"
214-
html_logo = "_static/logo.png"
211+
html_logo = "_static/images/ur_logo.svg"
212+
html_favicon = "_static/images/icon.svg"
213+
html_css_files = [
214+
'css/ur_theme.css',
215+
]
215216

216217
github_url = "https://github.com/UniversalRobots/Universal_Robots_ROS2_Documentation"

0 commit comments

Comments
 (0)