]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Sidebar/sidebar.css
eureka! eliminated a hack
[SourceForge/phpwiki.git] / themes / Sidebar / sidebar.css
1 /**
2  * $Id: sidebar.css,v 1.13 2002-02-14 06:44:32 carstenklapp Exp $
3  *
4  * This incarnation of this stylesheet is a complete rewrite from the
5  * ground up.
6  * 
7  * It renders excellent with Mozilla and very good with IE5.1Mac.
8  * 
9  * No floats are used, for older versions of ie (which apparently hang).
10  *
11  * OmniWeb is totally useless with this stylesheet.
12  * This also has not yet been tested against NS4.
13  * 
14  */
15 @import url("../../phpwiki.css");
16
17
18 /**
19  * General settings
20  */
21 body {
22   margin-top: 6ex; /* area under fixed h1 */
23   margin-left: 13em;
24   padding-bottom: 4ex; /* area under fixed #actionbar (editdate) */ 
25 }
26
27 div.wikitext {
28   margin-left: 0.5em;
29   /* "paper" borders */
30   border-top:  1px solid #e8e6df;
31   border-left: 1px solid #e8e6df;
32   border-bottom: 1px solid #b2b2b2;
33   border-right:  1px solid #b2b2b2;
34 }
35
36 /** some border colors
37  ** to play with
38   #d3d2c8;
39   #e8e6df;
40   #6d6a5c;
41   #b3ae97;
42  **/
43
44 div#logo img {
45   position: fixed;
46   left: 1em;
47   top:  1.5ex;
48 }
49
50 h1 {
51   position: fixed;
52   top: 0;
53   background: ivory;
54   padding-top:    0.5ex;
55   padding-bottom: 0.5ex;
56   padding-left: 0.25em;
57   width: 100%;
58   border-bottom: 2px solid black;
59 }
60
61 h1 a.backlinks { text-decoration: none; }
62
63
64 /**
65  * Common toolbar settings
66  * Note that div.toolbar is used for other toolbars besides
67  * #navbar and #actionbar, such as in editpage and removepage
68  */
69 #navbar hr, #actionbar hr { display: none; }
70
71 #navbuttons, #actionbuttons, #signin { line-height: 2.4ex; }
72
73 /* Make the buttons as wide as the containing box */
74 a.wikiaction, a.wikiadmin {
75   display: block;
76   margin-bottom: 0.5ex;
77   line-height: 100%;
78   text-align: center;
79   /* ie5.1mac ignores this! */
80   width: 9.25em;
81   max-width: 9.25em;
82 }
83
84 #navbuttons, #actionbuttons, #signin {
85   color: black;
86   background: white;
87   text-align: left;
88   position: fixed;
89   left:   0.5em;
90   /* ie5.1 ignores max-width and sets the box
91      width to the width of the whole page.
92      ARGH! The buttons look so much better
93      with max-width instead of width... */
94   width: 10.5em;
95   max-width: 10.5em;
96
97   padding-left:  0.5em;
98   padding-right: 0.5em;
99   padding-top:    0.6ex;
100   padding-bottom: 0.25ex;
101
102   border-top:  1px solid #e8e6df;
103   border-left: 1px solid #e8e6df;
104   border-bottom: 1px solid #d3d2c8;
105   border-right:  1px solid #e8e6df;
106 }
107 #navbuttons input { margin-bottom: 0.5ex; }
108
109
110 /**
111  * Navigation links
112  */
113 div#navbuttons:before {
114   /* bonus for css2 browsers */
115   display: block;
116   content: "PhpWiki Navigation"; /* localise with dynamic css? */
117   border-bottom: 2px solid black;
118 }
119 #navbuttons { top: 10ex; }
120
121
122 /**
123  * Action links
124  */
125 div#actionbuttons:before {
126   /* bonus for css2 browsers */
127   display: block;
128   content: "Actions"; /* localise with dynamic css? */
129 }
130 div#actionbuttons { bottom: 12ex; }
131
132
133 /**
134  * Sign In
135  */
136 div#signin { bottom: 1ex; }
137
138
139 /**
140  * Last edited
141  *
142  * Really the only thing left in in #actionbar
143    at this point is the date, everything else
144    has been plucked out. */
145 p.editdate {
146   background: white;
147   padding: 0.25ex 0.5em;
148   border-top:  1px solid #e8e6df;
149   border-left: 1px solid #e8e6df;
150   border-bottom: 1px solid #d3d2c8;
151   border-right:  1px solid #e8e6df;
152
153   margin-left:  0.5em;
154   margin-right: 1em;
155   margin-top:   0.5ex;
156   margin-bottom: 0.5ex;
157 }
158
159 div#actionbar {
160   color: black;
161   background: ivory;
162   border-top: 1px solid #b2b2b2;
163   width: auto;
164   position: fixed;
165   left:  13em;
166   bottom: 0;
167   margin: 0;
168 }
169
170
171 /**
172  * Other
173  */
174 .debug {
175   position: fixed;
176   left: 0.5em;
177   top: 38ex;
178   width: 12em;
179   max-width: 12em; /* ie ignores this */
180 }
181
182 /*
183 */
184 div#xhtml-validator { display: none; }
185
186 div#xhtml-validator {
187   position: fixed;
188   right: 0.75em;
189   top: 1ex;
190 }
191
192
193 /* For emacs users
194  *
195  * Local Variables:
196  * mode: c
197  * c-file-style: cc-mode
198  * End:
199  */