hump/style.css

203 lines
2.8 KiB
CSS
Raw Normal View History

2011-01-20 19:32:18 +00:00
body {
2012-07-19 19:00:52 +00:00
font-family: "Bitstream Vera sans", sans-serif;
2011-01-20 19:32:18 +00:00
font-size: 12pt;
color: #334;
2011-01-21 13:05:00 +00:00
background: #f7fcfc;
2011-01-20 19:32:18 +00:00
}
a { color: #203050; font-weight: bold;}
a:hover { color: #506080; text-decoration: none; font-weight: bold;}
a.top {
font-size: 8pt;
margin-left: 1em;
margin-right: 1em;
float: right;
}
h1 {
font-family: serif;
font-size: 3em;
color: #080303;
margin-top: 0;
margin-bottom: 10px;
border-bottom: 2px solid #080303;
}
h1 .small { font-size: 0.4em; }
h2 {
font-size: 2em;
color: #080303;
margin: 0;
}
#header {
width: 800px;
margin: 1em auto;
padding: .5em;
border: 1px solid #a0a0a0;
background: #efefef;
border-radius: 10px; -moz-border-radius: 10px;
}
2011-11-16 13:57:43 +00:00
#main-nav {
margin: 0;
float: right;
}
#main-nav li {
display:inline;
margin-right: 1em;
}
2011-01-20 19:32:18 +00:00
#nav {
width: 800px;
margin: 1em auto;
border: 1px solid #a0a0a0;
background: #efefef;
border-radius: 10px; -moz-border-radius: 10px;
}
#nav ul {
margin: 0;
}
#nav li {
display:inline;
}
#nav li a {
display: inline-block;
padding: 5px 10px;
border: solid #a0a0a0;
border-width: 0 1px;
background: #ffffff;
text-decoration:none;
}
#nav li a:hover {
background: #a0a0a0;
color: #101010;
}
2011-11-16 13:57:43 +00:00
.outer-block {
2011-01-20 19:32:18 +00:00
width: 800px;
margin: 1em auto;
padding: 0 0 0 1em;
}
.arglist {
color: #102040;
}
.arguments, .returns, .example {
font-weight: bold;
}
.example p {
font-weight: normal;
}
.example img {
border: 1px solid #a0a0a0;
margin-left: 2em;
}
2011-11-16 13:57:43 +00:00
h3, .preamble, .text-block, .overview, .ref-block, .tut-block, .section-block {
2011-01-20 19:32:18 +00:00
border: 1px solid #aaa;
border-radius: 5px; -moz-border-radius: 5px;
padding: .2em .5em;
background: #fff;
margin: 1em .2em;
}
2011-11-16 13:57:43 +00:00
h3 {
2011-01-20 19:32:18 +00:00
color: #050A10;
font-size: 1.5em;
font-weight: bold;
margin-left: -.5em;
}
.preamble {
margin-top: -1em;
}
2011-11-16 13:57:43 +00:00
.text-block, .section-block {
2011-01-20 19:32:18 +00:00
margin-bottom: 2em;
}
2011-11-16 13:57:43 +00:00
h4 {
2012-11-01 17:44:04 +00:00
color: #444;
font-size: 1em;
2011-01-20 19:32:18 +00:00
margin: 0;
2011-11-16 13:57:43 +00:00
font-weight: bold;
}
2012-11-01 17:44:04 +00:00
.overview h4 {
color: #405070;
font-size: 1.2em;
2011-11-16 13:57:43 +00:00
}
.ref-block h4 .name {
color: #721;
}
.ref-block h4 .arglist {
color: #151;
2011-01-20 19:32:18 +00:00
}
dl {
margin-left: 2em;
margin-top: .5em;
}
dt, dt a {
color: #666;
}
dt code {
font-size: 12pt;
2011-11-16 13:57:43 +00:00
color: #151;
2011-01-20 19:32:18 +00:00
}
dd {
font-weight: normal;
}
.overview dt {
display: inline-block;
float: left;
width: 32%;
font-weight: bold;
color: #666;
}
.overview dd {
display: block;
margin: .2em 0;
}
2012-11-01 17:41:30 +00:00
strong {
2011-01-20 19:32:18 +00:00
color: #D03000;
font-weight: bold;
}
code {
font-family: "Bitstream Vera Sans Mono", fixed;
font-weight: bold;
2011-11-16 13:57:43 +00:00
color: #333;
2011-01-20 19:32:18 +00:00
}
pre {
border: 1px solid #aaa;
border-radius: 5px; -moz-border-radius: 5px;
background: #f8f8ff;
padding: .2em;
margin: 1em 2em;
font-weight: normal;
2011-11-16 13:57:43 +00:00
max-height: 450px; overflow: auto;
2011-01-20 19:32:18 +00:00
}
pre code {
font-size: 11pt;
color: black;
border: 0;
font-weight: normal;
}
pre code .function {
background: #f8f8ff;
border: 0;
padding: 0;
margin: 0;
}