summaryrefslogtreecommitdiff
path: root/local.css
blob: a699b89c5284697305e4277d8b41551451d23735 (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
/* ikiwiki local style sheet

   Copyright © 2007 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

   (2) `.pagecopyright' and `.pagelicense' should get the spacing between them
   removed and should get some margins.
*/



hr
{
  height: 1px;
  border-style: none;
  background-color: black;
  /* No idea, if this is ``just'' a Firefox bug (looks fine without the
   * following statement in konqueror), but it for sure inhibits the `hr's from
   * being shifted to the right.  */
  margin-left: 0px;
}

pre
{
  margin-left: 3em;
  background-color: #e5e5e5;
}

/* Only have these colored blocks be as wide as they need be.  */
pre
{
  float: left;
  padding: 0.5em;
  margin-bottom: 1.5em;
  margin-top: 0;
}
h1, h2, h3, h4, h5, h6, table, p, ol, ul, li, div, pre, hr
{
  clear: left;
}

/* Override `style.css'.  TODO.  Is this really what we want to do?  This
   avoids displaying oddities in the Debian FAQ, where the second item from the
   top would be shifted towards the bottom, because of the first item's date,
   copyright and license lines being rendered below the bottom corner of the
   sidebar.  */
.pagedate,
.pagecopyright,
.pagelicense
{
  clear: none;
}

.header
{
  background-color: #f0f0f0;
}

.actions
{
  background-color: #f0f0f0;
}

#sidebar
{
  background-color: #f0f0f0;
}

.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;
}

.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;
}