| 1 | /*********************************************************************** |
|---|
| 2 | ** pmwiki.css |
|---|
| 3 | ** Copyright 2004-2006 Patrick R. Michaud (pmichaud@pobox.com) |
|---|
| 4 | ** Copyright 2006 Hagan Fox |
|---|
| 5 | ** This file is part of PmWiki; you can redistribute it and/or modify |
|---|
| 6 | ** it under the terms of the GNU General Public License as published |
|---|
| 7 | ** by the Free Software Foundation; either version 2 of the License, or |
|---|
| 8 | ** (at your option) any later version. See pmwiki.php for full details. |
|---|
| 9 | ***********************************************************************/ |
|---|
| 10 | |
|---|
| 11 | /* This sets the overall frame for the site */ |
|---|
| 12 | body { |
|---|
| 13 | margin:0px; |
|---|
| 14 | padding:0px; |
|---|
| 15 | font-family:serif; font-size:10pt; |
|---|
| 16 | } |
|---|
| 17 | |
|---|
| 18 | /* These control the fixed-width text elements of the page */ |
|---|
| 19 | textarea, pre, code { font-size:0.9em; } |
|---|
| 20 | pre, code { font-family: monospace; } |
|---|
| 21 | pre { line-height:1.2em; } |
|---|
| 22 | pre code, code code, pre pre { font-size:100%; } |
|---|
| 23 | |
|---|
| 24 | /* These primarily adjust the size and spacing of heading elements, |
|---|
| 25 | ** most browsers have atrocious defaults for these. */ |
|---|
| 26 | h1, h2, h3, h4, h5, h6 { margin-top:1.0em; margin-bottom:0.6em; } |
|---|
| 27 | h1, h2, h3, h6 { font-weight:normal; } |
|---|
| 28 | h4, h5 { font-weight:bold; } |
|---|
| 29 | h1 code, h2 code, h3 code, h4 code { font-size:1em; } |
|---|
| 30 | h1 { font-size:1.8em; } |
|---|
| 31 | h2 { font-size:1.44em; } |
|---|
| 32 | h3 { font-size:1.22em; } |
|---|
| 33 | h4 { font-size:1.07em; } |
|---|
| 34 | h5 { font-size:1.0em; } |
|---|
| 35 | h6 { font-size:1.0em; } |
|---|
| 36 | |
|---|
| 37 | /* The #wikilogo element is the logo from $PageLogoFmt */ |
|---|
| 38 | #wikilogo { margin:0px; padding:0px; background: url('locust_bg.png') repeat; text-align: center; border-bottom:1px #6478a3 solid;} |
|---|
| 39 | |
|---|
| 40 | /* This controls the rest of the heading (primarily the search box) */ |
|---|
| 41 | #wikihead { |
|---|
| 42 | position:absolute; right:10px; top:10px; |
|---|
| 43 | font-family:serif; font-size:85%; |
|---|
| 44 | color: white; |
|---|
| 45 | } |
|---|
| 46 | #wikihead input { font-size:85%; } |
|---|
| 47 | #wikihead a { color:white; } |
|---|
| 48 | #wikihead a:hover { color: #92b0f0;} |
|---|
| 49 | |
|---|
| 50 | /* These are for the left-sidebar. */ |
|---|
| 51 | #wikileft { |
|---|
| 52 | width:15%; |
|---|
| 53 | padding:6px; border-right:1px #92b0f0 dashed; |
|---|
| 54 | line-height:1.33em; |
|---|
| 55 | font-size:90%; font-family:sans-serif; |
|---|
| 56 | background: #d9e6ff; |
|---|
| 57 | } |
|---|
| 58 | #wikileft .vspace { margin-top:1.125em; } |
|---|
| 59 | #wikileft a { text-decoration:none; color:black; } |
|---|
| 60 | #wikileft a:hover { text-decoration:underline; color:#0236a2; } |
|---|
| 61 | #wikileft ul { list-style:none; padding:0px; margin:0px; } |
|---|
| 62 | #wikileft li { margin:0px; padding-left: 6px; } |
|---|
| 63 | .sidehead { |
|---|
| 64 | margin:0px; padding:4px 2px 2px 2px; |
|---|
| 65 | font-size:11pt; font-weight:bold; font-style:normal; |
|---|
| 66 | } |
|---|
| 67 | .sidehead a |
|---|
| 68 | { color:#505050; font-weight:bold; font-style:normal; } |
|---|
| 69 | |
|---|
| 70 | /*right sidebar*/ |
|---|
| 71 | |
|---|
| 72 | #wikiright { |
|---|
| 73 | width:15%; |
|---|
| 74 | border-left:1px #92b0f0 dashed; |
|---|
| 75 | background: #d9e6ff; |
|---|
| 76 | } |
|---|
| 77 | |
|---|
| 78 | /* These affect the main content area. */ |
|---|
| 79 | #wikibody { |
|---|
| 80 | padding:0px 10px 10px 10px; background-color:white; |
|---|
| 81 | font-size:11pt; |
|---|
| 82 | } |
|---|
| 83 | |
|---|
| 84 | #wikicmds { |
|---|
| 85 | position: fixed; |
|---|
| 86 | white-space:nowrap; |
|---|
| 87 | font-family:sans-serif; |
|---|
| 88 | } |
|---|
| 89 | |
|---|
| 90 | #wikicmds ul { list-style:none; margin:0px; padding:0px; } |
|---|
| 91 | #wikicmds li { display:block; margin: 0px; border: none} |
|---|
| 92 | #wikicmds li a { |
|---|
| 93 | text-decoration: none; display:block; color:#0236a2; background: #92b0f0; |
|---|
| 94 | border:1px #92b0f0 solid; margin: 1px; padding: 5px 20px; text-align: center; |
|---|
| 95 | font-weight: bold; -moz-border-radius-topright: 15px; -moz-border-radius-bottomright: 15px; |
|---|
| 96 | } |
|---|
| 97 | #wikicmds li a.createlink { display:none; } |
|---|
| 98 | #wikicmds li a:hover { color:white; background: #0236a2; border:1px black solid;} |
|---|
| 99 | .pagegroup { margin-top:8px; margin-bottom:2px; } |
|---|
| 100 | .pagetitle { line-height:1em; margin:0px; font-size:1.6em; font-weight:normal; } |
|---|
| 101 | .wikiaction { margin-top:4px; margin-bottom:4px; } |
|---|
| 102 | #wikitext { margin-top:12px; line-height:1.33em; } |
|---|
| 103 | #wikitext table { font-size:100%; line-height:1.33em; } /* For MSIE 5.5 */ |
|---|
| 104 | |
|---|
| 105 | a {color: #0236a2;} |
|---|
| 106 | a:hover {color: #92b0f0;} |
|---|
| 107 | |
|---|
| 108 | /* These are for the edit form. */ |
|---|
| 109 | #wikiedit form { margin:0px; width:100%; } |
|---|
| 110 | #wikiedit textarea { width:100%; } |
|---|
| 111 | .wikimessage { margin-top:4px; margin-bottom:4px; font-style:italic; } |
|---|
| 112 | |
|---|
| 113 | /* These affect the lines at the very bottom. */ |
|---|
| 114 | #wikifoot { |
|---|
| 115 | border-top:1px #6478a3 solid; |
|---|
| 116 | font-family:Verdana,sans-serif; font-size:80%; background: url('locust_bg.png') repeat-x; |
|---|
| 117 | text-align: center; |
|---|
| 118 | color: white; |
|---|
| 119 | } |
|---|
| 120 | #wikifoot a { color:white; } |
|---|
| 121 | #wikifoot a:hover { color: #92b0f0;} |
|---|
| 122 | |
|---|
| 123 | /* These affect the printed appearance of the web view (not the separate |
|---|
| 124 | ** print view) of pages. The sidebar and action links aren't printed. */ |
|---|
| 125 | @media print { |
|---|
| 126 | body { width:auto; margin:0px; padding:0.5em; } |
|---|
| 127 | #wikihead, #wikileft, #wikicmds, .footnav { display:none; } |
|---|
| 128 | #wikifoot { padding:2px; } |
|---|
| 129 | } |
|---|