Skip to content

Commit 7a307a4

Browse files
authored
Merge pull request #1226 from flash62au/sphinx
basic top nav added
2 parents eb58cfc + 3ec870f commit 7a307a4

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

docs/_static/css/dccex_theme.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,16 @@ h6, .h6 {
8989
color: #00a3b9ff !important;
9090
}
9191

92+
.top-nav-div {
93+
display:block;
94+
margin-bottom: 5px !important;
95+
}
96+
.top-nav-text {
97+
color: #00a3b9ff !important;
98+
font-family: Audiowide,Helvetica,Arial,sans-serif !important;
99+
font-size: 80% !important;
100+
}
101+
92102
.wy-nav-top {
93103
background:#00a3b9ff !important;
94104
font-size: 80% !important;
@@ -1164,4 +1174,7 @@ html[data-theme='dark'] .show-dark {
11641174
/* div.topOfPage {
11651175
display:block;
11661176
} */
1177+
.top-nav-div {
1178+
display:none;
1179+
}
11671180
}

docs/_templates/layout.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,22 @@
1717
gtag('config', 'G-L5X0KNBF0W');
1818
</script>
1919
{% endblock %}
20+
21+
{% block content %}
22+
<div class="custom-global-header">
23+
<div class="top-nav-div">
24+
·
25+
<a class="top-nav-text" href="/begin/what-to-know.html#our-free-and-open-source-products">Products</a> ·
26+
<a class="top-nav-text" href="/purchasing/dealers.html">Purchasing</a> ·
27+
<a class="top-nav-text" href="/ex-installer/index.html">Installing</a> ·
28+
<a class="top-nav-text" href="/ex-commandstation/diy/index.html">Self Build</a> ·
29+
<a class="top-nav-text" href="/throttles/index.html">Throttles</a> ·
30+
<a class="top-nav-text" href="/news.htm">News</a> ·
31+
<a class="top-nav-text" href="/support/index.html">Support</a> ·
32+
<a class="top-nav-text" href="/about/index-contributing.html">Donations</a> ·
33+
<a class="top-nav-text" href="/reference/index.html">Reference</a> ·
34+
<a class="top-nav-text" href="/about/index.html">About Us</a> ·
35+
</div>
36+
</div>
37+
{{ super() }}
38+
{% endblock %}

0 commit comments

Comments
 (0)