Add example sources (text version)
[pylit.git] / rstdocs / pylit.css
blob4d1c69e5ae0650e8b91c8dd292d3f0fe921f5eea
1 /* Stylesheet for the PyLit site (for use with rest2web)
3 :Author: Guenter Milde
4 :Copyright: 2007 G. Milde
5 This stylesheet is released under the GPL v. 2 or later
7 */
9 @import url("html4css1.css"); /* docutils style sheet */
10 /* @import url("pygments-default.css"); */ /* code syntax highlight */
12 /* r2w stylesheet variants and expamples */
14 /* @import url('pysrc.css'); */ /* Python code syntax highlight */
15 /* @import url("voidspace_docutils2.css"); */ /* rounded boxes around headers */
16 /* @import url("rest2web.css"); */ /* ditto */
17 /* @import url("test.css"); */ /* greyish background */
18 /* @import url("rest.css"); */
20 /* PyLit customizations */
21 /* -------------------- */
23 div#Inhalt {
24 margin-left: 0em;
25 /* padding-left: 0.5em; */
26 /* border: 1px dashed silver; */
27 /* border-left-width: 1px */
28 /* border-color: silver */
29 min-width: 16em; /* Mindestbreite verhindert Anzeigefehler in modernen Browsern */
31 h1.title {
32 text-align: left;
33 background-color: silver;
34 padding: 5px;
36 h1 {
37 font-size: 1.5em;
38 /* padding-left: 0.5em; */
40 h2 {
41 font-size: 1.2em;
43 /* bold definition terms */
44 dt {
45 font-weight: bold;
48 /* background colour for literal blocks*/
49 pre.literal-block, pre.doctest-block {
50 background-color: #FEFDD8; }
51 /* ... and inline literal */
52 tt.docutils {
53 background-color: white; }
55 /* last line with Berlios logo */
56 p.thanks {
57 text-align: right;
58 background-color: silver;
61 /* div.contents { margin: 5px } */
63 .logo {
64 vertical-align:middle;
65 background-color: white;
68 /* Breadcrumps list as top bar: from the r2w standard functions doc */
69 #crumbs {
70 background-color: #db8;
71 padding: 3px;
72 text-align: left;
73 /* font-size:15pt; */
74 font-weight:bold;
77 #crumbs .top-navigation {
78 margin: 0.5em;
79 color: black
80 background-color: silver
83 /* #crumbs li { */
84 /* display:inline; */
85 /* list-style:none; */
86 /* margin:0; */
87 /* padding:5px; */
88 /* } */
89 /* */
90 /* #crumbs ul { */
91 /* margin:0; */
92 /* padding:0 */
93 /* } */
96 /* Navigation sidebar (currently not used)
97 (from http://de.selfhtml.org/css/layouts/mehrspaltige.htm ) */
99 ul#Navigation {
100 /* font-size: 0.8em; */
101 float: left; width: 13em;
102 margin: 0;
103 padding: 0;
104 /* border: 1px dashed silver; */
105 /* background-color: #eee; */
106 background-color: #fee;
108 ul#Navigation li {
109 list-style: none;
110 margin: 0;
111 padding: 0.2em;
112 /* border: 1px grey; */
114 ul#Navigation a {
115 display: block;
116 /* padding: 0.2em; */
117 font-weight: bold;
119 ul#Navigation a:link {
120 color: black;
122 ul#Navigation a:visited {
123 color: #666;
125 ul#Navigation a:hover {
126 color: black;
127 background-color: #ffe;
129 ul#Navigation a:active {
130 color: white;
131 background-color: gray;
133 div.sidebar-links{
134 margin-left: 0.5em
137 img { border:none }