]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Sidebar/sidebar.css
smaller margin
[SourceForge/phpwiki.git] / themes / Sidebar / sidebar.css
1 /**
2  * $Id: sidebar.css,v 1.24 2004-05-18 16:19:21 rurban 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("../default/phpwiki.css");
16
17 /**
18  * General settings
19  */
20 body {
21   background: #fffff0;
22   font-family: Arial, Helvetica, sans-serif;
23   font-size: 85%; /* The default is too large. But enlarge monospace below */
24   margin: 0 0 0 0;
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 div#logo img {
44   /*  position: fixed; */
45   left: 1ex;
46   top:  1ex;
47 }
48 /*
49 div#clock {
50   position: fixed;
51   left: 0.7ex;
52   top:  31ex;
53 }
54 div#calendar {
55   position: fixed;
56   left:  0.7ex;
57   top:  31ex;
58 }
59 */
60 h1 {
61   position: fixed;
62   top: 0;
63   background: ivory;
64   padding-top:    0.5ex;
65   padding-bottom: 0.5ex;
66   padding-left:   0.25em;
67   width: 100%;
68   border-bottom: 2px solid black;
69 }
70
71 h1 a.backlinks { text-decoration: none; }
72
73 /**
74  * Common toolbar settings
75  * Note that div.toolbar is used for other toolbars besides
76  * #navbar and #actionbar, such as in editpage and removepage
77  */
78 #navbar hr, #actionbar hr { display: none; }
79
80 #navbuttons, #actionbuttons, #signin { line-height: 2.4ex; }
81
82 /* Make the buttons as wide as the containing box */
83 #navbuttons a.wikiaction, #actionbuttons a.wikiaction, #signin a.wikiaction,
84 #navbuttons a.wikiadmin, #actionbuttons a.wikiadmin, #signin a.wikiadmin
85 {
86   display: block;
87   margin-bottom: 0.5ex;
88   line-height: 100%;
89   text-align: center;
90   /* ie5.1mac ignores this! */
91   width: 12em;
92   max-width: 12em;
93
94   border-top:  1px solid #eee;
95   border-left: 1px solid #eee;
96   border-bottom: 1px solid #999;
97   border-right:  1px solid #999;
98 }
99
100 #navbuttons, #actionbuttons, #signin {
101   color: black;
102   background: white;
103   text-align: left;
104 /*  position: fixed; */
105   left:   0.5em;
106   /* ie5.1 ignores max-width and sets the box
107      width to the width of the whole page.
108      ARGH! The buttons look so much better
109      with max-width instead of width... */
110   width: 12.5em;
111   max-width: 12.5em;
112
113   padding-left:  0.5em;
114   padding-right: 0.5em;
115   padding-top:    0.6ex;
116   padding-bottom: 0.25ex;
117
118   border-top:  1px solid #e8e6df;
119   border-left: 1px solid #e8e6df;
120   border-bottom: 1px solid #d3d2c8;
121   border-right:  1px solid #e8e6df;
122 }
123 #navbuttons input { margin-bottom: 0.5ex; }
124
125
126 /**
127  * Navigation links
128  */
129 div#navbuttons:before {
130   /* bonus for css2 browsers */
131   display: block;
132   /* content: "PhpWiki Navigation"; */ /* localise with dynamic css? */
133   border-bottom: 2px solid black;
134 }
135 #navbuttons { top: 5.5ex; }
136
137 /**
138  * Action links
139  */
140 div#actionbuttons:before {
141   /* bonus for css2 browsers */
142   display: block;
143   content: "Actions"; /* localise with dynamic css? */
144 }
145 /* div#actionbuttons { bottom: 10ex; } */
146
147 /**
148  * Sign In
149  */
150 /* div#signin { position: fixed; bottom: 0; } */
151 div#signin
152 {
153  margin-bottom: 1ex;
154 }
155
156 /**
157  * Last edited
158  *
159  * Really the only thing left in in #actionbar
160    at this point is the date, everything else
161    has been plucked out. */
162 p.editdate {
163   background: white;
164   padding: 0.25ex 0.5em;
165   border-top:  1px solid #e8e6df;
166   border-left: 1px solid #e8e6df;
167   border-bottom: 1px solid #d3d2c8;
168   border-right:  1px solid #e8e6df;
169
170   margin-left:  0.5em;
171   margin-right: 1em;
172   margin-top:   0.5ex;
173   margin-bottom: 0.5ex;
174 }
175
176 /*
177 div#actionbar {
178   color: black;
179   background: ivory;
180   border-top: 1px solid #b2b2b2;
181   width: auto;
182   position: fixed;
183   left:  13em;
184   bottom: 0;
185   margin: 0;
186 }
187 */
188
189 /**
190  * Other
191  */
192 .debug {
193   position: fixed;
194   left: 0.5em;
195   top: 42ex;
196   width: 13em;
197   max-width: 13em; /* ie ignores this */
198 }
199
200 /*
201 div#xhtml-validator { display: none; }
202  */
203
204 div#xhtml-validator {
205   position: fixed;
206   right: 0.75em;
207   top: 1ex;
208 }
209
210 .clear-floats {
211   clear: both;
212 }
213
214 /* Black Links (not yet working) */
215 div.box-title a, div.box-title a:visited, div.box-title a:link {
216   text-decoration: none;
217   color: black;
218 }
219 div.box-title a:hover {
220   background-color: #def;
221 }
222
223 /* smaller sidebar links */
224 div.box-data a.wiki, div.box-data a.wiki:visited, div.box-data a.wiki:link {
225   text-decoration: none;
226   color: black;
227   font-size: smaller;
228 }
229
230 div.box-data a.wiki:hover {
231   background-color: #def;
232 }
233 /* For emacs users
234  *
235  * Local Variables:
236  * mode: c
237  * c-file-style: cc-mode
238  * End:
239  */