599 lines
11 KiB
CSS
599 lines
11 KiB
CSS
/*
|
|
* efl.css
|
|
* ~~~~~~~~
|
|
*
|
|
* EFL dark theme stylesheet
|
|
*
|
|
* Originally based on sphinx13 theme.
|
|
*
|
|
* :copyright: Copyright 2013-2022 by the Python-EFL team, see AUTHORS.
|
|
* :license: LGPL, see COPYING for details.
|
|
*
|
|
*/
|
|
|
|
@import url("basic.css");
|
|
|
|
/* -- main flex layout ----------------------------------------------------- */
|
|
|
|
#layout {
|
|
display: flex;
|
|
}
|
|
#content {
|
|
flex-grow: 1;
|
|
}
|
|
#sidebar {
|
|
flex-grow: 0;
|
|
width: 230px;
|
|
border-left: 1px solid rgb(111,111,111);
|
|
}
|
|
|
|
/* -- page layout ----------------------------------------------------------- */
|
|
|
|
body {
|
|
font-family: 'Open Sans', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva',
|
|
'Verdana', sans-serif;
|
|
font-size: 14px;
|
|
text-align: center;
|
|
background-color: rgb(64,64,64);
|
|
color: white;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.pageheader {
|
|
background: url("header_menu_background.png") repeat scroll 0% 0% transparent;
|
|
width: 90%;
|
|
margin: 0 auto 18px auto;
|
|
min-width: 750px;
|
|
max-width: 1080px;
|
|
}
|
|
|
|
.pageheader ul {
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 63px;
|
|
padding-right: 18px;
|
|
background: url("header_menu_background_last.png") no-repeat scroll right center transparent;
|
|
}
|
|
|
|
.pageheader li {
|
|
float: right;
|
|
}
|
|
|
|
.pageheader li a {
|
|
display: inline-block;
|
|
}
|
|
|
|
.pageheader li a span {
|
|
line-height: 63px;
|
|
text-transform: capitalize;
|
|
color: rgb(255, 255, 255);
|
|
font-size: 10px;
|
|
padding: 0px 14px;
|
|
text-shadow: 0px 1px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.pageheader li.index {
|
|
background: url("header_logo.png") no-repeat scroll 0% 0% transparent;
|
|
float: left;
|
|
height: 63px;
|
|
width: 63px;
|
|
}
|
|
.pageheader li.maintitle {
|
|
float: left;
|
|
font-size: 26px;
|
|
color: #E6E6C8;
|
|
text-shadow: 0px 0px 6px #39F;
|
|
line-height: 63px;
|
|
}
|
|
.pageheader li.current a {
|
|
background: url("header_menu_current_background.png") no-repeat scroll 0% 0% transparent;
|
|
padding-left: 12px;
|
|
}
|
|
|
|
.pageheader li.current a span {
|
|
color: rgb(51, 153, 255);
|
|
text-shadow: 0px 0px 10px;
|
|
}
|
|
|
|
div.document {
|
|
text-align: left;
|
|
border: 1px solid rgb(111,111,111);
|
|
width: 90%;
|
|
margin: 0 auto;
|
|
min-width: 780px;
|
|
max-width: 1080px;
|
|
}
|
|
|
|
div.body {
|
|
padding: 0.5em 20px 20px 20px;
|
|
}
|
|
|
|
div.related {
|
|
font-size: 1em;
|
|
color: white;
|
|
width: 90%;
|
|
margin: 0 auto;
|
|
min-width: 780px;
|
|
max-width: 1080px;
|
|
}
|
|
|
|
div.related ul {
|
|
background-image: url(rel_background.png);
|
|
height: 1.9em;
|
|
border-top: 1px solid rgb(32,32,32);
|
|
border-bottom: 1px solid rgb(32,32,32);
|
|
margin-top: 6px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
div.related ul li {
|
|
margin: 0 5px 0 0;
|
|
padding: 0;
|
|
float: left;
|
|
}
|
|
|
|
div.related ul li.right {
|
|
float: right;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
div.related ul li a {
|
|
margin: 0;
|
|
padding: 0 5px 0 5px;
|
|
line-height: 1.75em;
|
|
color: rgb(249,249,240);
|
|
}
|
|
|
|
div.related ul li a:hover {
|
|
color: white;
|
|
}
|
|
|
|
|
|
/* -- sidebar ------------------------------------------------------------- */
|
|
|
|
div.sphinxsidebar {
|
|
margin: 0;
|
|
padding: 0;
|
|
float: none;
|
|
font-size: 1em;
|
|
text-align: left;
|
|
position: sticky;
|
|
top: 0;
|
|
}
|
|
|
|
div.sphinxsidebarwrapper {
|
|
margin: 0;
|
|
padding: 15px 10px;
|
|
}
|
|
|
|
div.sphinxsidebar .logo {
|
|
text-align: center;
|
|
margin: 0;
|
|
}
|
|
|
|
div.sphinxsidebar .logo img {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
div.sphinxsidebar .download a img {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
div.subscribeformwrapper {
|
|
display: block;
|
|
overflow: auto;
|
|
margin-bottom: 1.2em;
|
|
}
|
|
|
|
div.sphinxsidebar input {
|
|
border: 1px solid rgb(170,170,170);
|
|
font-family: 'Open Sans', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva',
|
|
'Verdana', sans-serif;
|
|
font-size: 1em;
|
|
}
|
|
|
|
div.sphinxsidebar .subscribeform {
|
|
margin-top: 0;
|
|
}
|
|
|
|
div.sphinxsidebar .subscribeform input {
|
|
border: 1px solid #aaa;
|
|
font-size: 0.9em;
|
|
float: left;
|
|
padding: 0.25em 0.5em;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
div.sphinxsidebar .subscribeform input[type="text"] {
|
|
width: 60%;
|
|
}
|
|
|
|
div.sphinxsidebar .subscribeform input[type="submit"] {
|
|
width: 40%;
|
|
border-left: none;
|
|
}
|
|
|
|
div.sphinxsidebar h3 {
|
|
font-size: 1.5em;
|
|
border-top: 1px solid rgb(111,111,111);
|
|
margin-top: 1em;
|
|
margin-bottom: 0.5em;
|
|
padding-top: 0.5em;
|
|
}
|
|
|
|
div.sphinxsidebar h4 {
|
|
font-size: 1.2em;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
div.sphinxsidebar h3,
|
|
div.sphinxsidebar h4
|
|
{
|
|
color: rgb(51, 153, 255);
|
|
font-weight: 300;
|
|
}
|
|
|
|
div.sphinxsidebarwrapper > h3:first-child {
|
|
margin-top: 0.5em;
|
|
border: none;
|
|
}
|
|
|
|
div.sphinxsidebar h3 a {
|
|
color: rgb(51, 153, 255);
|
|
}
|
|
|
|
div.sphinxsidebar ul {
|
|
color: rgb(68,68,68);
|
|
margin-top: 7px;
|
|
padding: 0;
|
|
line-height: 130%;
|
|
}
|
|
|
|
div.sphinxsidebar ul ul {
|
|
margin-left: 20px;
|
|
list-style-image: url(listitem.png);
|
|
}
|
|
|
|
|
|
/* -- footer ----------------------------------------------------------- */
|
|
|
|
div.footer {
|
|
background-image: url(footer_background.png);
|
|
color: rgb(204,204,204);
|
|
text-shadow: 0 0 .2px rgba(255, 255, 255, 0.8);
|
|
padding: 6px;
|
|
clear: both;
|
|
font-size: 0.8em;
|
|
text-align: center;
|
|
height: 50px;
|
|
margin-top: 18px;
|
|
}
|
|
|
|
/* no need to make a visible link to Sphinx on the Sphinx page */
|
|
div.footer a {
|
|
color: rgb(204,204,204);
|
|
}
|
|
|
|
|
|
/* -- body styles ----------------------------------------------------------- */
|
|
|
|
p {
|
|
margin: 0.8em 0 0.5em 0;
|
|
}
|
|
|
|
a {
|
|
color: rgb(170,170,180);
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
color: rgb(200,200,210);
|
|
text-shadow: rgb(51, 153, 255) 0px 0px 6px;
|
|
}
|
|
|
|
div.body a {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0.3em 0;
|
|
font-size: 2.4em;
|
|
color: rgb(51, 153, 255);
|
|
font-weight: 300;
|
|
}
|
|
|
|
h2 {
|
|
margin: 0.8em 0 0 0;
|
|
font-size: 1.5em;
|
|
font-weight: 300;
|
|
padding: 0;
|
|
color: rgb(51, 153, 255);
|
|
}
|
|
|
|
h3 {
|
|
margin: 1em 0 -0.3em 0;
|
|
font-size: 1.3em;
|
|
font-weight: 300;
|
|
}
|
|
|
|
div.body h1 a, div.body h2 a, div.body h3 a, div.body h4 a, div.body h5 a, div.body h6 a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
div.body h1 a tt, div.body h2 a tt, div.body h3 a tt, div.body h4 a tt, div.body h5 a tt, div.body h6 a tt {
|
|
color: rgb(51, 153, 255) !important;
|
|
font-size: inherit !important;
|
|
}
|
|
|
|
a.headerlink {
|
|
color: rgb(10,80,122) !important;
|
|
font-size: 12px;
|
|
margin-left: 6px;
|
|
padding: 0 4px 0 4px;
|
|
text-decoration: none !important;
|
|
float: right;
|
|
}
|
|
|
|
a.headerlink:hover {
|
|
background-color: rgb(204,204,204);
|
|
color: white!important;
|
|
}
|
|
|
|
/* avoid font-size when :mod: role in headings */
|
|
h1 code, h2 code, h3 code, h4 code {
|
|
font-size: inherit;
|
|
}
|
|
|
|
cite, code, tt {
|
|
font-family: 'Consolas', 'DejaVu Sans Mono',
|
|
'Bitstream Vera Sans Mono', monospace;
|
|
font-size: 14px;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
table.deprecated code.literal {
|
|
word-break: break-all;
|
|
}
|
|
|
|
code, tt {
|
|
background-color: rgb(51,51,51);
|
|
border: 1px solid rgb(32,32,32);
|
|
border-radius: 3px;
|
|
color: white;
|
|
padding: 1px 0.2em;
|
|
}
|
|
|
|
.descname, .descclassname, .xref {
|
|
border: 0;
|
|
}
|
|
|
|
.descname {
|
|
color: rgb(200,200,255);
|
|
}
|
|
|
|
.descclassname {
|
|
color: rgb(160,160,255);
|
|
}
|
|
|
|
hr {
|
|
border: 1px solid rgb(170,187,204);
|
|
margin: 2em;
|
|
}
|
|
|
|
a tt, a code{
|
|
border: 0;
|
|
color: rgb(200,200,170);
|
|
}
|
|
|
|
a tt:hover, a code:hover{
|
|
color: rgb(230,230,200);
|
|
}
|
|
|
|
pre {
|
|
font-family: 'Consolas', 'Courier New', 'DejaVu Sans Mono',
|
|
'Bitstream Vera Sans Mono', monospace;
|
|
font-size: 13px;
|
|
letter-spacing: 0.015em;
|
|
line-height: 120%;
|
|
padding: 0.5em;
|
|
border-radius: 6px;
|
|
background-color: rgb(51,51,51);
|
|
}
|
|
|
|
pre a {
|
|
color: inherit;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
td.linenos pre {
|
|
padding: 0.5em 0;
|
|
}
|
|
|
|
div.quotebar {
|
|
background-color: rgb(248,248,248);
|
|
max-width: 250px;
|
|
float: right;
|
|
padding: 0px 7px;
|
|
border: 1px solid rgb(204,204,204);
|
|
margin-left: 1em;
|
|
}
|
|
|
|
div.topic {
|
|
background-color: rgb(248,248,248);
|
|
}
|
|
|
|
table {
|
|
border-collapse: collapse;
|
|
margin: 0 -0.5em 0 -0.5em;
|
|
}
|
|
|
|
table td,
|
|
table th
|
|
{
|
|
padding: 0.2em 0.5em 0.2em 0.5em;
|
|
}
|
|
|
|
div.admonition,
|
|
div.warning
|
|
{
|
|
background-color: rgb(51,51,51);
|
|
}
|
|
|
|
div.admonition > pre,
|
|
div.warning > pre
|
|
{
|
|
margin: 0.4em 1em 0.4em 1em;
|
|
}
|
|
|
|
div.warning {
|
|
border-color: rgb(101,16,16);
|
|
/* background-color: rgb(101,51,51); /*#FFCCCF*/
|
|
}
|
|
|
|
div.admonition > ul,
|
|
div.admonition > ol,
|
|
div.warning > ul,
|
|
div.warning > ol {
|
|
margin: 0.1em 0.5em 0.5em 3em;
|
|
padding: 0;
|
|
}
|
|
|
|
div.admonition div.highlight {
|
|
background: none;
|
|
}
|
|
|
|
.viewcode-back {
|
|
font-family: 'Open Sans', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva',
|
|
'Verdana', sans-serif;
|
|
}
|
|
|
|
div.viewcode-block:target {
|
|
background-color: rgb(244,222,191);
|
|
border-top: 1px solid rgb(170,204,153);
|
|
border-bottom: 1px solid rgb(170,204,153);
|
|
}
|
|
|
|
.contentstable {
|
|
margin-left: 30px;
|
|
margin: 0 auto;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
dt:target, .highlighted {
|
|
background-color: rgb(251,229,78);
|
|
background-image: url(hilight_background.png);
|
|
border-top: 1px solid rgb(32,32,32);
|
|
border-bottom: 1px solid rgb(32,32,32);
|
|
}
|
|
|
|
div.versionchanged span.versionmodified {
|
|
color: rgb(220,220,160);
|
|
text-shadow: 0px 0px 3px rgba(180,180,120,0.6);
|
|
}
|
|
|
|
div.versionadded span.versionmodified {
|
|
color: rgb(100,220,100);
|
|
text-shadow: 0px 0px 3px rgba(60,180,60,0.6);
|
|
}
|
|
|
|
div.deprecated span.versionmodified {
|
|
color: rgb(220,100,60);
|
|
text-shadow: 0px 0px 3px rgba(180,60,20,0.6);
|
|
}
|
|
|
|
|
|
/* Toc tree */
|
|
div.toctree-wrapper ul {
|
|
padding-left: 1.5em;
|
|
list-style-type: disc;
|
|
margin-top: 0.2em;
|
|
margin-bottom: 0.2em;
|
|
}
|
|
|
|
div.toctree-wrapper a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
|
|
/* box for enumerations */
|
|
div#enumerations > div.section, /* older sphinx */
|
|
section#enumerations > section /* newer sphinx */
|
|
{
|
|
border: 1px solid #202020;
|
|
box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
div#enumerations > div.section h3, /* older sphinx */
|
|
section#enumerations > section h3 /* newer sphinx */
|
|
{
|
|
background-color: #333;
|
|
margin-top: 0;
|
|
padding: 2px 4px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
div#enumerations > div.section > dl, /* older sphinx */
|
|
div#enumerations > div.section > p,
|
|
section#enumerations > section > dl, /* newer sphinx */
|
|
section#enumerations > section > p
|
|
{
|
|
padding-left: 1em;
|
|
padding-right: 1em;
|
|
}
|
|
|
|
|
|
/* box for classes */
|
|
dl.class {
|
|
border: 1px solid #202020;
|
|
box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
|
|
padding-bottom: 1em;
|
|
}
|
|
|
|
dl.class > dt {
|
|
font-size: 1.2em;
|
|
background-color: #333;
|
|
padding: 2px 4px;
|
|
}
|
|
|
|
dl.class > dt em {
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
dl.class > dd {
|
|
margin-left: 1em;
|
|
margin-right: 1em;
|
|
}
|
|
|
|
|
|
/* attributes/properties/methods/etc. */
|
|
dl.attribute > dt,
|
|
dl.method > dt,
|
|
dl.function > dt,
|
|
dl.data > dt
|
|
{
|
|
border-bottom: 1px solid #333;
|
|
}
|
|
|
|
dl.attribute > dd,
|
|
dl.method > dd,
|
|
dl.function > dd,
|
|
dl.data > dd
|
|
{
|
|
margin-left: 1em;
|
|
}
|
|
|
|
dl.field-list > dt {
|
|
padding-left: 0;
|
|
}
|
|
|
|
/* -- pygments fix ---------------------------------------------------------- */
|
|
.highlight {
|
|
background: none;
|
|
}
|
|
.highlight .go {
|
|
color: white !important;
|
|
}
|