slight changes, theme become more similar with current
This commit is contained in:
parent
3334c06e8b
commit
5d4bd700a7
2
doc/_themes/sphinxdoc/layout.html
vendored
2
doc/_themes/sphinxdoc/layout.html
vendored
@ -266,7 +266,7 @@
|
|||||||
{% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx-doc.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
|
{% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx-doc.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if show_source and has_source and sourcename %}
|
{%- if show_source and has_source and sourcename %}
|
||||||
<a href="{{ pathto('_sources/' + sourcename, true)|e }}" rel="nofollow">{{ _('Show This Page Source') }}</a>
|
<a href="{{ pathto('_sources/' + sourcename, true)|e }}" rel="nofollow">{{ _('Show this page source.') }}</a>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
</div>
|
</div>
|
||||||
{%- endblock %}
|
{%- endblock %}
|
||||||
|
21
doc/_themes/sphinxdoc/searchbox.html
vendored
Normal file
21
doc/_themes/sphinxdoc/searchbox.html
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{#
|
||||||
|
basic/searchbox.html
|
||||||
|
~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Sphinx sidebar template: quick search box.
|
||||||
|
|
||||||
|
:copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
|
||||||
|
:license: BSD, see LICENSE for details.
|
||||||
|
#}
|
||||||
|
{%- if pagename != "search" and builder != "singlehtml" %}
|
||||||
|
<div id="searchbox" style="display: none">
|
||||||
|
<h3>{{ _('Quick search') }}</h3>
|
||||||
|
<form class="search" action="{{ pathto('search') }}" method="get">
|
||||||
|
<input type="text" name="q" />
|
||||||
|
<input type="submit" value="{{ _('Go') }}" />
|
||||||
|
<input type="hidden" name="check_keywords" value="yes" />
|
||||||
|
<input type="hidden" name="area" value="default" />
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
||||||
|
{%- endif %}
|
85
doc/_themes/sphinxdoc/static/default.css_t
vendored
85
doc/_themes/sphinxdoc/static/default.css_t
vendored
@ -114,6 +114,16 @@ div.related ul li a:hover {
|
|||||||
text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.5);
|
text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.footer {
|
||||||
|
background-image: url(footerbg.png);
|
||||||
|
color: #ccc;
|
||||||
|
text-shadow: 0 0 .2px rgba(255, 255, 255, 0.8);
|
||||||
|
padding: 3px 8px 3px 0;
|
||||||
|
clear: both;
|
||||||
|
font-size: 0.8em;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
div.sphinxsidebarwrapper {
|
div.sphinxsidebarwrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
@ -192,16 +202,6 @@ div.sphinxsidebar ul ul {
|
|||||||
list-style-image: url(listitem.png);
|
list-style-image: url(listitem.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
div.footer {
|
|
||||||
background-image: url(footerbg.png);
|
|
||||||
color: #ccc;
|
|
||||||
text-shadow: 0 0 .2px rgba(255, 255, 255, 0.8);
|
|
||||||
padding: 3px 8px 3px 0;
|
|
||||||
clear: both;
|
|
||||||
font-size: 0.8em;
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* -- body styles ----------------------------------------------------------- */
|
/* -- body styles ----------------------------------------------------------- */
|
||||||
|
|
||||||
p {
|
p {
|
||||||
@ -416,6 +416,7 @@ div.feedback {
|
|||||||
background-color: {{ theme_feedbackbgcolor }};
|
background-color: {{ theme_feedbackbgcolor }};
|
||||||
color: {{ theme_feedbacktextcolor }};
|
color: {{ theme_feedbacktextcolor }};
|
||||||
padding: 20px 20px 30px 20px;
|
padding: 20px 20px 30px 20px;
|
||||||
|
border-top: 1px solid #002e50;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.feedback h2 {
|
div.feedback h2 {
|
||||||
@ -452,8 +453,7 @@ dl.cfunction > dt:first-child {
|
|||||||
color: #8080B0;
|
color: #8080B0;
|
||||||
}
|
}
|
||||||
|
|
||||||
dl.cfunction > dt:first-child tt.descname
|
dl.cfunction > dt:first-child tt.descname {
|
||||||
{
|
|
||||||
color: #8080B0;
|
color: #8080B0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -470,58 +470,51 @@ table.field-list {
|
|||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*ul.simple {
|
|
||||||
list-style: none;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
em.menuselection, em.guilabel {
|
em.menuselection, em.guilabel {
|
||||||
font-family: {{ theme_guifont }};
|
font-family: {{ theme_guifont }};
|
||||||
}
|
}
|
||||||
|
|
||||||
.enumeratevisibleitemswithsquare ul {
|
.enumeratevisibleitemswithsquare ul {
|
||||||
list-style: square;
|
list-style: square;
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
margin-right: 0px;
|
margin-right: 0px;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.enumeratevisibleitemswithsquare li {
|
.enumeratevisibleitemswithsquare li {
|
||||||
margin-bottom: 0.2em;
|
margin-bottom: 0.2em;
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
margin-right: 0px;
|
margin-right: 0px;
|
||||||
margin-top: 0.2em;
|
margin-top: 0.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.enumeratevisibleitemswithsquare p {
|
.enumeratevisibleitemswithsquare p {
|
||||||
margin-bottom: 0pt;
|
margin-bottom: 0pt;
|
||||||
margin-top: 1pt;
|
margin-top: 1pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
.enumeratevisibleitemswithsquare dl{
|
.enumeratevisibleitemswithsquare dl {
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
margin-right: 0px;
|
margin-right: 0px;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toctableopencv
|
.toctableopencv {
|
||||||
{
|
|
||||||
width: 100% ;
|
width: 100% ;
|
||||||
table-layout: fixed;
|
table-layout: fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toctableopencv colgroup col:first-child
|
.toctableopencv colgroup col:first-child {
|
||||||
{
|
|
||||||
width: 100pt !important;
|
width: 100pt !important;
|
||||||
max-width: 100pt !important;
|
max-width: 100pt !important;
|
||||||
min-width: 100pt !important;
|
min-width: 100pt !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toctableopencv colgroup col:nth-child(2)
|
.toctableopencv colgroup col:nth-child(2) {
|
||||||
{
|
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.body ul.search li {
|
div.body ul.search li {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
@ -531,11 +524,3 @@ div.linenodiv {
|
|||||||
min-width: 1em;
|
min-width: 1em;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.sphinxsidebar #searchbox input[type="text"] {
|
|
||||||
width:auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.sphinxsidebar #searchbox input[type="submit"] {
|
|
||||||
width:auto;
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user