default.css_t 6.78 KB
/**
 * Sphinx stylesheet -- default theme
 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 */

@import url("basic.css");

/* -- page layout ----------------------------------------------------------- */

body {
    font-family: {{ theme_bodyfont }};
    font-size: 100%;
    background-color: {{ theme_footerbgcolor }};
    color: #000;
    margin: 0;
    padding: 0;
}

img.logo {
    width: 150px;
}

div.document {
    background-color: {{ theme_sidebarbgcolor }};
}

div.documentwrapper {
    float: left;
    width: 100%;
}

div.bodywrapper {
    margin: 0 0 0 270px;
}

div.body {
    background-color: {{ theme_bgcolor }};
    color: {{ theme_textcolor }};
    padding: 0 20px 30px 20px;
}

div.feedback {
    background-color: {{ theme_feedbackbgcolor }};
    color: {{ theme_feedbacktextcolor }};
    padding: 20px 20px 30px 20px;
}

div.feedback h2 {
    margin: 10px 0 10px 0;
}

div.feedback a {
    color: {{ theme_feedbacklinkcolor }};
    font-weight: bold;
}

{%- if theme_rightsidebar|tobool %}
div.bodywrapper {
    margin: 0 230px 0 0;
}
{%- endif %}

div.footer {
    color: {{ theme_footertextcolor }};
    width: 100%;
    padding: 9px 0 9px 0;
    text-align: center;
    font-size: 75%;
}

div.footer a {
    color: {{ theme_footertextcolor }};
    text-decoration: underline;
}

div.related {
    background-color: {{ theme_relbarbgcolor }};
    line-height: 30px;
    color: {{ theme_relbartextcolor }};
}

div.related a {
    color: {{ theme_relbarlinkcolor }};
}

div.sphinxsidebar {
    word-wrap: break-word;
    width: 270px;
    {%- if theme_stickysidebar|tobool %}
    top: 30px;
    margin: 0;
    position: fixed;
    overflow: auto;
    height: 100%;
    {%- endif %}
    {%- if theme_rightsidebar|tobool %}
    float: right;
    {%- if theme_stickysidebar|tobool %}
    right: 0;
    {%- endif %}
    {%- endif %}
}

{%- if theme_stickysidebar|tobool %}
/* this is nice, but it it leads to hidden headings when jumping
   to an anchor */
/*
div.related {
    position: fixed;
}

div.documentwrapper {
    margin-top: 30px;
}
*/
{%- endif %}

div.sphinxsidebar h3 {
    font-family: {{ theme_headfont }};
    color: {{ theme_sidebartextcolor }};
    font-size: 1.4em;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

div.sphinxsidebar h3 a {
    color: {{ theme_sidebartextcolor }};
}

div.sphinxsidebar h4 {
    font-family: {{ theme_headfont }};
    color: {{ theme_sidebartextcolor }};
    font-size: 1.3em;
    font-weight: normal;
    margin: 5px 0 0 0;
    padding: 0;
}

div.sphinxsidebar p {
    color: {{ theme_sidebartextcolor }};
}

div.sphinxsidebar p.topless {
    margin: 5px 10px 10px 10px;
}

div.sphinxsidebar ul {
    margin: 10px 0 10px 10px;
    padding: 0;
    color: {{ theme_sidebartextcolor }};
}

div.sphinxsidebar a {
    color: {{ theme_sidebarlinkcolor }};
}

div.sphinxsidebar input {
    border: 1px solid {{ theme_sidebarlinkcolor }};
    font-family: sans-serif;
    font-size: 1em;
}

/* -- body styles ----------------------------------------------------------- */

a {
    color: {{ theme_linkcolor }};
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

div.body p, div.body dd, div.body li {
    text-align: justify;
    line-height: 130%;
    margin-top: 1em;
    margin-bottom: 1em;
}

div.toctree-wrapper li, ul.simple li {
    margin:0;
}

div.body h1,
div.body h2,
div.body h3,
div.body h4,
div.body h5,
div.body h6 {
    font-family: {{ theme_headfont }};
    background-color: {{ theme_headbgcolor }};
    font-weight: normal;
    color: {{ theme_headtextcolor }};
    border-bottom: 1px solid #ccc;
    margin: 20px -20px 10px -20px;
    padding: 3px 0 3px 10px;
}

a.toc-backref, a.toc-backref:hover {
    font-family: {{ theme_headfont }};
    background-color: {{ theme_headbgcolor }};
    font-weight: normal;
    color: {{ theme_headtextcolor }};
    text-decoration: none;
}

div.body h1 { margin-top: 0; font-size: 200%; }
div.body h2 { font-size: 160%; }
div.body h3 { font-size: 140%; }
div.body h4 { font-size: 120%; }
div.body h5 { font-size: 110%; }
div.body h6 { font-size: 100%; }

a.headerlink {
    color: {{ theme_headlinkcolor }};
    font-size: 0.8em;
    padding: 0 4px 0 4px;
    text-decoration: none;
}

a.headerlink:hover {
    background-color: {{ theme_headlinkcolor }};
    color: white;
}


div.body p, div.body dd, div.body li {
    text-align: justify;
    line-height: 130%;
}

div.admonition p.admonition-title + p {
    display: inline;
}

div.note {
    background-color: #eee;
    border: 1px solid #ccc;
}

div.seealso {
    background-color: #ffc;
    border: 1px solid #ff6;
}

div.topic {
    background-color: #eee;
}

div.warning {
    background-color: #ffe4e4;
    border: 1px solid #f66;
}

p.admonition-title {
    display: inline;
}

p.admonition-title:after {
    content: ":";
}

pre {
    padding: 5px;
    background-color: {{ theme_codebgcolor }};
    color: {{ theme_codetextcolor }};
    line-height: 120%;
    border: 1px solid #ace;
    border-left: none;
    border-right: none;
}

tt {
    color: {{ theme_headtextcolor }};
    /*background-color: #ecf0f3;*/
    padding: 0 1px 0 1px;
    font-size: 1.2em;
}

tt.descname {
    color: {{ theme_headtextcolor }};
    /*background-color: #ecf0f3;*/
    padding: 0 1px 0 1px;
    font-size: 1.4em;
}

div.math p {
    margin-top: 10px;
    margin-bottom: 10px;
}

dl.function > dt:first-child {
    margin-bottom: 7px;
}

dl.cfunction > dt:first-child {
    margin-bottom: 7px;
    color: #8080B0;
}

dl.cfunction > dt:first-child tt.descname
{
    color: #8080B0;
}


dl.pyfunction > dt:first-child {
    margin-bottom: 7px;
}

dl.pyoldfunction > dt:first-child {
    margin-bottom: 7px;
    color: #8080B0;
}

dl.pyoldfunction > dt:first-child tt.descname
{
    color: #8080B0;
}

dl.pyoldfunction > dt:first-child tt.descclassname
{
    color: #8080B0;
}

dl.jfunction > dt:first-child {
    margin-bottom: 7px;
}

table.field-list {
    margin-top: 20px;
}

/*ul.simple {
    list-style: none;
}*/

em.menuselection, em.guilabel {
    font-family: {{ theme_guifont }};
}

.enumeratevisibleitemswithsquare ul {
list-style: square;
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
}

.enumeratevisibleitemswithsquare li {
margin-bottom: 0.2em;
margin-left: 0px;
margin-right: 0px;
margin-top: 0.2em;
 }

 .enumeratevisibleitemswithsquare p {
 margin-bottom: 0pt;
 margin-top: 1pt;
 }

 .enumeratevisibleitemswithsquare dl{
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
 }

 .toctableopencv
 {
   width: 100% ;
   table-layout: fixed;
 }


  .toctableopencv colgroup col:first-child
  {
    width: 100pt !important;
    max-width: 100pt !important;
    min-width: 100pt !important;
  }

  .toctableopencv colgroup col:nth-child(2)
  {
    width: 100% !important;
  }

div.body ul.search li {
    text-align: left;
}

div.linenodiv {
    min-width: 1em;
    text-align: right;
}