mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
doc: Update to current version of 'nature' theme
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
This commit is contained in:
parent
f3f78ad52b
commit
4d48d40add
176
doc/_themes/ceph/static/nature.css_t
vendored
176
doc/_themes/ceph/static/nature.css_t
vendored
@ -4,7 +4,7 @@
|
||||
*
|
||||
* Sphinx stylesheet -- nature theme.
|
||||
*
|
||||
* :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
|
||||
* :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
|
||||
* :license: BSD, see LICENSE for details.
|
||||
*
|
||||
*/
|
||||
@ -12,16 +12,14 @@
|
||||
@import url("basic.css");
|
||||
|
||||
/* -- page layout ----------------------------------------------------------- */
|
||||
|
||||
@import url('https://fonts.googleapis.com/css?family=Titillium+Web:400,300,700');
|
||||
|
||||
|
||||
body {
|
||||
font: 14px/1.4 Helvetica, Arial, sans-serif;
|
||||
background-color: #E6E8E8;
|
||||
color: #37424A;
|
||||
font-family: Arial, sans-serif;
|
||||
font-size: 100%;
|
||||
background-color: #fff;
|
||||
color: #555;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-top: 5px solid #F05C56;
|
||||
}
|
||||
|
||||
div.documentwrapper {
|
||||
@ -30,7 +28,7 @@ div.documentwrapper {
|
||||
}
|
||||
|
||||
div.bodywrapper {
|
||||
margin: 0 0 0 330px;
|
||||
margin: 0 0 0 230px;
|
||||
}
|
||||
|
||||
hr {
|
||||
@ -38,17 +36,18 @@ hr {
|
||||
}
|
||||
|
||||
div.document {
|
||||
background-color: #ffffff;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
div.body {
|
||||
background-color: #ffffff;
|
||||
color: #3E4349;
|
||||
padding: 0 30px 30px 30px;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
div.footer {
|
||||
color: #222B31;
|
||||
color: #555;
|
||||
width: 100%;
|
||||
padding: 13px 0;
|
||||
text-align: center;
|
||||
@ -61,46 +60,36 @@ div.footer a {
|
||||
}
|
||||
|
||||
div.related {
|
||||
background-color: #80D2DC;
|
||||
background-color: #6BA81E;
|
||||
line-height: 32px;
|
||||
color: #37424A;
|
||||
// text-shadow: 0px 1px 0 #444;
|
||||
font-size: 100%;
|
||||
border-top: #9C4850 5px solid;
|
||||
color: #fff;
|
||||
text-shadow: 0px 1px 0 #444;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
div.related a {
|
||||
color: #37424A;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
div.related a:hover {
|
||||
color: #fff;
|
||||
// text-decoration: underline;
|
||||
color: #E2F3CC;
|
||||
}
|
||||
|
||||
div.sphinxsidebar {
|
||||
// font-size: 100%;
|
||||
font-size: 0.75em;
|
||||
line-height: 1.5em;
|
||||
width: 330px;
|
||||
}
|
||||
|
||||
div.sphinxsidebarwrapper{
|
||||
padding: 20px 0;
|
||||
background-color: #efefef;
|
||||
}
|
||||
|
||||
div.sphinxsidebar h3,
|
||||
div.sphinxsidebar h4 {
|
||||
font-family: 'Titillium Web', sans-serif;
|
||||
color: #e6e8e8;
|
||||
font-family: Arial, sans-serif;
|
||||
color: #222;
|
||||
font-size: 1.2em;
|
||||
font-weight: 500;
|
||||
font-weight: normal;
|
||||
margin: 0;
|
||||
padding: 5px 10px;
|
||||
background-color: #5e6a71;
|
||||
// text-shadow: 1px 1px 0 white;
|
||||
text-transform: uppercase;
|
||||
background-color: #ddd;
|
||||
text-shadow: 1px 1px 0 white
|
||||
}
|
||||
|
||||
div.sphinxsidebar h4{
|
||||
@ -108,7 +97,7 @@ div.sphinxsidebar h4{
|
||||
}
|
||||
|
||||
div.sphinxsidebar h3 a {
|
||||
color: #e6e8e8;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
|
||||
@ -121,7 +110,7 @@ div.sphinxsidebar p.topless {
|
||||
}
|
||||
|
||||
div.sphinxsidebar ul {
|
||||
margin: 10px 5px 10px 20px;
|
||||
margin: 10px 20px;
|
||||
padding: 0;
|
||||
color: #000;
|
||||
}
|
||||
@ -136,19 +125,20 @@ div.sphinxsidebar input {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
div.sphinxsidebar input[type=text]{
|
||||
div.sphinxsidebar .searchformwrapper {
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
|
||||
/* -- body styles ----------------------------------------------------------- */
|
||||
|
||||
a {
|
||||
color: #F05C56;
|
||||
color: #005B81;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
a:hover {
|
||||
color: #F05C56;
|
||||
color: #E32E00;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
@ -158,23 +148,21 @@ div.body h3,
|
||||
div.body h4,
|
||||
div.body h5,
|
||||
div.body h6 {
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: #BED4EB;
|
||||
font-weight: normal;
|
||||
color: #212224;
|
||||
margin: 30px 0px 10px 0px;
|
||||
padding: 5px 0 5px 0px;
|
||||
text-transform: uppercase;
|
||||
padding: 5px 0 5px 10px;
|
||||
text-shadow: 0px 1px 0 white
|
||||
}
|
||||
|
||||
div.body h1 { font: 20px/2.0 'Titillium Web'; color: #37424A; border-top: 20px solid white; margin-top: 0; }
|
||||
div.body h2 { font: 18px/1.8 'Titillium Web'; background-color: #5E6A71; color: #E6E8E8; padding: 5px 10px; }
|
||||
div.body h3 { font: 16px/1.6 'Titillium Web'; color: #37424A; }
|
||||
div.body h4 { font: 14px/1.4 Helvetica, Arial, sans-serif; color: #37424A; }
|
||||
div.body h5 { font: 12px/1.2 Helvetica, Arial, sans-serif; color: #37424A; }
|
||||
div.body h6 { font-size: 100%; color: #37424A; }
|
||||
|
||||
// div.body h2 { font-size: 150%; background-color: #E6E8E8; color: #37424A; }
|
||||
// div.body h3 { font-size: 120%; background-color: #E6E8E8; color: #37424A; }
|
||||
// div.body h4 { font-size: 110%; background-color: #E6E8E8; color: #37424A; }
|
||||
// div.body h5 { font-size: 100%; background-color: #E6E8E8; color: #37424A; }
|
||||
// div.body h6 { font-size: 100%; background-color: #E6E8E8; color: #37424A; }
|
||||
div.body h1 { border-top: 20px solid white; margin-top: 0; font-size: 200%; }
|
||||
div.body h2 { font-size: 150%; background-color: #C8D5E3; }
|
||||
div.body h3 { font-size: 120%; background-color: #D8DEE3; }
|
||||
div.body h4 { font-size: 110%; background-color: #D8DEE3; }
|
||||
div.body h5 { font-size: 100%; background-color: #D8DEE3; }
|
||||
div.body h6 { font-size: 100%; background-color: #D8DEE3; }
|
||||
|
||||
a.headerlink {
|
||||
color: #c60f0f;
|
||||
@ -196,12 +184,12 @@ div.admonition p.admonition-title + p {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
div.highlight {
|
||||
div.highlight{
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
div.note {
|
||||
background-color: #e6e8e8;
|
||||
background-color: #eee;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
@ -211,17 +199,12 @@ div.seealso {
|
||||
}
|
||||
|
||||
div.topic {
|
||||
background-color: #efefef;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
div.warning {
|
||||
background-color: #F05C56;
|
||||
border: 1px solid #9C4850;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
div.warning a {
|
||||
color: black;
|
||||
background-color: #ffe4e4;
|
||||
border: 1px solid #f66;
|
||||
}
|
||||
|
||||
p.admonition-title {
|
||||
@ -237,18 +220,18 @@ pre {
|
||||
background-color: White;
|
||||
color: #222;
|
||||
line-height: 1.2em;
|
||||
border: 1px solid #5e6a71;
|
||||
border: 1px solid #C6C9CB;
|
||||
font-size: 1.1em;
|
||||
margin: 1.5em;
|
||||
-webkit-box-shadow: 1px 1px 1px #e6e8e8;
|
||||
-moz-box-shadow: 1px 1px 1px #e6e8e8;
|
||||
margin: 1.5em 0 1.5em 0;
|
||||
-webkit-box-shadow: 1px 1px 1px #d8d8d8;
|
||||
-moz-box-shadow: 1px 1px 1px #d8d8d8;
|
||||
}
|
||||
|
||||
tt {
|
||||
code {
|
||||
background-color: #ecf0f3;
|
||||
color: #222;
|
||||
/* padding: 1px 2px; */
|
||||
font-size: 15px;
|
||||
font-size: 1.1em;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
@ -262,53 +245,8 @@ div.viewcode-block:target {
|
||||
border-bottom: 1px solid #ac9;
|
||||
}
|
||||
|
||||
table.docutils {
|
||||
margin: 1.5em;
|
||||
}
|
||||
|
||||
div.sidebar {
|
||||
border: 1px solid #5E6A71;
|
||||
background-color: #E6E8E8;
|
||||
}
|
||||
|
||||
div.admonition.tip {
|
||||
background-color: #80D2DC;
|
||||
border: 1px solid #55AEBA;
|
||||
}
|
||||
|
||||
div.admonition.important {
|
||||
background-color: #F05C56;
|
||||
border: 1px solid #9C4850;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
div.admonition.important a {
|
||||
color: #E6E8E8;
|
||||
}
|
||||
|
||||
div.tip tt.literal {
|
||||
background-color: #55aeba;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
div.important tt.literal {
|
||||
background-color: #9C4850;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
h2 .literal {
|
||||
color: #fff;
|
||||
background-color: #37424a;
|
||||
}
|
||||
|
||||
dl.glossary dt {
|
||||
font-size: 1.0em;
|
||||
padding-top:20px;
|
||||
|
||||
}
|
||||
|
||||
p.breathe-sectiondef-title {
|
||||
font-size: 1.3em;
|
||||
font-weight: bold;
|
||||
border-bottom: thin solid #5E6A71;
|
||||
}
|
||||
div.code-block-caption {
|
||||
background-color: #ddd;
|
||||
color: #222;
|
||||
border: 1px solid #C6C9CB;
|
||||
}
|
Loading…
Reference in New Issue
Block a user