mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-08 10:34:10 +00:00
docs: unsqueeze logo, remove unused CSS and templates
This commit is contained in:
@@ -1,106 +1,4 @@
|
|||||||
div#helm-chart-schema h2,
|
/* Added to avoid logo being too squeezed */
|
||||||
div#helm-chart-schema h3,
|
.navbar-brand {
|
||||||
div#helm-chart-schema h4,
|
height: 4rem !important;
|
||||||
div#helm-chart-schema h5,
|
|
||||||
div#helm-chart-schema h6 {
|
|
||||||
font-family: courier new;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3, h3 ~ * {
|
|
||||||
margin-left: 3% !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
h4, h4 ~ * {
|
|
||||||
margin-left: 6% !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
h5, h5 ~ * {
|
|
||||||
margin-left: 9% !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
h6, h6 ~ * {
|
|
||||||
margin-left: 12% !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
h7, h7 ~ * {
|
|
||||||
margin-left: 15% !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
img.logo {
|
|
||||||
width:100%
|
|
||||||
}
|
|
||||||
|
|
||||||
.right-next {
|
|
||||||
float: right;
|
|
||||||
max-width: 45%;
|
|
||||||
overflow: auto;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.right-next::after{
|
|
||||||
content: ' »';
|
|
||||||
}
|
|
||||||
|
|
||||||
.left-prev {
|
|
||||||
float: left;
|
|
||||||
max-width: 45%;
|
|
||||||
overflow: auto;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.left-prev::before{
|
|
||||||
content: '« ';
|
|
||||||
}
|
|
||||||
|
|
||||||
.prev-next-bottom {
|
|
||||||
margin-top: 3em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.prev-next-top {
|
|
||||||
margin-bottom: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Sidebar TOC and headers */
|
|
||||||
|
|
||||||
div.sphinxsidebarwrapper div {
|
|
||||||
margin-bottom: .8em;
|
|
||||||
}
|
|
||||||
div.sphinxsidebar h3 {
|
|
||||||
font-size: 1.3em;
|
|
||||||
padding-top: 0px;
|
|
||||||
font-weight: 800;
|
|
||||||
margin-left: 0px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.sphinxsidebar p.caption {
|
|
||||||
font-size: 1.2em;
|
|
||||||
margin-bottom: 0px;
|
|
||||||
margin-left: 0px !important;
|
|
||||||
font-weight: 900;
|
|
||||||
color: #767676;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.sphinxsidebar ul {
|
|
||||||
font-size: .8em;
|
|
||||||
margin-top: 0px;
|
|
||||||
padding-left: 3%;
|
|
||||||
margin-left: 0px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.relations ul {
|
|
||||||
font-size: 1em;
|
|
||||||
margin-left: 0px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
div#searchbox form {
|
|
||||||
margin-left: 0px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* body elements */
|
|
||||||
.toctree-wrapper span.caption-text {
|
|
||||||
color: #767676;
|
|
||||||
font-style: italic;
|
|
||||||
font-weight: 300;
|
|
||||||
}
|
}
|
||||||
|
@@ -1,16 +0,0 @@
|
|||||||
{# Custom template for navigation.html
|
|
||||||
|
|
||||||
alabaster theme does not provide blocks for titles to
|
|
||||||
be overridden so this custom theme handles title and
|
|
||||||
toctree for sidebar
|
|
||||||
#}
|
|
||||||
<h3>{{ _('Table of Contents') }}</h3>
|
|
||||||
{{ toctree(includehidden=theme_sidebar_includehidden, collapse=theme_sidebar_collapse) }}
|
|
||||||
{% if theme_extra_nav_links %}
|
|
||||||
<hr />
|
|
||||||
<ul>
|
|
||||||
{% for text, uri in theme_extra_nav_links.items() %}
|
|
||||||
<li class="toctree-l1"><a href="{{ uri }}">{{ text }}</a></li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
{% endif %}
|
|
@@ -1,17 +0,0 @@
|
|||||||
{# Custom template for relations.html
|
|
||||||
|
|
||||||
alabaster theme does not provide previous/next page by default
|
|
||||||
#}
|
|
||||||
<div class="relations">
|
|
||||||
<h3>Navigation</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="{{ pathto(master_doc) }}">Documentation Home</a><ul>
|
|
||||||
{%- if prev %}
|
|
||||||
<li><a href="{{ prev.link|e }}" title="Previous">Previous topic</a></li>
|
|
||||||
{%- endif %}
|
|
||||||
{%- if next %}
|
|
||||||
<li><a href="{{ next.link|e }}" title="Next">Next topic</a></li>
|
|
||||||
{%- endif %}
|
|
||||||
</ul>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
@@ -23,8 +23,6 @@ extensions = [
|
|||||||
'recommonmark',
|
'recommonmark',
|
||||||
]
|
]
|
||||||
|
|
||||||
templates_path = ['_templates']
|
|
||||||
|
|
||||||
# The master toctree document.
|
# The master toctree document.
|
||||||
master_doc = 'index'
|
master_doc = 'index'
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user