mirror of https://github.com/mitsuhiko/flask.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
304 lines
5.1 KiB
304 lines
5.1 KiB
/* |
|
* flasky.css_t |
|
* ~~~~~~~~~~~~ |
|
* |
|
* Sphinx stylesheet -- flasky theme based on nature theme. |
|
* |
|
* :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS. |
|
* :license: BSD, see LICENSE for details. |
|
* |
|
*/ |
|
|
|
@import url("basic.css"); |
|
|
|
/* -- page layout ----------------------------------------------------------- */ |
|
|
|
body { |
|
font-family: 'Georgia', serif; |
|
font-size: 100%; |
|
background-color: #555; |
|
color: #555; |
|
margin: 0; |
|
padding: 0; |
|
} |
|
|
|
div.documentwrapper { |
|
float: left; |
|
width: 100%; |
|
} |
|
|
|
div.bodywrapper { |
|
margin: 0 0 0 230px; |
|
} |
|
|
|
hr { |
|
border: 1px solid #B1B4B6; |
|
} |
|
|
|
div.document { |
|
background-color: #eee; |
|
} |
|
|
|
div.body { |
|
background-color: #ffffff; |
|
color: #3E4349; |
|
padding: 0 30px 30px 30px; |
|
font-size: 0.9em; |
|
} |
|
|
|
div.footer { |
|
color: #ccc; |
|
padding: 10px; |
|
font-size: 0.8em; |
|
} |
|
|
|
div.footer a { |
|
color: white; |
|
text-decoration: underline; |
|
} |
|
|
|
div.related { |
|
background-color: #774117; |
|
line-height: 32px; |
|
color: #fff; |
|
text-shadow: 0px 1px 0 #444; |
|
font-size: 0.9em; |
|
} |
|
|
|
div.related a { |
|
color: #E9D1C1; |
|
} |
|
|
|
div.sphinxsidebar { |
|
font-size: 0.75em; |
|
line-height: 1.5em; |
|
} |
|
|
|
div.sphinxsidebarwrapper { |
|
padding: 20px 0 20px 0; |
|
} |
|
|
|
div.sphinxsidebarwrapper p.logo { |
|
padding: 0 0 10px 0; |
|
margin: 0; |
|
text-align: center; |
|
} |
|
|
|
div.sphinxsidebar h3, |
|
div.sphinxsidebar h4 { |
|
font-family: 'Garamond', 'Georgia', serif; |
|
color: #222; |
|
font-size: 1.2em; |
|
font-weight: normal; |
|
margin: 0; |
|
padding: 5px 10px; |
|
background-color: #ddd; |
|
text-shadow: 1px 1px 0 white |
|
} |
|
|
|
div.sphinxsidebar h4 { |
|
font-size: 1.1em; |
|
} |
|
|
|
div.sphinxsidebar h3 a { |
|
color: #444; |
|
} |
|
|
|
|
|
div.sphinxsidebar p { |
|
color: #555; |
|
padding: 5px 20px; |
|
} |
|
|
|
div.sphinxsidebar p.topless { |
|
} |
|
|
|
div.sphinxsidebar ul { |
|
margin: 10px 20px; |
|
padding: 0; |
|
color: #000; |
|
} |
|
|
|
div.sphinxsidebar a { |
|
color: #444; |
|
} |
|
|
|
div.sphinxsidebar input { |
|
border: 1px solid #ccc; |
|
font-family: 'Georgia', serif; |
|
font-size: 1em; |
|
} |
|
|
|
div.sphinxsidebar input[type=text]{ |
|
margin-left: 20px; |
|
} |
|
|
|
/* -- body styles ----------------------------------------------------------- */ |
|
|
|
a { |
|
color: #004B6B; |
|
text-decoration: none; |
|
} |
|
|
|
a:hover { |
|
color: #6D4100; |
|
text-decoration: underline; |
|
} |
|
|
|
div.body h1, |
|
div.body h2, |
|
div.body h3, |
|
div.body h4, |
|
div.body h5, |
|
div.body h6 { |
|
font-family: 'Garamond', 'Georiga', serif; |
|
background-color: #bbb; |
|
font-weight: normal; |
|
color: #212224; |
|
margin: 30px 0px 10px 0px; |
|
padding: 5px 0 5px 10px; |
|
text-shadow: 0px 1px 0 white; |
|
} |
|
|
|
div.body h1 { border-top: 20px solid white; margin-top: 0; font-size: 200%; } |
|
div.body h2 { font-size: 150%; background-color: #ddd; } |
|
div.body h3 { font-size: 120%; background-color: #eee; } |
|
div.body h4 { font-size: 110%; background-color: #eee; } |
|
div.body h5 { font-size: 100%; background-color: #eee; } |
|
div.body h6 { font-size: 100%; background-color: #eee; } |
|
|
|
a.headerlink { |
|
color: white; |
|
padding: 0 4px; |
|
text-decoration: none; |
|
} |
|
|
|
a.headerlink:hover { |
|
color: #444; |
|
background: #eaeaea; |
|
} |
|
|
|
div.body p, div.body dd, div.body li { |
|
line-height: 1.5em; |
|
} |
|
|
|
div.admonition p.admonition-title + p { |
|
display: inline; |
|
} |
|
|
|
div.highlight{ |
|
background-color: white; |
|
} |
|
|
|
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, tt { |
|
font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; |
|
font-size: 0.9em; |
|
} |
|
|
|
tt.descname, tt.descclassname { |
|
font-size: 0.95em; |
|
-webkit-box-shadow: none; |
|
-moz-box-shadow: none; |
|
} |
|
|
|
tt.descname { |
|
padding-right: 0.08em; |
|
} |
|
|
|
table.docutils { |
|
border: 1px solid #888; |
|
-webkit-box-shadow: 2px 2px 1px #d8d8d8; |
|
-moz-box-shadow: 2px 2px 1px #d8d8d8; |
|
} |
|
|
|
table.docutils td, table.docutils th { |
|
border: 1px solid #888; |
|
padding: 0.25em 0.7em; |
|
} |
|
|
|
table.field-list, table.footnote { |
|
border: none; |
|
-webkit-box-shadow: none; |
|
-moz-box-shadow: none; |
|
} |
|
|
|
table.footnote { |
|
width: 100%; |
|
border: 1px solid #eee; |
|
-webkit-box-shadow: 1px 1px 1px #d8d8d8; |
|
-moz-box-shadow: 1px 1px 1px #d8d8d8; |
|
} |
|
|
|
table.field-list th { |
|
padding: 0 0.8em 0 0; |
|
} |
|
|
|
table.field-list td { |
|
padding: 0; |
|
} |
|
|
|
table.footnote td { |
|
padding: 0.5em; |
|
} |
|
|
|
pre { |
|
background: #FDFDFD; |
|
padding: 10px; |
|
color: #222; |
|
line-height: 1.3em; |
|
border: 1px solid #f9f9f9; |
|
margin: 1.5em 3px 1.5em 0; |
|
-webkit-box-shadow: 2px 2px 1px #d8d8d8; |
|
-moz-box-shadow: 2px 2px 1px #d8d8d8; |
|
} |
|
|
|
tt { |
|
background-color: #ecf0f3; |
|
color: #222; |
|
/* padding: 1px 2px; */ |
|
-webkit-box-shadow: 1px 1px 1px #d8d8d8; |
|
-moz-box-shadow: 1px 1px 1px #d8d8d8; |
|
} |
|
|
|
tt.xref, a tt { |
|
background-color: #FBFBFB; |
|
} |
|
|
|
a:hover tt { |
|
background: #EEE; |
|
} |
|
|
|
div.document + div.related { |
|
background: #aaa; |
|
} |
|
|
|
div.document + div.related a { |
|
color: white; |
|
}
|
|
|