summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2005-04-03 11:00:15 (UTC)
committer Michael Krelin <hacker@klever.net>2005-04-03 11:00:15 (UTC)
commit85471d7c2c74035399ba7047f409fe6248e1d6f0 (patch) (unidiff)
tree65f94a620e03fc9174ed2812f8ef361c2b4535ec
parent0234b0ae9ba19a37771a8e7d519137fa811c206c (diff)
downloadsitecing-85471d7c2c74035399ba7047f409fe6248e1d6f0.zip
sitecing-85471d7c2c74035399ba7047f409fe6248e1d6f0.tar.gz
sitecing-85471d7c2c74035399ba7047f409fe6248e1d6f0.tar.bz2
spolit some things to make MSIE a bit happier
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--htdocs/ancestry/page.chtml2
-rw-r--r--htdocs/style.css5
2 files changed, 4 insertions, 3 deletions
diff --git a/htdocs/ancestry/page.chtml b/htdocs/ancestry/page.chtml
index 5bec31e..b9f3434 100644
--- a/htdocs/ancestry/page.chtml
+++ b/htdocs/ancestry/page.chtml
@@ -1,28 +1,28 @@
1% html(); return; /* vim:set ft=sitecing: */ 1% html(); return; /* vim:set ft=sitecing: */
2%%var bool b_strict = true; 2%%var bool b_strict = true;
3<%decl> 3<%decl>
4 using std::string; 4 using std::string;
5</%decl> 5</%decl>
6<%method void html() %> 6<%method void html() %>
7% if(b_strict){ 7% if(b_strict){
8 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 8 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
9% }else{ 9% }else{
10 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> 10 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
11% } 11% }
12 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> 12 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
13 <head> 13 <head>
14% __SCIF->headers["Content-Type"] = "text/html"; 14% __SCIF->headers["Content-Type"] = "text/html; charset=utf-8";
15 <title>site-C-ing: <% title() %></title> 15 <title>site-C-ing: <% title() %></title>
16 <meta name="copyright" content="Copyright (c) 2005 Klever Group"/> 16 <meta name="copyright" content="Copyright (c) 2005 Klever Group"/>
17 <link rel="stylesheet" href="/style.css" type="text/css" /> 17 <link rel="stylesheet" href="/style.css" type="text/css" />
18 </head> 18 </head>
19 <body> 19 <body>
20% body(); 20% body();
21 </body> 21 </body>
22 </html> 22 </html>
23</%method> 23</%method>
24<%codemethod string title() %> 24<%codemethod string title() %>
25 return "untitled"; 25 return "untitled";
26</%codemethod> 26</%codemethod>
27<%method void body() %> 27<%method void body() %>
28</%method> 28</%method>
diff --git a/htdocs/style.css b/htdocs/style.css
index 28aa8df..27721d4 100644
--- a/htdocs/style.css
+++ b/htdocs/style.css
@@ -1,262 +1,263 @@
1body { 1body {
2 font-family: sans-serif; 2 font-family: arial,helvetica, sans-serif;
3 font-size: 11pt; 3 font-size: 11pt;
4} 4}
5 5
6a:link, a:visited { 6a:link, a:visited {
7 text-decoration: none; 7 text-decoration: none;
8} 8}
9a:link:hover, a:visited:hover { 9a:link:hover, a:visited:hover {
10 text-decoration: underline; 10 text-decoration: underline;
11} 11}
12p { 12p {
13 margin: 1ex 1em; 13 margin: 1ex 1em;
14 text-indent: 2em; 14 text-indent: 2em;
15 text-align: justify; 15 text-align: justify;
16} 16}
17p.note { 17p.note {
18 margin-left: 10%; 18 margin-left: 10%;
19 border-width: 1px 1px 1px 6px; 19 border-width: 1px 1px 1px 6px;
20 border-color: gray gray gray #0000a0; 20 border-color: gray gray gray #0000a0;
21 border-style: solid solid solid double; 21 border-style: solid solid solid double;
22 padding: 1ex 1ex 1ex 2em; 22 padding: 1ex 1ex 1ex 2em;
23 font-size: 80%; 23 font-size: 80%;
24 background: #c0c0e0; 24 background: #c0c0e0;
25 color: #202020; 25 color: #202020;
26} 26}
27code a, 27code a,
28code { 28code {
29 color: #d04040; 29 color: #d04040;
30} 30}
31em { 31em {
32 white-space: nowrap; 32 white-space: nowrap;
33} 33}
34 34
35div.google_ad { 35div.google_ad {
36 text-align: center; 36 text-align: center;
37 margin: 1ex; 37 margin: 1ex;
38} 38}
39div.google_ad.top { 39div.google_ad.top {
40 padding-bottom: 1ex; 40 padding-bottom: 1ex;
41 border-bottom: 1px gray solid; 41 border-bottom: 1px gray solid;
42} 42}
43div.google_ad.bottom { 43div.google_ad.bottom {
44 padding-top: 1ex; 44 padding-top: 1ex;
45 border-top: 1px gray solid; 45 border-top: 1px gray solid;
46} 46}
47 47
48div#sidepanel { 48div#sidepanel {
49 position: absolute; top: 0px; left: 0px; 49 position: absolute; top: 0px; left: 0px;
50 margin: 0px; 50 margin: 0px;
51 width: 20%; 51 width: 20%;
52 font-size: 80%; 52 font-size: 80%;
53} 53}
54div#content { 54div#content {
55 position: absolute; top: 0px; right: -0px; 55 position: absolute; top: 0px; right: -0px;
56 margin: 0px; 56 margin: 0px;
57 width: 80%; 57 width: 80%;
58} 58}
59 59
60div#sidepanel h1 { 60div#sidepanel h1 {
61 font-size: 80%; 61 font-size: 80%;
62 text-align: center; 62 text-align: center;
63 font-weight: normal; 63 font-weight: normal;
64 color: #004080; 64 color: #004080;
65 white-space: nowrap; 65 white-space: nowrap;
66 margin-top: 2ex; margin-bottom: 2ex; 66 margin-top: 2ex; margin-bottom: 2ex;
67} 67}
68div#sidepanel h2 { 68div#sidepanel h2 {
69 font-size: 80%; 69 font-size: 80%;
70 text-align: justify; 70 text-align: justify;
71 font-weight: normal; 71 font-weight: normal;
72 color: gray; 72 color: gray;
73 margin: 1ex 1ex; 73 margin: 1ex 1ex;
74} 74}
75div#sidepanel ul { 75div#sidepanel ul {
76 padding: 1ex 0.5ex 1ex 1ex; 76 padding: 1ex 0.5ex 1ex 1ex;
77 margin: 0.5ex; 77 margin: 0.5ex;
78 border-color: #c0c0c0 #404040 #404040 #c0c0c0; 78 border-color: #c0c0c0 #404040 #404040 #c0c0c0;
79 border-width: 1px 2px 2px 1px; 79 border-width: 1px 2px 2px 1px;
80 border-style: solid; 80 border-style: solid;
81 background: #d0d0d0; 81 background: #d0d0d0;
82 list-style-type: none; 82 list-style-type: none;
83} 83}
84div#sidepanel ul ul { 84div#sidepanel ul ul {
85 margin: 0px; padding: 0px; 85 margin: 0px; padding: 0px;
86 border: none 0px; 86 border: none 0px;
87} 87}
88div#sidepanel li { 88div#sidepanel li {
89 list-style-type: none; 89 list-style-type: none;
90 margin: 0px; padding: 0px; 90 margin: 0px; padding: 0px;
91 display: block; 91 display: block;
92} 92}
93div#sidepanel ul a { 93div#sidepanel ul a {
94 display: block; 94 display: block;
95 padding: 1px 1ex; 95 padding: 1px 1ex;
96 margin: 0.5ex; 96 margin: 0.5ex;
97 border: 1px solid gray; 97 border: 1px solid gray;
98 text-decoration: none; 98 text-decoration: none;
99 background: white; 99 background: white;
100 color: black; 100 color: black;
101} 101}
102div#sidepanel ul a:hover { 102div#sidepanel ul a:hover {
103 background: gray; 103 background: gray;
104 color: white; 104 color: white;
105} 105}
106div#sidepanel ul ul a { 106div#sidepanel ul ul a {
107 padding-left: 2.5ex; 107 padding-left: 2.5ex;
108 background: #e0e0e0; 108 background: #e0e0e0;
109} 109}
110div#sidepanel div.copyright { 110div#sidepanel div.copyright {
111 text-align: center; 111 text-align: center;
112} 112}
113 113
114div#content h1 { 114div#content h1 {
115 font-size: 140%; 115 font-size: 140%;
116 color: gray; 116 color: gray;
117 font-weight: bold; 117 font-weight: bold;
118 text-align: center; 118 text-align: center;
119 margin: 1em; 119 margin: 1em;
120 clear: both; 120 clear: both;
121} 121}
122div#content h2 { 122div#content h2 {
123 font-size: 140%; 123 font-size: 140%;
124 color: #8080a0; 124 color: #8080a0;
125 font-weight: bold; 125 font-weight: bold;
126 text-align: center; 126 text-align: center;
127 margin: 1em; 127 margin: 1em;
128 clear: both; 128 clear: both;
129} 129}
130div#content p a { 130div#content p a {
131 font-weight: bold; 131 font-weight: bold;
132} 132}
133div#content p a.internal { 133div#content p a.internal {
134 font-weight: inherit !important; 134 font-weight: inherit !important;
135} 135}
136 136
137div.insert { 137div.insert {
138 text-align: center; 138 text-align: center;
139} 139}
140iframe#insert { 140iframe#insert {
141 border: 1px solid black; 141 border: 1px solid black;
142} 142}
143 143
144div.source h1 { 144div.source h1 {
145 background: #e0e0e0; 145 background: #e0e0e0;
146 border: 1px solid #808080; 146 border: 1px solid #808080;
147 padding-left: 1em; 147 padding-left: 1em;
148 margin: 0px; 148 margin: 0px;
149 font-size: 100%; 149 font-size: 100%;
150 color: #000060; 150 color: #000060;
151 overflow: hidden; 151 overflow: hidden;
152} 152}
153div.source ul { 153div.source ul {
154 background: #80c0c0; 154 background: #80c0c0;
155 margin: 0px; 155 margin: 0px;
156 padding: 1px 0px; 156 padding: 1px 0px;
157 font-family: monospace; 157 font-family: monospace;
158 font-size: 80%; 158 font-size: 80%;
159 overflow: hidden; 159 overflow: hidden;
160 width:100%; 160 width:100%;
161} 161}
162div.source li { 162div.source li {
163 list-style-type: none; 163 list-style-type: none;
164 white-space: nowrap; 164 white-space: nowrap;
165 margin: 0px 0.5ex; 165 margin: 0px 0.5ex;
166} 166}
167 167
168ul.sourcebrowser { 168ul.sourcebrowser {
169 font-size: 70%; 169 font-size: 70%;
170} 170}
171ul.sourcebrowser ul.dir { 171ul.sourcebrowser ul.dir {
172 padding: 1px 0px 2px 1em; 172 padding: 1px 0px 2px 1em;
173 margin: 1px 0px 1px 0px; 173 margin: 1px 0px 1px 0px;
174} 174}
175ul.sourcebrowser li.dir { 175ul.sourcebrowser li.dir {
176 margin: 1px 0px 1px 0px; 176 margin: 1px 0px 1px 0px;
177} 177}
178ul.sourcebrowser li.file { 178ul.sourcebrowser li.file {
179 list-style-type: none; 179 list-style-type: none;
180 white-space: nowrap; 180 white-space: nowrap;
181 display: inline; 181 display: inline;
182} 182}
183ul.sourcebrowser li.file a { 183ul.sourcebrowser li.file a {
184 border: 1px solid gray; 184 border: 1px solid gray;
185 padding: 1px 0.5ex; 185 padding: 1px 0.5ex;
186 text-decoration: none; 186 text-decoration: none;
187 font-family: monospace; 187 font-family: monospace;
188} 188}
189ul.sourcebrowser li.file a:hover { 189ul.sourcebrowser li.file a:hover {
190 background: gray; 190 background: gray;
191 border: 1px solid black; 191 border: 1px solid black;
192 color: white; 192 color: white;
193} 193}
194 194
195div.prevnext { 195div.prevnext {
196 margin: 1ex; 196 margin: 1ex;
197} 197}
198div.prevnext a { 198div.prevnext a {
199 margin: 0.5ex 1em; padding: 0.2ex 0.5ex; 199 margin: 0.5ex 1em; padding: 0.2ex 0.5ex;
200 display: block; width: 30%; 200 display: block; width: 30%;
201 border: solid 1px gray; 201 border: solid 1px gray;
202 color: black; 202 color: black;
203 text-decoration: none; 203 text-decoration: none;
204} 204}
205div.prevnext a.prevnext-prev { 205div.prevnext a.prevnext-prev {
206 float: left; 206 float: left;
207 text-align: left; 207 text-align: left;
208} 208}
209div.prevnext a.prevnext-next { 209div.prevnext a.prevnext-next {
210 float: right; 210 float: right;
211 text-align: right; 211 text-align: right;
212} 212}
213div.prevnext a:hover { 213div.prevnext a:hover {
214 background: gray; 214 background: gray;
215 border: black 1px solid; 215 border: black 1px solid;
216 color: white; 216 color: white;
217 text-decoration: none; 217 text-decoration: none;
218} 218}
219 219
220ul.quickref.toc { 220ul.quickref.toc {
221 margin: 1em 20%; 221 margin: 1em 20%;
222 font-size: 90%; 222 font-size: 90%;
223 border: solid 1px gray; 223 border: solid 1px gray;
224} 224}
225 225
226dl.quickref { 226dl.quickref {
227 margin: 1ex 1em; 227 margin: 1ex 1em;
228 overflow: hidden; 228 overflow: hidden;
229} 229}
230dl.quickref dt { 230dl.quickref dt {
231 margin: 0.4ex; 231 margin: 0.4ex;
232 padding: 2px 0.5ex; 232 padding: 2px 0.5ex;
233 background: #e0e0e0; 233 background: #e0e0e0;
234 display: compact; 234 display: compact;
235} 235}
236dl.quickref dd { 236dl.quickref dd {
237 margin: 0px 0.4ex 0.4ex 10%; 237 margin: 0px 1% 0.4ex 10%;
238 width: 89%;
238 padding: 0px; 239 padding: 0px;
239 border: 1px solid gray; 240 border: 1px solid gray;
240 overflow: hidden; 241 overflow: hidden;
241} 242}
242dl.quickref code kbd { 243dl.quickref code kbd {
243 font-style: italic; 244 font-style: italic;
244 color: #0000c0; 245 color: #0000c0;
245} 246}
246dl.quickref blockquote { 247dl.quickref blockquote {
247 background: #ffffc0; 248 background: #ffffc0;
248 padding: 4px; 249 padding: 4px;
249 border: dotted 1px gray; 250 border: dotted 1px gray;
250 font-family: monospace; 251 font-family: monospace;
251 font-size: 90%; 252 font-size: 90%;
252 overflow: hidden; 253 overflow: hidden;
253} 254}
254dl.quickref blockquote em { 255dl.quickref blockquote em {
255 display: block; 256 display: block;
256 font-family: inherit !important; 257 font-family: inherit !important;
257 font-size: inherit !important; 258 font-size: inherit !important;
258 font-weight: inherit !important; 259 font-weight: inherit !important;
259 font-style: inherit !important; 260 font-style: inherit !important;
260 background: #ffc0c0; 261 background: #ffc0c0;
261 overflow: hidden; 262 overflow: hidden;
262} 263}