Files
sqlalchemy/doc/build/static/docs.css
T
Mike Bayer 214efa53a0 css fix
2011-04-17 21:33:44 -04:00

393 lines
5.8 KiB
CSS

body {
background-color: #FDFBFC;
margin:38px;
color:#333333;
}
body, td {
font-family: verdana, sans-serif;
font-size:.9em;
}
h1, h2, h3, h4, h5 {
font-family:Tahoma,Geneva,sans-serif;
font-weight:normal;
font-family:arial,Helvetica, sans-serif;
font-weight:bold;
}
h1 {
font-size:20px;
line-height:22px;
color: #222222;
font-family:arial,Helvetica, sans-serif;
font-weight:normal;
margin: 0;
padding: 0;
}
h1, #topnav h2 {
font-family:Tahoma,Geneva,sans-serif;
font-weight:normal;
}
form {
display:inline;
}
p {
margin-top:10px;
margin-bottom:10px;
}
a {
font-weight:normal;
text-decoration:none;
}
a:link, a:visited, a:active {
color:#0000FF;
}
a:hover {
color:#700000;
}
strong a {
font-weight: bold;
}
.document {
border: solid 1px #ccc;
}
.document h1, .document h2, .document h3, .document h4, .document h5 {
font-size: 1.4em;
}
.document img {
display:block;
margin: 0 auto;
}
.document h1 {
display:none;
}
/* standard page elements */
#search {
float:right;
}
#searchform {
padding:20px;
}
#navbanner {
}
#pagecontrol {
float:right;
width:300px;
}
#pagecontrol ul {
padding:0;
margin:0;
}
#pagecontrol li {
font-size:.9em;
list-style-type:none;
margin:0px;
padding:1px 8px;
}
#topnav {
background-color: #fbfbee;
border: solid 1px #ccc;
padding:10px;
margin:10px 0px 10px 0px;
display:block;
}
#topnav .prevnext {
padding: 5px 0px 0px 0px;
/*font-size: 0.8em*/
}
#topnav h2 {
margin:8px 4px 0px 5px;
font-size:1.6em;
font-weight:normal;
line-height:1.6em;
}
#topnav h3 {
font-weight: bold;
font-size: 1.4em;
margin:0px;
display:inline;
}
#navbanner li,
li.toctree-l1,
li.toctree-l1 li
{
list-style-type:disc;
margin:0px;
padding:1px 8px;
}
#topnav li ul,
li.toctree-l1 ul
{
padding:0px 0px 0px 20px;
}
#topnav li ul li li,
li.toctree-l1 ul li li {
}
.versionheader {
margin-top: 0.5em;
}
.versionnum {
font-weight: bold;
}
.prerelease {
border: solid #c25757 2px;
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
background-color: #c21a1a;
color: white;
padding: 0.05em 0.2em;
}
.bottomnav {
background-color:#FBFBEE;
border:1px solid #CCCCCC;
float:right;
margin: 1em 0 1em 5px;
padding:10px;
}
.totoc {
}
.doc_copyright {
font-size:.85em;
padding:10px 0px 10px 0px;
}
/* ReST specific section padding */
.section ul {
padding: 0 0 0 25px;
}
.section {
line-height: 1.5em;
padding:0px 10px 20px 10px;
margin:10px 0px 0px;
}
.section .section {
margin:0px 0px 0px 0px;
padding: 0px;
}
.section .section .section {
margin:0px 0px 0px 20px;
}
.section .section .section .section {
margin:0px 0px 0px 20px;
}
/* special index sections */
div#sqlalchemy-documentation {
font-size:.95em;
}
div#sqlalchemy-documentation em {
font-style:normal;
}
div#sqlalchemy-documentation .rubric{
font-size:14px;
background-color:#EEFFEF;
padding:5px;
border:1px solid #BFBFBF;
}
div#sqlalchemy-documentation a, div#sqlalchemy-documentation li {
padding:5px 0px;
}
div#getting-started {
border-bottom:1px solid;
}
div#sqlalchemy-documentation div#sqlalchemy-orm {
float:left;
width:48%;
}
div#sqlalchemy-documentation div#sqlalchemy-core {
float:left;
width:48%;
margin:0;
padding-left:10px;
border-left:1px solid;
}
div#dialect-documentation {
border-top:1px solid;
clear:left;
}
/* SQL popup, code styles */
pre {
background-color: #f0f0f0;
border: solid 1px #ccc;
padding:10px;
margin: 5px 5px 5px 5px;
overflow:auto;
line-height:1.3em;
}
.popup_sql, .show_sql
{
background-color: #fbfbee;
padding:0px 10px;
margin:0px -10px;
}
.sql_link
{
font-weight:normal;
font-family: arial, sans-serif;
text-transform: uppercase;
font-size: 0.9em;
color:#666;
border:1px solid;
padding:1px 2px 1px 2px;
margin:0px 10px 0px 15px;
float:right;
line-height:1.2em;
}
#docs a.sql_link, .sql_link
{
text-decoration: none;
padding:1px 2px;
}
#docs a.sql_link:hover {
text-decoration: none;
color:#fff;
border:1px solid #900;
background-color: #900;
}
/* other assorted ReST styles */
th.field-name {
text-align:right;
}
div.note, div.warning, p.deprecated {
background-color:#EEFFEF;
}
div.admonition, div.topic, p.deprecated {
border:1px solid #CCCCCC;
margin:5px 5px 5px 5px;
padding:5px 5px 5px 35px;
font-size:.9em;
}
div.warning .admonition-title {
color:#FF0000;
}
div.admonition .admonition-title {
font-weight:bold;
}
.viewcode-back, .viewcode-link {
float:right;
}
dl.function > dt,
dl.attribute > dt,
dl.classmethod > dt,
dl.method > dt,
dl.class > dt,
dl.exception > dt
{
background-color:#F0F0F0;
margin:0px -10px;
padding: 0px 10px;
}
dt:target, span.highlight {
background-color:#FBE54E;
}
a.headerlink {
font-size: 0.8em;
padding: 0 4px 0 4px;
text-decoration: none;
visibility: hidden;
}
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;
}
a.headerlink:hover {
background-color: #00f;
color: white;
}
.clearboth {
clear:both;
}
tt.descname {
background-color:transparent;
font-size:1.2em;
font-weight:bold;
}
tt.descclassname {
background-color:transparent;
}
tt {
background-color:#ECF0F3;
padding:0 1px;
}
@media print {
#nav { display: none; }
#pagecontrol { display: none; }
#topnav .prevnext { display: none; }
.bottomnav { display: none; }
.totoc { display: none; }
#topnav ul li a { text-decoration: none; color: #000; }
}
/* syntax highlighting overrides */
.k, .kn {color:#0908CE;}
.o {color:#BF0005;}
.go {color:#804049;}