X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=html%2F_css%2Fstandard.css;h=e8d1b875ffa74a970d81e21ecfee22128498c95c;hb=7a02751aeab9d8fca3ab5cad76f364951cf2c272;hp=b2fa24e5d00c08f5cd181ae5ae11a501810aa56e;hpb=1c759360c48d9b0b8a9bccd218174acf0de900dd;p=cocanwiki.git diff --git a/html/_css/standard.css b/html/_css/standard.css index b2fa24e..e8d1b87 100644 --- a/html/_css/standard.css +++ b/html/_css/standard.css @@ -1,12 +1,25 @@ /* Stylesheet for COCANWIKI. - * $Id: standard.css,v 1.7 2004/10/05 14:51:11 rich Exp $ + * $Id: standard.css,v 1.17 2004/10/18 13:34:21 rich Exp $ */ +/* Based on the basic stylesheet. */ +@import url("basic.css"); + +/* Tables. */ +@import url("tables.css"); + +/* Calendar extension. */ +@import url("calendar.css"); + +/* For print media. */ +@import url("print.css"); + body { background: #fff; color: #000; - font-family: arial, helvetica, sans-serif; + font-family: trebuchet ms, palatino, georgia, arial, helvetica, sans-serif; margin-top: 6em; + line-height: 1.35em; } /* Headers. */ @@ -22,53 +35,60 @@ h1 { } h2 { - color: #003; - background-color: #ffc; + color: #666; + border-top: 1px dashed #ddd; padding: 6px 3px 3px 3px; - border-top: 1px solid #eeb; font-size: 120%; + margin-left: -2em; +} + +h3, h4 { + color: #555; + font-size: 100%; + margin-left: -2em; +} + +/* IE is a piece of crap. */ +* html h2, * html h3, * html h4 { + margin-left: 0px; } /* Ordinary text. */ -p { - margin-left: 1em; +div#content_div { + margin-left: 3em; + width: 30em; + min-height: 22em; } -/* Links. */ -a.external { - background: url(/_graphics/external.png) center right no-repeat; - padding-right: 13px; +div#content_div p { + text-indent: 1em; } -a.newpage { - background: url(/_graphics/newpage.png) center right no-repeat; - padding-right: 13px; - color: #ba0000; +/* Don't indent the first paragraph. */ +div#content_div p.first_para { + text-indent: 0px; } -a.mailto { - background: url(/_graphics/mailto.png) center right no-repeat; - padding-right: 13px; +/* Make sections slightly larger in Gecko browsers. */ +code { + font-size: 1.2em; } -a.image_not_found { - background: url(/_graphics/newpage.png) center right no-repeat; - padding-right: 13px; - color: #ba0000; +* html code { + font-size: 1em; } -a.file_not_found { - background: url(/_graphics/newpage.png) center right no-repeat; - padding-right: 13px; - color: #ba0000; +/* Abbreviations should be in smallcaps. */ +abbr, acronym { + font-variant: smallcaps; } /* Preformatted text. */ pre { margin-left: 1em; - background-color: #eee; + background-color: #fefefe; padding: 3px; - border: dashed 1px #ddd; + border: solid 1px #eee; } /* Images. (Try setting 'class' on an image). */ @@ -185,68 +205,6 @@ ul#history span.date { width: 8.5em; } -/* Versions. */ -div#old_version { - border: solid 2px #f00; - color: #c00; - padding: 4px; - width: 80%; - margin-left: 10%; - clear: both; -} - -/* Tables. */ -table.top_table { - border-collapse: collapse; - border: 1px solid #eee; -} - -table.top_table th { - vertical-align: top; -} - -table.top_table td { - vertical-align: top; -} - -table.top_table td.number { - text-align: right; -} - -table.top_table th.divider { - text-align: center; - padding: 6px; - border-top: 1px solid #eee; - border-bottom: 1px solid #eee; -} - -table.left_table { - border-collapse: collapse; - border: 1px solid #eee; -} - -table.left_table th { - text-align: right; - vertical-align: top; - padding-right: 1em; -} - -table.left_table td { - vertical-align: top; - padding: 3px; -} - -table.left_table td.number { - text-align: right; -} - -table.left_table th.divider { - text-align: center; - padding: 6px; - border-top: 1px solid #eee; - border-bottom: 1px solid #eee; -} - /* Forms. */ form > table { margin-left: auto; @@ -261,12 +219,6 @@ textarea:focus { background-color: #eef; } -/* Highlighting search terms. */ -span.search_term { - background-color: #ff0; - border: 1px solid #eeb; -} - /* Search box. */ div#search_div { position: absolute; @@ -275,3 +227,52 @@ div#search_div { top: 0.95em; text-align: right; } + +/* WikiForms - hide the edit link for the top section. */ +div#form_div p.edit_link { + display: none; +} + +/* Navigation area. + * The navigation_space_div reserves the space for the div and appears + * at the beginning of the page (but is empty). + */ +div#navigation_space_div { + float: right; + width: 10em; + height: 22em; + background: #fff; + margin-left: 1em; +} + +div#navigation_div { + position: absolute; + right: 1em; + top: 6em; + width: 10em; + height: 22em; + line-height: 1em; +} + +div#navigation_div h2 { + display: none; +} + +div#navigation_div h3 { + margin-left: 1em; + margin-top: -0.5em; + font-size: 70%; +} + +div#navigation_div ul { + font-size: 70%; + margin-top: -1em; + margin-left: -1em; +} + +/* The "* html" causes this rule to only be applied to IE 5/6. */ +* html div#navigation_div li { + line-height: 1.2em; + margin-left: 3em; + padding-left: 0px; +}