Skip to content

Commit ff91960

Browse files
L4co77davetcoleman
authored andcommitted
Redesing tutorial page (#267)
* Redesing tutorial page * Fixing empty link * Add link to moveit website * Change link color * Fixing font-size and white space between link to Move It Web and Git hub
1 parent 8ba6d62 commit ff91960

File tree

4 files changed

+72
-26
lines changed

4 files changed

+72
-26
lines changed

Diff for: _static/favicon.ico

0 Bytes
Binary file not shown.

Diff for: _static/logo.png

15.5 KB
Loading

Diff for: _static/override.css

+69-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
.icon:before {
2-
white-space: pre-wrap !important;
2+
white-space: pre-wrap !important;
33
}
4+
45
.header-override {
5-
margin-bottom: 20px;
6-
}
7-
.header-override p {
8-
padding: 5px;
9-
font-size: 1.2em;
10-
text-align: right;
11-
float: right;
6+
margin-bottom: 12px;
127
}
8+
139
.header-override img {
1410
width: 200px;
1511
}
@@ -20,6 +16,71 @@
2016
text-align: right;
2117
margin-bottom: -25px;
2218
}
19+
20+
.wy-body-for-nav .wy-side-nav-search {
21+
background-color: #33343f;
22+
}
23+
2324
.red {
2425
color: red;
2526
}
27+
28+
a {
29+
color: #005cfa;
30+
}
31+
32+
a:hover {
33+
color: #9B58B6;
34+
}
35+
36+
.rst-content .note {
37+
background-color: #ECECEC;
38+
}
39+
40+
.rst-content .note .admonition-title {
41+
background-color: #777986;
42+
}
43+
44+
.wy-menu {
45+
margin-top: 24px;
46+
}
47+
48+
.wy-nav-side {
49+
background-color: #2D2E38;
50+
}
51+
52+
.wy-side-nav-search {
53+
background-color: #33343F;
54+
}
55+
56+
.wy-side-nav-search input[type=text] {
57+
border-radius: 4px;
58+
width: 200px;
59+
border-color: #fff;
60+
}
61+
62+
.wy-side-nav-search img {
63+
margin: 12px auto 5px;
64+
width: 180px;
65+
height: auto;
66+
background-color: transparent;
67+
padding: 0;
68+
border-radius: 0;
69+
}
70+
71+
.wy-side-nav-search span {
72+
font-size: 12px;
73+
color: rgba(255,255,255,0.4);
74+
text-transform: uppercase;
75+
display: block;
76+
text-align: center;
77+
}
78+
79+
.wy-menu-vertical a {
80+
color: #b3b3b3;
81+
}
82+
83+
.header-override p {
84+
margin-bottom: 0;
85+
text-align: right;
86+
}

Diff for: _themes/sphinx_rtd_theme/layout.html

+3-18
Original file line numberDiff line numberDiff line change
@@ -98,18 +98,9 @@
9898
<div class="wy-side-nav-search">
9999
{% block sidebartitle %}
100100

101-
{% if logo and theme_logo_only %}
102-
<a href="{{ pathto(master_doc) }}">
103-
{% else %}
104-
<a href="{{ pathto(master_doc) }}" class="icon icon-home">
105-
{% endif %}
106-
107-
MoveIt! Motion<br/>Planning Framework
108-
109-
{% if logo %}
110-
{# Not strictly valid HTML, but it's the only way to display/scale it properly, without weird scripting or heaps of work #}
111-
<img src="{{ pathto('_static/' + logo, 1) }}" class="logo" />
112-
{% endif %}
101+
<a href="{{ pathto(master_doc) }}">
102+
<img src="{{ pathto('_static/logo.png', 1) }}"/>
103+
<span>Planning Framework</span>
113104
</a>
114105

115106
{% include "searchbox.html" %}
@@ -141,17 +132,11 @@
141132

142133
{# PAGE CONTENT #}
143134
<div class="wy-nav-content">
144-
145135
<div class="header-override">
146136
<p>
147137
<a href="http://moveit.ros.org">MoveIt! Website</a><br/>
148-
<a href="http://moveit.ros.org/blog">Blog</a>
149138
</p>
150-
<a href="http://moveit.ros.org">
151-
<img src="{{ pathto('_static/logo.png', 1) }}"/>
152-
</a>
153139
</div>
154-
155140
<div class="rst-content">
156141
{% include "breadcrumbs.html" %}
157142
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">

0 commit comments

Comments
 (0)