1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/manual/new/styles/basic.css
jepso 5329c3827c * Converted most of the docs to the new format.
* Fixed a few layout bugs in new documentation
* Fixed documentation table of contents indentation bug in IE6 (fixes #344)
* Fixed a parser bug in Sensei_Doc_Section
* Restructrured a bit some files of the documentation.
2007-06-13 21:30:32 +00:00

224 lines
3.1 KiB
CSS

body, html {
margin: 0;
padding: 0;
font-family: "Arial", sans-serif;
font-size: 12pt;
background: white;
color: black;
}
h1, h2, h3, h4, h5, h6 {
font-family: "Lucida Bright", "Times New Roman", serif;
}
h1 {
text-align: center;
font-size: 2em;
margin-bottom: 1em;
margin-top: 0;
}
h2, #table-of-contents h1 {
font-size: 1.5em;
text-align: left;
margin: 0.67em 0;
}
h3 {
font-size: 1.17em;
margin: 1em 0;
}
h4 {
font-size: 1em;
margin: 1.33em 0;
}
.chapter {
margin-bottom: 5em;
}
p, ul, ol, dl {
line-height: 1.5em;
text-align: justify;
}
ul {
list-style-type: square;
}
ul ul, ol ol {
font-size: 100%;
}
dd {
margin-bottom: 0.5em;
}
table {
border: 1px solid #aaaaaa;
border-collapse: collapse;
margin: 0.5em 0;
font-size: 11pt;
background-color: #f9f9f9;
line-height: 1.5em;
}
td, th {
padding: 0.2em;
border: 1px solid #aaaaaa;
}
th {
background-color: #f2f2f2;
}
blockquote {
background-image: url("../images/quotation-mark.png");
background-position: top left;
background-repeat: no-repeat;
padding-left: 2.5em;
margin-left: 1em;
}
/*** Code blocks and highlighting**********************************************/
pre, tt {
font-family: "Bitstream Vera Sans Mono", monospace;
}
tt {
font-size: 11pt;
}
pre {
font-size: 10pt;
font-weight: bold;
padding: 1em;
margin: 1em;
line-height: 1.2em;
background-color: #f6f6f6;
border: 1px solid #cccccc;
}
pre .default {
color: #000000;
}
pre .keyword {
color: #3465a4;
}
pre .string {
color: #ef2929;
}
pre .comment {
color: #888a85;
}
a:link {
color: #3465a4;
text-decoration: none;
}
a:visited {
color: #75507b;
text-decoration: none;
}
a:link:hover,
a:link:active,
a:visited:hover,
a:visited:active {
text-decoration: underline;
color: #555753;
}
#table-of-contents {
position: absolute;
top: 0;
right: 0;
width: 20em;
overflow: auto;
border: 1px solid #cccccc;
background-color: #f6f6f6;
padding: 0 1em;
margin: 1em;
max-height: 95%;
}
#wrap {
position: absolute;
left: 0;
top: 0;
width: 100%;
margin: 0;
}
#sidebar {
/* Netscape 4, IE 4.x-5.0/Win and other lesser browsers will use this */
position: absolute;
top: 0;
right: 0;
height: 100%;
z-index: 10;
}
#wrap > div#sidebar {
/* used by Opera 5+, Netscape6+/Mozilla, Konqueror, Safari, OmniWeb 4.5+,
iCab, ICEbrowser */
position: fixed;
}
#content {
position: absolute;
top: 0;
left: 0;
right: 23em;
margin: 0;
padding: 1em;
}
ul.tree, ul.tree ul {
list-style-type: none;
padding-left: 2em;
text-align: left;
margin-left: 0;
}
/** Tree specific styles ******************************************************/
.tree a {
text-decoration: none;
margin: 0;
padding: 0;
}
.tree .expander {
color: black;
display: block;
float: left;
height: auto;
margin: 0;
margin-left: -1.25em;
padding: 0;
text-align: center;
width: 1em;
}
.tree .expander:link,
.tree .expander:visited,
.tree .expander:active,
.tree .expander:hover {
color: black;
text-decoration: none;
}
.tree ul.closed {
display: none;
}