Files
ortools-clone/documentation/user_manual/_static/default.css
nikolaj.van.omme@gmail.com af380d653d Doc automatic update
2014-10-27 15:50:02 +00:00

341 lines
5.9 KiB
CSS

/*
* default.css_t
* ~~~~~~~~~~~~~
*
* Sphinx stylesheet -- default theme.
*
* :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
@import url("basic.css");
/* -- page layout ----------------------------------------------------------- */
body {
font-family: Tahoma, Geneva, sans-serif;
font-size: 100%;
background-color: #FFFFFF;/* color of copyright */
color: #000000;
margin: 0;
padding: 0;
}
div.document {
background-color: #D8D8D8 ;
/* background-color: #FFFFFF ; */
}
div.documentwrapper {
float: left;
width: 100%;
}
div.bodywrapper {
margin: 0 0 0 270px;
}
div.body {
background-color: #ffffff;
color: #000000;
padding: 0 20px 30px 20px;
}
/* margin should correspond to sidebar width in basic.css */
div.bodywrapper {
margin: 0 300px 0 0;
}
div.footer {
color: #000000;
width: 100%;
padding: 9px 0 9px 0;
text-align: center;
font-size: 75%;
}
div.footer a {
color: #AD1B01;
text-decoration: underline;
}
div.related {
background-color: #AD1B01;
line-height: 30px;
color: #ffffff;
}
div.related a {
color: #ffffff;
}
div.sphinxsidebar {
/* top: 30px;
bottom: 0;
margin: 0;
position: fixed;
overflow: auto;
height: auto; */
float: right;
right: 0;
}
/* this is nice, but it it leads to hidden headings when jumping
to an anchor */
/*
div.related {
position: fixed;
}
div.documentwrapper {
margin-top: 30px;
}
*/
div.sphinxsidebar h1 {
font-family: 'Trebuchet MS', sans-serif;
color: #AD1B01;
font-size: 2.5em;
font-weight: bold;
margin-top: -5px;
margin-bottom: 10px;
padding: 4px;
text-align: center;
}
div.sphinxsidebar h2 {
font-family: 'Trebuchet MS', sans-serif;
color: #AD1B01;
font-size: 1.8em;
font-weight: bold;
margin: 0;
padding: 4px;
text-align: center;
;
}
div.sphinxsidebar h3 {
font-family: 'Trebuchet MS', sans-serif;
color: #AD1B01;
font-size: 1.4em;
font-weight: normal;
margin: 0;
padding: 0;
}
div.sphinxsidebar h3 a {
color: #AD1B01;
}
div.sphinxsidebar h4 {
font-family: 'Trebuchet MS', sans-serif;
color: #9A0303;
font-size: 1.3em;
font-weight: normal;
margin: 5px 0 0 0;
padding: 0;
}
div.sphinxsidebar h5 {
font-family: 'Trebuchet MS', sans-serif;
color: #9A0303;
font-size: 1em;
font-weight: normal;
margin: 7px 0 0 0;
padding: 0;
}
div.sphinxsidebar p.library_name {
color: #AD1B01;
text-align: center;
}
div.sphinxsidebar p.topless {
margin: 5px 10px 10px 10px;
}
div.sphinxsidebar ul {
margin: 10px;
padding: 0;
color: #909090;
}
div.sphinxsidebar a {
color: #D80000;
}
div.sphinxsidebar input {
border: 1px solid #D80000;
font-family: sans-serif;
font-size: 1em;
}
/* -- hyperlink styles ------------------------------------------------------ */
a {
color: #355f7c;
text-decoration: none;
}
a:visited {
color: #355f7c;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* -- body styles ----------------------------------------------------------- */
div.body h1,
div.body h2,
div.body h3,
div.body h4,
div.body h5,
div.body h6 {
font-family: 'Trebuchet MS', sans-serif;
background-color: #FFFFFF;
font-weight: normal;
color: #20435c;
border-bottom: 1px solid #ccc;
margin: 20px -20px 10px -20px;
padding: 3px 0 3px 10px;
}
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: #c60f0f;
font-size: 0.8em;
padding: 0 4px 0 4px;
text-decoration: none;
}
a.headerlink:hover {
background-color: #c60f0f;
color: white;
}
div.body p, div.body dd, div.body li {
text-align: justify;
line-height: 130%;
}
/* To get rid of the admonition title */
div.admonition p.admonition-title {
display: none;
}
div.admonition p.admonition-title + p {
display: inline;
}
div.admonition p {
margin-bottom: 5px;
}
div.admonition pre {
margin-bottom: 5px;
}
div.admonition ul, div.admonition ol {
margin-bottom: 5px;
}
/* ------------------------------------------------------------------------- */
/* Taken from the pyramid theme */
div.seealso, div.warning, div.note, div.topic {
border: 1px solid;
margin: 10px 0px;
padding:15px 10px 15px 50px;
background-repeat: no-repeat;
background-position: 10px center;
}
div.note {
color: #9F6000;
background-color: #FEEFB3;
background-image: url('dialog-note.png');
}
div.seealso {
color: #4F8A10;
background-color: #DFF2BF;
background-image: url('dialog-seealso.png');
}
div.topic {
color: #00529B;
background-color: #E9F8FF; /* #BDE5F8 */
background-image: url('dialog-topic.png');
}
div.warning {
color: #AD1B01; /*#000000;#D8000C;*/
background-color: #FFDCDC ; /* #FFC0C0; #FFFFFF; #EFC2C2; #FFD2CE; #FFBABA; */
background-image:url('dialog-warning.png');
}
/* ------------------------------------------------------------------------- */
p.admonition-title {
display: inline;
}
p.admonition-title:after {
content: ":";
}
pre {
padding: 5px;
/* background-color: #F8F8F8; */
/* color: #333333;*/
line-height: 120%;
border: 1px solid #ac9;
border-left: none;
border-right: none;
}
/* code */
tt {
/* background-color: #FFFFFF; */
/* color: #112A7C;*/
padding: 0 1px 0 1px;
font-size: 130%;
}
th {
background-color: #ede;
}
.warning tt {
background: #FFC0C0; /*#efc2c2;*/
}
.note tt {
background: #d6d6d6;
}
.viewcode-back {
font-family: Tahoma, Geneva, sans-serif;
}
div.viewcode-block:target {
background-color: #f4debf;
border-top: 1px solid #ac9;
border-bottom: 1px solid #ac9;
}