Templates: main.css

File main.css, 4.5 kB (added by mpiper, 4 years ago)

Use this style sheet for a blue theme instead of the default green theme.

Line 
1/* setup page */
2body { font-family: Helvetica, sans-serif; font-size: 10pt; margin: 0; padding: 0; }
3div.content { padding: 1em; }
4p { line-height: 1.2; }
5img { border: 0; }
6
7/* link styles */
8a { text-decoration: none; }
9a:link, a:visited { color: #0000FF; }
10a:hover, a:focus { background: yellow; border-bottom: 1px dotted #303099; }
11
12/* dir-overview styles */
13dt.filename { margin-top: 0.5em; }
14dl.file_listing { margin-left: 1em; }
15
16/* titles */
17h1, h2, h3, h4 { font-weight:normal; color: #900000; margin-top: 1.5em; }
18h4 { margin-bottom: 0.25em; }
19.center { margin-left: auto; margin-right: auto; }
20.small { font-family: Verdana, Helvetica, sans-serif; font-size: 90%; }
21.smaller { font-family: Verdana, Helvetica, sans-serif; font-size: 80%; }
22.smallest { font-family: Verdana, Helvetica, sans-serif; font-size: 70%; }
23h1.basename { margin-top: 0; margin-bottom: 0; }
24h1.basename span.file-attributes { font-size: 70%; margin-left: 3em; color: #384806; }
25h2.directory { font-size: 90%; margin-bottom: 0; }
26h2.routine-name { margin-top: 0; margin-bottom: 0; }
27p.categories { color: #384806; margin-top: 0; }
28span.file_attribute { float: right; color: #384806; margin: 0 0 1em 3em; }
29div#file_comments { margin-top: 1em; }
30
31div.routine-details { border: 1px dotted #C0C0C0; margin-top: 1em; padding: 1em; }
32div.routine-details span.routine-attributes { font-size: 70%; margin-left: 3em; color: #384806; }
33div.details dt { color: #900000; margin-left: 2em; }
34div.details dt span { color: #384806; margin-left: 2em; }
35div.details dd { margin: 0.5em 2em 1em 4em; }
36a.top { 
37        font-family: Verdana, Helvetica, sans-serif; 
38        font-size: 8pt; 
39        font-weight: bold; 
40        text-transform: uppercase; 
41        float: right; 
42}
43
44/* comments */
45.pre { white-space: pre; }
46
47/* code styles */
48code { font-family: Monaco, "Courier New", Courier, monospace; }
49code.listing { white-space: pre; display: block; padding: 0.5em 3em 0.5em 3em; font-size: 90%; }
50code.source { white-space: pre; display: block; font-size: 90%; }
51code.source span.comments { color: #408080; }
52.syntax { margin-top: 1em; margin-left: 1.5em; text-indent: -1.5em; }
53.var { font-style: italic; } 
54.argument { } /* white-space: nowrap; does not work in Safari (and sometimes not even in Firefox) */
55
56dl.routine-summary dt { margin-bottom: 0.25em; }
57dl.routine-summary dd { margin-bottom: 0.5em; margin-left: 2em; }
58
59/* general styles */
60ul li { list-style-type: none; }
61table { empty-cells: show; }
62thead { color: #900000; }
63dd { margin-bottom: 0.35em; }
64input, textarea { background: #F3F6ED; border: #E1D6C6 1px solid; padding: 2px 1em 2px 0.5em; }
65input.text { background: #FFFFC0; }
66
67div.note { margin: 1em 2em 1em 2em; background: #EFEFEF; border: 1px #A0A0A0 dotted; padding: 0 1em 0 1em; }
68p.indent { margin-left: 2em; }
69
70/* An attribute table is a vertical list of name-value pairs. */
71table.box { 
72  background: #EFEFEF; 
73  border: 1px #A0A0A0 dotted; 
74  padding-top: 0.75em;
75  padding-bottom: 0.75em; 
76}
77table.attribute { padding-left: 0.75em; padding-right: 0.75em; }
78table td { vertical-align: top; }
79table.attribute p { margin: 0; }
80table td.name { font-style: normal; padding-right: 1.5em; }
81ul.fieldslist { padding-top: 0; color: #909090; }
82ul.fieldslist li { margin-bottom: 0.25em; }
83span.fieldname { color: #000000; }
84
85/* header/navbar styles */
86div.header { padding: 2em 2em 0 2em; background: #CCCCFF; border-bottom: 2px #384806 solid; }
87div.header h1 { color: black; margin:0; font-weight: normal; }
88div.header h2 { color: black; margin-top: 0; margin-bottom: 1em; font-weight: normal; font-style: italic; font-size: 100%; }
89table.navbar { background: #F0F0FF; margin: 0; padding: 0; border-bottom: 1px #384806 dotted; width: 100%; }
90table.navbar td { padding: 4px 0.5em 3px 0.5em; white-space: nowrap; vertical-align: top; }
91table.navbar td.flexible { width: 100%; text-align: right; padding-right: 1em; white-space: nowrap; }
92table.navbar td.selected { background: #CCCCFF; }
93table.navbar td.selected, table.navbar td.selected a { color: black }
94table.navbar a:hover, table.navbar a:focus { background: inherit; border-bottom: 1px solid #900000; }
95p.localnavbar { text-align: right; margin: 0.2em 1em 0.2em 0.2em; padding: 0; }
96
97/* search styles */
98fieldset { border: #ddd 1px solid; padding: 1em; margin-top: 3em; }
99legend { color: #900000; font-size: 120%; }
100label { white-space: nowrap; }
101p.description { margin: 2em 2em 1em 2em; }
102form table td.name { vertical-align: middle; }
103     
104/* footer styles */
105div.footer { padding: 0.5em 1em 0.5em 1em; background: #F0F0FF; border-top: 1px #A0A0A0 dotted; }
106div.footer table { width: 100%; }
107div.footer td.right { text-align: right; }