author | Michael Krelin <hacker@klever.net> | 2005-04-03 11:00:15 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2005-04-03 11:00:15 (UTC) |
commit | 85471d7c2c74035399ba7047f409fe6248e1d6f0 (patch) (unidiff) | |
tree | 65f94a620e03fc9174ed2812f8ef361c2b4535ec /htdocs | |
parent | 0234b0ae9ba19a37771a8e7d519137fa811c206c (diff) | |
download | sitecing-85471d7c2c74035399ba7047f409fe6248e1d6f0.zip sitecing-85471d7c2c74035399ba7047f409fe6248e1d6f0.tar.gz sitecing-85471d7c2c74035399ba7047f409fe6248e1d6f0.tar.bz2 |
spolit some things to make MSIE a bit happier
-rw-r--r-- | htdocs/ancestry/page.chtml | 2 | ||||
-rw-r--r-- | htdocs/style.css | 5 |
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,66 +1,66 @@ | |||
1 | body { | 1 | body { |
2 | font-family: sans-serif; | 2 | font-family: arial,helvetica, sans-serif; |
3 | font-size: 11pt; | 3 | font-size: 11pt; |
4 | } | 4 | } |
5 | 5 | ||
6 | a:link, a:visited { | 6 | a:link, a:visited { |
7 | text-decoration: none; | 7 | text-decoration: none; |
8 | } | 8 | } |
9 | a:link:hover, a:visited:hover { | 9 | a:link:hover, a:visited:hover { |
10 | text-decoration: underline; | 10 | text-decoration: underline; |
11 | } | 11 | } |
12 | p { | 12 | p { |
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 | } |
17 | p.note { | 17 | p.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 | } |
27 | code a, | 27 | code a, |
28 | code { | 28 | code { |
29 | color: #d04040; | 29 | color: #d04040; |
30 | } | 30 | } |
31 | em { | 31 | em { |
32 | white-space: nowrap; | 32 | white-space: nowrap; |
33 | } | 33 | } |
34 | 34 | ||
35 | div.google_ad { | 35 | div.google_ad { |
36 | text-align: center; | 36 | text-align: center; |
37 | margin: 1ex; | 37 | margin: 1ex; |
38 | } | 38 | } |
39 | div.google_ad.top { | 39 | div.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 | } |
43 | div.google_ad.bottom { | 43 | div.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 | ||
48 | div#sidepanel { | 48 | div#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 | } |
54 | div#content { | 54 | div#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 | ||
60 | div#sidepanel h1 { | 60 | div#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; |
@@ -173,90 +173,91 @@ ul.sourcebrowser ul.dir { | |||
173 | margin: 1px 0px 1px 0px; | 173 | margin: 1px 0px 1px 0px; |
174 | } | 174 | } |
175 | ul.sourcebrowser li.dir { | 175 | ul.sourcebrowser li.dir { |
176 | margin: 1px 0px 1px 0px; | 176 | margin: 1px 0px 1px 0px; |
177 | } | 177 | } |
178 | ul.sourcebrowser li.file { | 178 | ul.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 | } |
183 | ul.sourcebrowser li.file a { | 183 | ul.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 | } |
189 | ul.sourcebrowser li.file a:hover { | 189 | ul.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 | ||
195 | div.prevnext { | 195 | div.prevnext { |
196 | margin: 1ex; | 196 | margin: 1ex; |
197 | } | 197 | } |
198 | div.prevnext a { | 198 | div.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 | } |
205 | div.prevnext a.prevnext-prev { | 205 | div.prevnext a.prevnext-prev { |
206 | float: left; | 206 | float: left; |
207 | text-align: left; | 207 | text-align: left; |
208 | } | 208 | } |
209 | div.prevnext a.prevnext-next { | 209 | div.prevnext a.prevnext-next { |
210 | float: right; | 210 | float: right; |
211 | text-align: right; | 211 | text-align: right; |
212 | } | 212 | } |
213 | div.prevnext a:hover { | 213 | div.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 | ||
220 | ul.quickref.toc { | 220 | ul.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 | ||
226 | dl.quickref { | 226 | dl.quickref { |
227 | margin: 1ex 1em; | 227 | margin: 1ex 1em; |
228 | overflow: hidden; | 228 | overflow: hidden; |
229 | } | 229 | } |
230 | dl.quickref dt { | 230 | dl.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 | } |
236 | dl.quickref dd { | 236 | dl.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 | } |
242 | dl.quickref code kbd { | 243 | dl.quickref code kbd { |
243 | font-style: italic; | 244 | font-style: italic; |
244 | color: #0000c0; | 245 | color: #0000c0; |
245 | } | 246 | } |
246 | dl.quickref blockquote { | 247 | dl.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 | } |
254 | dl.quickref blockquote em { | 255 | dl.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 | } |