]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Sidebar/sidebar.css
remove redundant wrong templates, fix IE errors by removing printf, improve Sidebar...
[SourceForge/phpwiki.git] / themes / Sidebar / sidebar.css
1 /**
2  * $Id: sidebar.css,v 1.29 2005-02-04 13:25:07 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 #actionbuttons, #signin { line-height: 2.4ex; }
80 #navbuttons input { margin-bottom: 0.5ex; }
81 .sidebar { line-height: 1em; }
82 /*#navbuttons { top: 5.5ex; }*/
83
84 /* backlinks button */
85 .sidebar a.wikiadmin, .sidebar a.wikiaction { 
86   border: 0;
87   margin: 0;
88   padding: 0;
89   -moz-appearance: none;
90   -moz-box-sizing: auto;
91   -moz-border-radius: 0;
92   background-color: #fff;
93 }
94
95 /**
96  * Action links
97  * bonus for css2 browsers
98  * localise with dynamic css?
99  */
100 /*
101 div#actionbuttons:before {
102   display: block;
103   content: "Actions";
104 }
105 */
106 /* div#actionbuttons { bottom: 10ex; } */
107
108 /**
109  * Sign In
110  */
111 /* div#signin { position: fixed; bottom: 0; } */
112 div#signin { margin-bottom: 1ex; }
113
114 /**
115  * Last edited
116  *
117  * Really the only thing left in in #actionbar
118    at this point is the date, everything else
119    has been plucked out. */
120 p.editdate {
121   background: white;
122   padding: 0.25ex 0.5em;
123   border-top:  1px solid #e8e6df;
124   border-left: 1px solid #e8e6df;
125   border-bottom: 1px solid #d3d2c8;
126   border-right:  1px solid #e8e6df;
127
128   margin-left:  0.5em;
129   margin-right: 1em;
130   margin-top:   0.5ex;
131   margin-bottom: 0.5ex;
132 }
133
134 /*
135 div#actionbar {
136   color: black;
137   background: ivory;
138   border-top: 1px solid #b2b2b2;
139   width: auto;
140   position: fixed;
141   left:  13em;
142   bottom: 0;
143   margin: 0;
144 }
145 */
146
147 /**
148  * Other
149  */
150 .debug {
151   margin-left:  0.5em;
152   left: 0.5em;
153   /*position: fixed;
154   top: 42ex;
155   width: 13em; */
156   max-width: 13em; /* ie ignores this */
157 }
158
159 /*
160 div#xhtml-validator { display: none; }
161  */
162
163 div#xhtml-validator {
164   /*  position: fixed; */
165   right: 0.75em;
166   /*  top: 1ex; */
167 }
168
169 .clear-floats {
170   clear: both;
171 }
172
173 /* Black Links */
174 div.box-title a, div.box-title a:visited, div.box-title a:link {
175   font-weight: normal;
176   text-decoration: none;
177   color: black;
178 }
179 div.box-title a:hover {
180   background-color: #def;
181 }
182
183 /* smaller sidebar links */
184 div.box-data a, div.box-data a:visited, div.box-data a:link {
185   text-decoration: none;
186   color: black;
187   font-size: smaller;
188 }
189
190 div.box-data a:hover {
191   background-color: #def;
192 }
193 /* For emacs users
194  *
195  * Local Variables:
196  * mode: c
197  * c-file-style: cc-mode
198  * End:
199  */