From 7e86cab634b3a1e94f110a25de2d08ac1aa3f6fe Mon Sep 17 00:00:00 2001 From: Kevin Putnam Date: Tue, 26 Mar 2019 13:34:12 -0700 Subject: [PATCH] added simple header with links to rest of clearlinux.org site --- .../_themes/otc_tcs_sphinx_theme/layout.html | 35 ++++++++++++++++++- .../otc_tcs_sphinx_theme/static/tcs_theme.css | 5 +++ 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/source/_themes/otc_tcs_sphinx_theme/layout.html b/source/_themes/otc_tcs_sphinx_theme/layout.html index 87674bfb..5d606bd0 100644 --- a/source/_themes/otc_tcs_sphinx_theme/layout.html +++ b/source/_themes/otc_tcs_sphinx_theme/layout.html @@ -1,12 +1,45 @@ {% extends "sphinx_rtd_theme/layout.html" %} - {% block extrahead %} {% endblock %} +{% block content %} + + + +{{ super() }} + +{% endblock %} + {% block footer %} diff --git a/source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.css b/source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.css index 636ffb88..afe44ddb 100644 --- a/source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.css +++ b/source/_themes/otc_tcs_sphinx_theme/static/tcs_theme.css @@ -148,3 +148,8 @@ th,td { overflow: hidden; transition: max-height 0.2s ease-out; } + +.header__menu_list li { + display: inline; + margin-left: 20px; +} \ No newline at end of file