summaryrefslogtreecommitdiff
path: root/local.css
blob: 97f12a64e0fddfa06ade064caf83a07f864f0510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
/* ikiwiki local style sheet

   Copyright © 2007, 2008 Free Software Foundation, Inc.

   Permission is granted to copy, distribute and/or modify this document under
   the terms of the GNU Free Documentation License, Version 1.2 or any later
   version published by the Free Software Foundation; with no Invariant
   Sections, no Front-Cover Texts, and no Back-Cover Texts.  A copy of the
   license is included in the section entitled ``GNU Free Documentation
   License''.  */

/*
 * Someone else please work on this stuff -- someone who knows to make it
 * actually look good...  Some examples are available at
 * <http://ikiwiki.info/css_market/>.  --tschwinge
 */

/* TODO.  I'm incapable, but have ideas, so...

   (1) On web-edit pages like
   <http://www.bddebian.com/cgi-bin/wiki-ikiwiki.cgi?page=index&do=edit> I'd
   like to have the whole page fit into the web browser frame, so that no
   scrollbars show up in the browser and all of header, text editing box,
   copyright assignment notice, buttons and footer are visible at once, without
   having to scroll.  This means that the text editing box should be resized in
   height as needed (within limits, of course).  --tschwinge
*/


body
{
  font-family: "Bitstream Vera Sans", sans-serif;
  padding: 0.5em;
}

p
{
  clear: left;
}

hr
{
  height: 1px;
  border-style: none;
  background-color: black;
  margin-left: 0;
}

pre
{
  margin-left: 3em;
  font-weight: bold;
  padding: 0.5em;
  overflow: auto;
}

a
{
  text-decoration: none;
}
a:hover
{
  border-bottom: 1px dotted blue;
}

/* Put these elements side by side.  */
.pagedate,
.pagecopyright,
.pagelicense
{
  display: table-cell;
  padding: 0.15em;
}
.pagecopyright p,
.pagelicense p
{
  display: inline;
}
/* But add some spacing between them.  */
.pagedate + .pagecopyright,
.pagedate + .pagelicense,
.pagecopyright + .pagelicense,
.pagecopyright + .pagedate,
.pagelicense + .pagedate
{
  padding-left: 1em;
}

.header
{
  padding: 0.5em;
  background-color: #f0f0f0;
}

.pageheader .actions
{
  background-color: #e7e7e7;
  padding: 0em 0.5em 0.3em 0.5em;
  border-top: 1px solid #999999;
}

.pageheader .actions .global
{
  max-width: 50%;
  float: left;
  margin-right: 3em;
}

.pageheader .actions .per_page ul:before
{
  font-style: oblique;
  content: "This page:";
}

.pageheader .actions ul
{
  border: none;
  padding-top: 0.7em;
}

.pageheader .actions li
{
  padding: 0.7em 0.7em 0.4em 0.7em;
  border: 1px solid #e7e7e7;
  border-top: 1px solid #999999;
}
.pageheader .actions li:hover
{
  background-color: #f0f0f0;
  border: 1px solid #999999;
  border-top: 1px solid #f0f0f0;
  -moz-border-radius-bottomleft: 0.8em;
  -moz-border-radius-bottomright: 0.8em;
}

#content
{
  padding: 0.5em;
}

#sidebar
{
  background-color: #f0f0f0;
}

.pagedate,
.pagecopyright,
.pagelicense
{
  background-color: #f0f0f0;
  font-size: small;
}

/* Used in `.templates/editpage.tmpl'.  */
.copyright_assignment_notice
{
  background-color: #f0f0f0;
  font-size: small;
}


/* Variable width.  */
#sidebar
{
  width: auto;
  /* ikiwiki's default for `width'.  */
  min-width: 20ex;
}

/* Less indentation for list items.  */
#sidebar ul
{
  padding-left: 2ex;
}
#sidebar ul ul
{
  padding-left: 2.5ex;
}
/* Make the logo appear centered */
#sidebar img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* News items on the front page.  */
#feedlink,
.newsitem
{
  margin-bottom: 0.2em;
}  

.newsitem
{
  border: 1px solid black;
  overflow: auto;
}
.newsitem .newsitemheader .header
{
  max-width: 30%;
  float: left;
  margin-right: 1em;
  border-bottom: 1px solid black;
  border-right: 1px solid black;
}
.newsitem .header,
.newsitem .author
{
  font-size: small;
  font-style: italic;
}
.newsitem .actions
{
  font-size: small;
}
.newsitem .actions ul
{
  border-bottom-style: none;
  padding: 0.5em 0;
  line-height: 1;
}
.newsitemcontent p
{
  margin: 0.3em;
}


.table_style_1
{
  text-align: left;
  font-size: small;

  border-width: thin;
  border-style: solid;
  border-collapse: collapse;
  empty-cells: show;
}

.table_style_1 th
{
  vertical-align: top;

  border-width: thin;
  border-style: solid;
}

.table_style_1 td
{
  vertical-align: top;

  border-width: thin;
  border-style: dotted;
}