]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Sidebar/sidebar.css
Complete rewrite from the ground up. A Brand New Look!! All the little wrapping glitc...
[SourceForge/phpwiki.git] / themes / Sidebar / sidebar.css
1 /**
2  * $Id: sidebar.css,v 1.9 2002-02-12 07:18:12 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: 3ex; /* 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 inset #6d6a5c;
33   border-right:  1px inset #b3ae97;
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: 1ex;
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  */
67 hr.toolbar { display: none; }
68
69 .toolbar { line-height: 2.4ex; }
70
71 /* Make the buttons as wide as the containing box */
72 a.wikiaction, a.wikiadmin {
73   display: block;
74   margin-bottom: -2ex;
75   line-height: 100%;
76   text-align: center;
77   /* ie5.1mac ignores this! */
78   max-width: 10em;
79 }
80
81 #navbuttons, #actionbuttons, #signin {
82   color: black;
83   background: white;
84   text-align: left;
85   position: fixed;
86   left:   0.5em;
87
88   /* ie5.1 ignores max-width and sets the box
89      width to the width of the whole page.
90      ARGH! The buttons look so much better
91      with max-width instead of width... */
92   width: 11em;
93
94   padding-left: 0.5em;
95   padding-right: 0.5em;
96   padding-top: 0.5ex;
97   /* This hack provides enough room for the
98      last actionbutton. Unfortunately when 
99      the last line isn't an actionbutton
100      (like PhpWikiAdministration)
101      this creates an extra blank line. */
102   padding-bottom: 3ex;
103
104   border-top:  1px solid #e8e6df;
105   border-left: 1px solid #e8e6df;
106   border-bottom: 1px solid #d3d2c8;
107   border-right:  1px solid #e8e6df;
108 }
109 #navbuttons input { margin-bottom: 0.5ex; }
110
111 /**
112  * Navigation links
113  */
114 div#navbuttons:before {
115   /* bonus for css2 browsers */
116   display: block;
117   content: "PhpWiki Navigation"; /* localise with dynamic css? */
118   border-bottom: 2px solid black;
119 }
120 #navbuttons { top: 10ex; }
121
122
123 /**
124  * Action links
125  */
126 div#actionbuttons:before {
127   /* bonus for css2 browsers */
128   display: block;
129   content: "Actions"; /* localise with dynamic css? */
130 }
131 div#actionbuttons { bottom: 9ex; }
132
133
134 /**
135  * Sign In
136  */
137 div#signin { 
138   bottom: -2ex;
139   /* slightly different borders */
140   border-bottom: 1px inset #6d6a5c;
141   border-right:  1px inset #b3ae97;
142 }
143
144
145 /**
146  * Last edited
147  *
148  * Really the only thing left in in #actionbar
149    at this point is the date, everything else
150    has been plucked out. */
151 div#actionbar {
152   color: black;
153   background: ivory;
154   border-top: 1px solid #b2b2b2;
155   position: fixed;
156   left:  13em;
157   bottom: -1.5ex;
158   padding-top: 0.5ex;
159   padding-bottom: 0.5ex;
160   padding-left: 0.5em;
161   width: 100%;
162 }
163
164
165
166 /*
167 */
168 div#xhtml-validator { display: none; }
169
170 div#xhtml-validator {
171   position: fixed;
172   left: 1em;
173   top: 34ex;
174 }
175
176
177 /* For emacs users
178  *
179  * Local Variables:
180  * mode: c
181  * c-file-style: cc-mode
182  * End:
183  */