7d8b57e6ce7809ed2a5fe7955b9e3ba6234e4d98
[matthijs/projects/wipi.git] / static / deadfoxjunction / css / screen.css
1 /*@import url('../../modern/css/screen.css');*/
2
3 html, body {
4         margin:0px;
5         padding:0px;
6 }
7
8
9 html {
10         background-color: black;
11 }
12
13 /* Put some wooden boards behind the site */
14 body {
15         background-image: url('../img/background.jpg');
16         background-repeat: no-repeat;
17 }
18
19
20 /* Build the main layout. The header is left, the page is right and the footer
21  * ends up below both. We also clear #footerbottom so all of the floating
22  * stuff in the footer will still stretch up the body element and get a
23  * background. */
24 #header {
25         float: left;
26         width: 320px;
27 }
28
29 #page {
30         float: left;
31         width: 730px;
32 }
33
34 body {
35         /* Ensure that both floats fit next to each other, even on small
36          * screens */
37         min-width: 1080px;
38         /* Leave a bit of space open at the top */
39         padding-top: 60px;
40 }
41
42 #footer, #footerbottom {
43         clear: both;
44 }
45
46 /****************************************
47  * Set up the menu bar at the left 
48  ****************************************/
49
50 #header {
51         padding-left: 30px;
52         padding-top: 60px;
53 }
54
55
56 /* Make the menubar and the logo the same width, so the menu items are nicely
57  * centered between the logo. Note that this width is a bit more than the
58  * width of #header, so the logo and menu will "stick out" (but end up in the
59  * margin of the "window" to the right, so it will look fine). */
60 #header #logo, #menubar {
61         width: 344px;
62 }
63
64 #menubar {
65         /* Put the logo and the menu a bit closer (they both have some empty
66          * space at the bottom resp. top). */
67         margin-top: -40px;
68 }
69
70 #menubar ul {
71         /* Disable all default list-style stuff */
72         padding-left:0px;
73         margin:0;
74         list-style-type:none;
75         list-style-position:outside;
76 }
77
78 #menubar li {
79         /* Center the menu items */
80         text-align: center;
81
82         /* Set a big font */
83         font-family: serif;
84         font-size: 35px;
85         font-weight: bold;
86
87         /* And set up some spacing */
88         height: 60px;
89 }
90
91 #menubar li img {
92 }
93
94 /* Disable underlining */
95 #menubar li a {
96         text-decoration:none;
97 }
98
99 /* Give the menu bar links a hover color */
100 #menubar li a:hover {
101         color:#FFD200;
102 }
103
104
105 /****************************************
106  * Set up the fancy window around the content
107  ****************************************/
108
109
110 /* All of these parts have the same width, including the frame (actual window
111  * will be smaller) */
112 #pagetop, #pagemiddle, #pagebottom {
113         width: 730px;
114 }
115
116 /* Set the background images and heights */
117 #pagetop {
118         height:390px;
119         background-image:url('../img/frame/top.png');
120
121
122 #pagemiddle {
123         background-image:url('../img/frame/middle.png');
124         background-repeat:repeat-y;
125 }
126
127 #pagebottom{
128         height: 204px;
129         background-image:url('../img/frame/bottom.png');
130         background-repeat: no-repeat;
131 }
132
133 #pagemiddle {
134         /* Add padding to prevent the margins from the stuff inside
135          * #pagemiddle (div, p, h1) from sticking out at the top */
136         padding-top: 1px;
137 }
138
139 #window {
140         /* Move the window div up 330 pixels, so it ends up in the black part
141          * of the top frame image */
142         position: relative;
143         top: -330px;
144         /* Shorten the window div by 330 + 140 pixels, since the rest of the
145          * layout doesn't take the relative positioning into account, and we
146          * also want the window to stick out 140 pixels, into the black part
147          * of the bottom frame image. */
148         margin-bottom: -470px;
149
150         /* Prevent near empty pages from looking silly. */      
151         min-height: 400px;
152 }
153
154 /* Crop #page, since due to the relative positioning stuff, the background
155  * image of #pagemiddle sticks out a few hundreds of pixels at the bottom.
156  * This is a bit of a hack, but well. */
157 #page {
158         overflow: hidden;
159 }
160
161 #window {
162         /* Keep the window away from the frame edges */
163         padding: 0 100px;
164 }
165
166 /****************************************
167  * Set up the content formatting
168  ****************************************/
169
170 /* Set up a fallback color, used for text outside of the content area (login
171  * link, editbar, etc.) */
172 body, body a, body a:visited {
173         color: #ffd200;
174 }
175
176 /* Set up main text color */
177 #content {
178         color:#b79265;
179 }
180
181 /* Set up header colors */
182 #content h1,
183 #content h2,
184 #content h3 {
185         color:#824900;
186 }
187
188 #content a, #content a:visited {color: #9F2900;}
189 #content a:hover, #content a:visited:hover {color: #ffd200;}
190 #content a.nonexistent, #content a.badinterwiki {color: #cc8900;}
191
192
193 /* Set up fonts */
194 #content {
195         font-family:verdana, sans-serif;
196         font-size:11px;
197 }
198 #content h1 {
199         font-size:17px;
200 }
201 #content h2 {
202         font-size:15px;
203 }
204
205 /* Disable the standard borders on tables, they are ugly */
206 table {
207         border:0px;
208 }
209
210 /* Table with horizontal lines (historically classed "border") */
211 table.border td {
212         border:0px;
213         border-bottom:1px solid #5A1800;
214 }
215
216 /* Header rows */
217 tr.kop1 {
218         background-color:#BEAA76;
219 }
220
221 tr.kop2 {
222         background-color:#F1E5CB;
223 }
224
225
226 /****************************************
227  * Set up the editor interface
228  ****************************************/
229
230 /* Make sure that the text area and comment field don't flow out at the right.
231  * Using width: 100% didn't work for some reason, so we'll fix this to the
232  * width of #window minus its padding */
233 #editor textarea, #editor input[type=text] {
234         width: 530px;
235 }
236
237 /* Put a bit of space between the buttons and the text area */
238 #editor-textarea {
239         margin-top: 0.5em;
240 }
241
242 /* Help is more clear when monospaced */
243 #editor-help {
244         font-family: monospace;
245 }
246
247
248 /****************************************
249  * Set up the stuff in the footer
250  ****************************************/
251
252 /* Format the pageinfo bar. */
253 #pageinfo {
254         float: right;
255         margin: 0px 12px;
256 }
257
258 /* Format the username bar, copied from the modern theme */
259 #username {
260         float: left;
261         display: inline;
262         margin: 0px 12px;
263         padding: 0;
264         text-align: right;
265         font-size: 0.82em;
266         white-space: nowrap;
267 }
268
269 #username li {
270         display: inline;
271         padding: 0 0.5em 0 0;
272 }
273
274 #searchform {
275         /* Put the searchform below the pageinfo / username bar */
276         clear: both;
277         float: right;
278         /* Put a bit of offset between the pageinfo and searchform. Don't use
279      * margin here, that collapses with the floating pageinfo. */
280         padding-top: 10px;
281 }
282
283 /****************************************
284  * Set up the stuff in the footer (the thing that contains the edit link)
285  ****************************************/
286
287 .editbar {
288         /* Disable all default list-style stuff */
289         list-style-type:none;
290         list-style-position:outside;
291         padding-left:0px;
292         margin-top: 0px;
293         margin-bottom: 0px;
294
295         /* And indent a bit to align with the content text (width of #header +
296          * padding-left of #content) */
297         margin-left: 500px;
298 }
299
300 ul.editbar li {
301         /* Put menu items horizontally */
302         display:inline;
303         /* But not completely squashed together */
304         margin-right: 20px;
305 }
306
307 /* Really put the more actions dropdown horizontally */
308 .editbar form, .editbar form div {
309         display: inline;
310 }
311
312 /* Use a sane text color with all the below backgrounds */
313 .diff { 
314         color: black; 
315 }
316 /* Diff view, copied from modern/screen.css */
317 .diff-header {
318         font-weight: bold;
319 }
320
321 .diff-title {
322         background-color: #C0C0C0;
323 }
324
325 .diff-added {
326         background-color: #E0FFE0;
327         vertical-align: sub;
328 }
329
330 .diff-removed {
331         background-color: #FFFFE0;
332         vertical-align: sub;
333 }
334
335 .diff-added span {
336         background-color: #80FF80;
337 }
338
339 .diff-removed span {
340         background-color: #FFFF80;
341 }
342 /* vim: set sw=4 sts=4 expandtab */