mirror of
https://github.com/triqs/dft_tools
synced 2024-12-27 23:03:51 +01:00
520 lines
8.1 KiB
Plaintext
520 lines
8.1 KiB
Plaintext
|
/*
|
||
|
* agogo.css_t
|
||
|
* ~~~~~~~~~~~
|
||
|
*
|
||
|
* Sphinx stylesheet -- agogo theme.
|
||
|
*
|
||
|
* :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
|
||
|
* :license: BSD, see LICENSE for details.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
* {
|
||
|
margin: 0px;
|
||
|
padding: 0px;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
font-family: {{ theme_bodyfont }};
|
||
|
font-size: 100%; // TRIQS
|
||
|
line-height: 1.0em; // TRIQS
|
||
|
color: black;
|
||
|
background-color: {{ theme_bgcolor }};
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Page layout */
|
||
|
|
||
|
div.header, div.content, div.footer {
|
||
|
width: {{ theme_pagewidth }};
|
||
|
margin-left: auto;
|
||
|
margin-right: auto;
|
||
|
}
|
||
|
|
||
|
div.header-wrapper {
|
||
|
background: {{ theme_headerbg }};
|
||
|
border-bottom: 3px solid #2e3436;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Default body styles */
|
||
|
a {
|
||
|
color: {{ theme_linkcolor }};
|
||
|
}
|
||
|
|
||
|
div.bodywrapper a, div.footer a {
|
||
|
text-decoration: none; // TRIQS
|
||
|
}
|
||
|
|
||
|
div.bodywrapper a:hover, div.footer a:hover {
|
||
|
text-decoration: underline; // TRIQS
|
||
|
}
|
||
|
|
||
|
.clearer {
|
||
|
clear: both;
|
||
|
}
|
||
|
|
||
|
.left {
|
||
|
float: left;
|
||
|
}
|
||
|
|
||
|
.right {
|
||
|
float: right;
|
||
|
}
|
||
|
|
||
|
.line-block {
|
||
|
display: block;
|
||
|
margin-top: 1em;
|
||
|
margin-bottom: 1em;
|
||
|
}
|
||
|
|
||
|
.line-block .line-block {
|
||
|
margin-top: 0;
|
||
|
margin-bottom: 0;
|
||
|
margin-left: 1.5em;
|
||
|
}
|
||
|
|
||
|
h1, h2, h3, h4 {
|
||
|
font-family: {{ theme_headerfont }};
|
||
|
font-weight: normal;
|
||
|
color: {{ theme_headercolor2 }};
|
||
|
margin-bottom: .8em;
|
||
|
}
|
||
|
|
||
|
h1 {
|
||
|
color: {{ theme_headercolor1 }};
|
||
|
}
|
||
|
|
||
|
h2 {
|
||
|
padding-bottom: .5em;
|
||
|
border-bottom: 1px solid {{ theme_headercolor2 }};
|
||
|
}
|
||
|
|
||
|
a.headerlink {
|
||
|
visibility: hidden;
|
||
|
color: #dddddd;
|
||
|
padding-left: .3em;
|
||
|
}
|
||
|
|
||
|
h1:hover > a.headerlink,
|
||
|
h2:hover > a.headerlink,
|
||
|
h3:hover > a.headerlink,
|
||
|
h4:hover > a.headerlink,
|
||
|
h5:hover > a.headerlink,
|
||
|
h6:hover > a.headerlink,
|
||
|
dt:hover > a.headerlink {
|
||
|
visibility: visible;
|
||
|
}
|
||
|
|
||
|
img {
|
||
|
border: 0;
|
||
|
}
|
||
|
|
||
|
div.admonition {
|
||
|
margin-top: 10px;
|
||
|
margin-bottom: 10px;
|
||
|
padding: 2px 7px 1px 7px;
|
||
|
border-left: 0.2em solid black;
|
||
|
}
|
||
|
|
||
|
p.admonition-title {
|
||
|
margin: 0px 10px 5px 0px;
|
||
|
font-weight: bold;
|
||
|
color: red; // TRIQS
|
||
|
}
|
||
|
|
||
|
dt:target, .highlighted {
|
||
|
background-color: #fbe54e;
|
||
|
}
|
||
|
|
||
|
/* Header */
|
||
|
|
||
|
div.header {
|
||
|
padding-top: 10px;
|
||
|
padding-bottom: 10px;
|
||
|
}
|
||
|
|
||
|
div.header h1 {
|
||
|
font-family: {{ theme_headerfont }};
|
||
|
font-weight: normal;
|
||
|
font-size: 180%;
|
||
|
letter-spacing: .08em;
|
||
|
}
|
||
|
|
||
|
div.header h1 a {
|
||
|
color: white;
|
||
|
}
|
||
|
|
||
|
div.header div.rel {
|
||
|
margin-top: -1em; // TRIQS
|
||
|
}
|
||
|
|
||
|
div.header div.rel a {
|
||
|
color: {{ theme_headerlinkcolor }};
|
||
|
letter-spacing: .1em;
|
||
|
text-transform: uppercase;
|
||
|
}
|
||
|
|
||
|
p.logo {
|
||
|
float: right;
|
||
|
}
|
||
|
|
||
|
img.logo {
|
||
|
border: 0;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Content */
|
||
|
div.content-wrapper {
|
||
|
background-color: white;
|
||
|
padding-top: 20px;
|
||
|
padding-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
div.document {
|
||
|
width: {{ theme_documentwidth }};
|
||
|
float: left;
|
||
|
}
|
||
|
|
||
|
div.body {
|
||
|
padding-right: 2em;
|
||
|
text-align: {{ theme_textalign }};
|
||
|
}
|
||
|
|
||
|
div.document ul {
|
||
|
margin: 1.5em;
|
||
|
list-style-type: square;
|
||
|
}
|
||
|
|
||
|
div.document dd {
|
||
|
margin-left: 1.2em;
|
||
|
margin-top: .4em;
|
||
|
margin-bottom: 1em;
|
||
|
}
|
||
|
|
||
|
div.document .section {
|
||
|
margin-top: 1.7em;
|
||
|
}
|
||
|
div.document .section:first-child {
|
||
|
margin-top: 0px;
|
||
|
}
|
||
|
|
||
|
div.document div.highlight {
|
||
|
line-height: 1.0em; // TRIQS
|
||
|
padding: 3px;
|
||
|
background-color: #eeeeec;
|
||
|
border-top: 2px solid #dddddd;
|
||
|
border-bottom: 2px solid #dddddd;
|
||
|
margin-top: .8em;
|
||
|
margin-bottom: .8em;
|
||
|
}
|
||
|
|
||
|
div.document h2 {
|
||
|
margin-top: .7em;
|
||
|
}
|
||
|
|
||
|
div.document p {
|
||
|
margin-bottom: .5em;
|
||
|
}
|
||
|
|
||
|
div.document li.toctree-l1 {
|
||
|
margin-bottom: 0em; // TRIQS
|
||
|
}
|
||
|
div.document li.toctree-l2 {
|
||
|
margin-bottom: 0em; // TRIQS
|
||
|
}
|
||
|
|
||
|
div.document .descname {
|
||
|
font-weight: bold;
|
||
|
color: blue; // TRIQS
|
||
|
}
|
||
|
|
||
|
div.document .docutils.literal {
|
||
|
background-color: #eeeeec;
|
||
|
padding: 1px;
|
||
|
}
|
||
|
|
||
|
div.document .docutils.xref.literal {
|
||
|
background-color: transparent;
|
||
|
padding: 0px;
|
||
|
}
|
||
|
|
||
|
div.document blockquote {
|
||
|
margin: 1em;
|
||
|
}
|
||
|
|
||
|
div.document ol {
|
||
|
margin: 1.5em;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Sidebar */
|
||
|
|
||
|
div.sidebar {
|
||
|
width: {{ theme_sidebarwidth }};
|
||
|
float: right;
|
||
|
font-size: .9em;
|
||
|
}
|
||
|
|
||
|
div.sidebar a, div.header a {
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
div.sidebar a:hover, div.header a:hover {
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
|
||
|
div.sidebar h3 {
|
||
|
color: #2e3436;
|
||
|
text-transform: uppercase;
|
||
|
font-size: 130%;
|
||
|
letter-spacing: .1em;
|
||
|
}
|
||
|
|
||
|
div.sidebar ul {
|
||
|
list-style-type: none;
|
||
|
}
|
||
|
|
||
|
div.sidebar li.toctree-l1 a {
|
||
|
display: block;
|
||
|
padding: 1px;
|
||
|
border: 1px solid #dddddd;
|
||
|
background-color: #eeeeec;
|
||
|
margin-bottom: .4em;
|
||
|
padding-left: 3px;
|
||
|
color: #2e3436;
|
||
|
}
|
||
|
|
||
|
div.sidebar li.toctree-l2 a {
|
||
|
background-color: transparent;
|
||
|
border: none;
|
||
|
margin-left: 1em;
|
||
|
border-bottom: 1px solid #dddddd;
|
||
|
}
|
||
|
|
||
|
div.sidebar li.toctree-l3 a {
|
||
|
background-color: transparent;
|
||
|
border: none;
|
||
|
margin-left: 2em;
|
||
|
border-bottom: 1px solid #dddddd;
|
||
|
}
|
||
|
|
||
|
div.sidebar li.toctree-l2:last-child a {
|
||
|
border-bottom: none;
|
||
|
}
|
||
|
|
||
|
div.sidebar li.toctree-l1.current a {
|
||
|
border-right: 5px solid {{ theme_headerlinkcolor }};
|
||
|
}
|
||
|
|
||
|
div.sidebar li.toctree-l1.current li.toctree-l2 a {
|
||
|
border-right: none;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Footer */
|
||
|
|
||
|
div.footer-wrapper {
|
||
|
background: {{ theme_footerbg }};
|
||
|
border-top: 4px solid #babdb6;
|
||
|
padding-top: 10px;
|
||
|
padding-bottom: 10px;
|
||
|
min-height: 80px;
|
||
|
}
|
||
|
|
||
|
div.footer, div.footer a {
|
||
|
color: #888a85;
|
||
|
}
|
||
|
|
||
|
div.footer .right {
|
||
|
text-align: right;
|
||
|
}
|
||
|
|
||
|
div.footer .left {
|
||
|
text-transform: uppercase;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Styles copied from basic theme */
|
||
|
|
||
|
/* -- search page ----------------------------------------------------------- */
|
||
|
|
||
|
ul.search {
|
||
|
margin: 10px 0 0 20px;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
ul.search li {
|
||
|
padding: 5px 0 5px 20px;
|
||
|
background-image: url(file.png);
|
||
|
background-repeat: no-repeat;
|
||
|
background-position: 0 7px;
|
||
|
}
|
||
|
|
||
|
ul.search li a {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
ul.search li div.context {
|
||
|
color: #888;
|
||
|
margin: 2px 0 0 30px;
|
||
|
text-align: left;
|
||
|
}
|
||
|
|
||
|
ul.keywordmatches li.goodmatch a {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
/* -- index page ------------------------------------------------------------ */
|
||
|
|
||
|
table.contentstable {
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
table.contentstable td {
|
||
|
padding: 10px 10px 10px 0;
|
||
|
}
|
||
|
|
||
|
table.contentstable p.biglink {
|
||
|
line-height: 150%;
|
||
|
text-align: left;
|
||
|
}
|
||
|
|
||
|
a.biglink {
|
||
|
font-size: 1.3em;
|
||
|
}
|
||
|
|
||
|
span.linkdescr {
|
||
|
font-style: italic;
|
||
|
padding-top: 5px;
|
||
|
font-size: 90%;
|
||
|
}
|
||
|
|
||
|
/* -- general index --------------------------------------------------------- */
|
||
|
|
||
|
table.indextable td {
|
||
|
text-align: left;
|
||
|
vertical-align: top;
|
||
|
}
|
||
|
|
||
|
table.indextable dl, table.indextable dd {
|
||
|
margin-top: 0;
|
||
|
margin-bottom: 0;
|
||
|
}
|
||
|
|
||
|
table.indextable tr.pcap {
|
||
|
height: 10px;
|
||
|
}
|
||
|
|
||
|
table.indextable tr.cap {
|
||
|
margin-top: 10px;
|
||
|
background-color: #f2f2f2;
|
||
|
}
|
||
|
|
||
|
img.toggler {
|
||
|
margin-right: 3px;
|
||
|
margin-top: 3px;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
/* -- viewcode extension ---------------------------------------------------- */
|
||
|
|
||
|
.viewcode-link {
|
||
|
float: right;
|
||
|
}
|
||
|
|
||
|
.viewcode-back {
|
||
|
float: right;
|
||
|
font-family:: {{ theme_bodyfont }};
|
||
|
}
|
||
|
|
||
|
div.viewcode-block:target {
|
||
|
margin: -1px -3px;
|
||
|
padding: 0 3px;
|
||
|
background-color: #f4debf;
|
||
|
border-top: 1px solid #ac9;
|
||
|
border-bottom: 1px solid #ac9;
|
||
|
}
|
||
|
|
||
|
/* -- added for TRIQS ------------------------------------------------------- */
|
||
|
|
||
|
div.warning {
|
||
|
margin: 1em 0 1em 0;
|
||
|
border: 1px solid #86989B;
|
||
|
background-color: lightpink; //#f7f7f7;
|
||
|
}
|
||
|
|
||
|
div.note {
|
||
|
margin: 1em 0 1em 0;
|
||
|
border: 1px solid #86989B;
|
||
|
background-color: lightcyan; //#f7f7f7;
|
||
|
}
|
||
|
|
||
|
div.note p.admonition-title {
|
||
|
margin: 0px 10px 5px 0px;
|
||
|
font-weight: bold;
|
||
|
color : blue;
|
||
|
}
|
||
|
|
||
|
div.highlight-python {
|
||
|
margin-top : 5px;
|
||
|
margin-bottom : 7px;
|
||
|
background-color: lightcyan; //#f4debf;
|
||
|
}
|
||
|
|
||
|
/* -- math display ---------------------------------------------------------- */
|
||
|
|
||
|
img.math {
|
||
|
vertical-align: middle;
|
||
|
}
|
||
|
|
||
|
div.body div.math p {
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
span.eqno {
|
||
|
float: right;
|
||
|
}
|
||
|
|
||
|
/* -- tables ---------------------------------------------------------------- */
|
||
|
|
||
|
table.docutils {
|
||
|
border: 0;
|
||
|
border-collapse: collapse;
|
||
|
}
|
||
|
|
||
|
table.docutils head {
|
||
|
color : blue;
|
||
|
}
|
||
|
|
||
|
table.docutils td, table.docutils th {
|
||
|
padding: 1px 8px 1px 5px;
|
||
|
border-top: 0;
|
||
|
border-left: 0;
|
||
|
border-right: 0;
|
||
|
border-bottom: 1px solid #aaa;
|
||
|
}
|
||
|
|
||
|
table.field-list td, table.field-list th {
|
||
|
border: 0 !important;
|
||
|
}
|
||
|
|
||
|
table.footnote td, table.footnote th {
|
||
|
border: 0 !important;
|
||
|
}
|
||
|
|
||
|
th {
|
||
|
text-align: left;
|
||
|
padding-right: 5px;
|
||
|
}
|
||
|
|
||
|
table.citation {
|
||
|
border-left: solid 1px gray;
|
||
|
margin-left: 1px;
|
||
|
}
|
||
|
|
||
|
table.citation td {
|
||
|
border-bottom: none;
|
||
|
}
|
||
|
|