docs/build/html/_static/epub.css
changeset 78 54aeb42c0d80
equal deleted inserted replaced
77:13f3fb3fc4ef 78:54aeb42c0d80
       
     1 /*
       
     2  * default.css_t
       
     3  * ~~~~~~~~~~~~~
       
     4  *
       
     5  * Sphinx stylesheet -- default theme.
       
     6  *
       
     7  * :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS.
       
     8  * :license: BSD, see LICENSE for details.
       
     9  *
       
    10  */
       
    11 
       
    12 @import url("basic.css");
       
    13 
       
    14 /* -- page layout ----------------------------------------------------------- */
       
    15 
       
    16 body {
       
    17     font-family: {{ theme_bodyfont }};
       
    18     font-size: 100%;
       
    19     background-color: {{ theme_footerbgcolor }};
       
    20     color: #000;
       
    21     margin: 0;
       
    22     padding: 0;
       
    23 }
       
    24 
       
    25 div.document {
       
    26     background-color: {{ theme_sidebarbgcolor }};
       
    27 }
       
    28 
       
    29 div.documentwrapper {
       
    30     float: left;
       
    31     width: 100%;
       
    32 }
       
    33 
       
    34 div.bodywrapper {
       
    35     margin: 0 0 0 230px;
       
    36 }
       
    37 
       
    38 div.body {
       
    39     background-color: {{ theme_bgcolor }};
       
    40     color: {{ theme_textcolor }};
       
    41     padding: 0 20px 30px 20px;
       
    42 }
       
    43 
       
    44 {%- if theme_rightsidebar|tobool %}
       
    45 div.bodywrapper {
       
    46     margin: 0 230px 0 0;
       
    47 }
       
    48 {%- endif %}
       
    49 
       
    50 div.footer {
       
    51     color: {{ theme_footertextcolor }};
       
    52     width: 100%;
       
    53     padding: 9px 0 9px 0;
       
    54     text-align: center;
       
    55     font-size: 75%;
       
    56 }
       
    57 
       
    58 div.footer a {
       
    59     color: {{ theme_footertextcolor }};
       
    60     text-decoration: underline;
       
    61 }
       
    62 
       
    63 div.related {
       
    64     background-color: {{ theme_relbarbgcolor }};
       
    65     line-height: 30px;
       
    66     color: {{ theme_relbartextcolor }};
       
    67 }
       
    68 
       
    69 div.related a {
       
    70     color: {{ theme_relbarlinkcolor }};
       
    71 }
       
    72 
       
    73 div.sphinxsidebar {
       
    74     {%- if theme_stickysidebar|tobool %}
       
    75     top: 30px;
       
    76     bottom: 0;
       
    77     margin: 0;
       
    78     position: fixed;
       
    79     overflow: auto;
       
    80     height: auto;
       
    81     {%- endif %}
       
    82     {%- if theme_rightsidebar|tobool %}
       
    83     float: right;
       
    84     {%- if theme_stickysidebar|tobool %}
       
    85     right: 0;
       
    86     {%- endif %}
       
    87     {%- endif %}
       
    88 }
       
    89 
       
    90 {%- if theme_stickysidebar|tobool %}
       
    91 /* this is nice, but it it leads to hidden headings when jumping
       
    92    to an anchor */
       
    93 /*
       
    94 div.related {
       
    95     position: fixed;
       
    96 }
       
    97 
       
    98 div.documentwrapper {
       
    99     margin-top: 30px;
       
   100 }
       
   101 */
       
   102 {%- endif %}
       
   103 
       
   104 div.sphinxsidebar h3 {
       
   105     font-family: {{ theme_headfont }};
       
   106     color: {{ theme_sidebartextcolor }};
       
   107     font-size: 1.4em;
       
   108     font-weight: normal;
       
   109     margin: 0;
       
   110     padding: 0;
       
   111 }
       
   112 
       
   113 div.sphinxsidebar h3 a {
       
   114     color: {{ theme_sidebartextcolor }};
       
   115 }
       
   116 
       
   117 div.sphinxsidebar h4 {
       
   118     font-family: {{ theme_headfont }};
       
   119     color: {{ theme_sidebartextcolor }};
       
   120     font-size: 1.3em;
       
   121     font-weight: normal;
       
   122     margin: 5px 0 0 0;
       
   123     padding: 0;
       
   124 }
       
   125 
       
   126 div.sphinxsidebar p {
       
   127     color: {{ theme_sidebartextcolor }};
       
   128 }
       
   129 
       
   130 div.sphinxsidebar p.topless {
       
   131     margin: 5px 10px 10px 10px;
       
   132 }
       
   133 
       
   134 div.sphinxsidebar ul {
       
   135     margin: 10px;
       
   136     padding: 0;
       
   137     color: {{ theme_sidebartextcolor }};
       
   138 }
       
   139 
       
   140 div.sphinxsidebar a {
       
   141     color: {{ theme_sidebarlinkcolor }};
       
   142 }
       
   143 
       
   144 div.sphinxsidebar input {
       
   145     border: 1px solid {{ theme_sidebarlinkcolor }};
       
   146     font-family: sans-serif;
       
   147     font-size: 1em;
       
   148 }
       
   149 
       
   150 {% if theme_collapsiblesidebar|tobool %}
       
   151 /* for collapsible sidebar */
       
   152 div#sidebarbutton {
       
   153     background-color: {{ theme_sidebarbtncolor }};
       
   154 }
       
   155 {% endif %}
       
   156 
       
   157 /* -- hyperlink styles ------------------------------------------------------ */
       
   158 
       
   159 a {
       
   160     color: {{ theme_linkcolor }};
       
   161     text-decoration: none;
       
   162 }
       
   163 
       
   164 a:visited {
       
   165     color: {{ theme_visitedlinkcolor }};
       
   166     text-decoration: none;
       
   167 }
       
   168 
       
   169 a:hover {
       
   170     text-decoration: underline;
       
   171 }
       
   172 
       
   173 {% if theme_externalrefs|tobool %}
       
   174 a.external {
       
   175    text-decoration: none;
       
   176    border-bottom: 1px dashed {{ theme_linkcolor }};
       
   177 }
       
   178 
       
   179 a.external:hover {
       
   180    text-decoration: none;
       
   181    border-bottom: none;
       
   182 }
       
   183 
       
   184 a.external:visited {
       
   185     text-decoration: none;
       
   186     border-bottom: 1px dashed {{ theme_visitedlinkcolor }};
       
   187 }
       
   188 {% endif %}
       
   189 
       
   190 /* -- body styles ----------------------------------------------------------- */
       
   191 
       
   192 div.body h1,
       
   193 div.body h2,
       
   194 div.body h3,
       
   195 div.body h4,
       
   196 div.body h5,
       
   197 div.body h6 {
       
   198     font-family: {{ theme_headfont }};
       
   199     background-color: {{ theme_headbgcolor }};
       
   200     font-weight: normal;
       
   201     color: {{ theme_headtextcolor }};
       
   202     border-bottom: 1px solid #ccc;
       
   203     margin: 20px -20px 10px -20px;
       
   204     padding: 3px 0 3px 10px;
       
   205 }
       
   206 
       
   207 div.body h1 { margin-top: 0; font-size: 200%; }
       
   208 div.body h2 { font-size: 160%; }
       
   209 div.body h3 { font-size: 140%; }
       
   210 div.body h4 { font-size: 120%; }
       
   211 div.body h5 { font-size: 110%; }
       
   212 div.body h6 { font-size: 100%; }
       
   213 
       
   214 a.headerlink {
       
   215     color: {{ theme_headlinkcolor }};
       
   216     font-size: 0.8em;
       
   217     padding: 0 4px 0 4px;
       
   218     text-decoration: none;
       
   219 }
       
   220 
       
   221 a.headerlink:hover {
       
   222     background-color: {{ theme_headlinkcolor }};
       
   223     color: white;
       
   224 }
       
   225 
       
   226 div.body p, div.body dd, div.body li {
       
   227     text-align: justify;
       
   228     line-height: 130%;
       
   229 }
       
   230 
       
   231 div.admonition p.admonition-title + p {
       
   232     display: inline;
       
   233 }
       
   234 
       
   235 div.admonition p {
       
   236     margin-bottom: 5px;
       
   237 }
       
   238 
       
   239 div.admonition pre {
       
   240     margin-bottom: 5px;
       
   241 }
       
   242 
       
   243 div.admonition ul, div.admonition ol {
       
   244     margin-bottom: 5px;
       
   245 }
       
   246 
       
   247 div.note {
       
   248     background-color: #eee;
       
   249     border: 1px solid #ccc;
       
   250 }
       
   251 
       
   252 div.seealso {
       
   253     background-color: #ffc;
       
   254     border: 1px solid #ff6;
       
   255 }
       
   256 
       
   257 div.topic {
       
   258     background-color: #eee;
       
   259 }
       
   260 
       
   261 div.warning {
       
   262     background-color: #ffe4e4;
       
   263     border: 1px solid #f66;
       
   264 }
       
   265 
       
   266 p.admonition-title {
       
   267     display: inline;
       
   268 }
       
   269 
       
   270 p.admonition-title:after {
       
   271     content: ":";
       
   272 }
       
   273 
       
   274 pre {
       
   275     padding: 5px;
       
   276     background-color: {{ theme_codebgcolor }};
       
   277     color: {{ theme_codetextcolor }};
       
   278     line-height: 120%;
       
   279     border: 1px solid #ac9;
       
   280     border-left: none;
       
   281     border-right: none;
       
   282 }
       
   283 
       
   284 code {
       
   285     background-color: #ecf0f3;
       
   286     padding: 0 1px 0 1px;
       
   287     font-size: 0.95em;
       
   288 }
       
   289 
       
   290 th {
       
   291     background-color: #ede;
       
   292 }
       
   293 
       
   294 .warning code {
       
   295     background: #efc2c2;
       
   296 }
       
   297 
       
   298 .note code {
       
   299     background: #d6d6d6;
       
   300 }
       
   301 
       
   302 .viewcode-back {
       
   303     font-family: {{ theme_bodyfont }};
       
   304 }
       
   305 
       
   306 div.viewcode-block:target {
       
   307     background-color: #f4debf;
       
   308     border-top: 1px solid #ac9;
       
   309     border-bottom: 1px solid #ac9;
       
   310 }