~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to wiki/htdocs/classic/css/common.css

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20080622211713-inlv5k4eifxckelr
ImportĀ upstreamĀ versionĀ 1.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*  common.css - MoinMoin Default Styles
 
2
 
 
3
Copyright (c) 2001, 2002, 2003 by Juergen Hermann
 
4
*/
 
5
 
 
6
html {
 
7
        background-color: white;
 
8
        color: black;
 
9
        font-family: Arial, Lucida Grande, sans-serif;
 
10
        font-size: 1em;
 
11
}
 
12
 
 
13
a.www:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
 
14
a.http:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
 
15
a.https:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
 
16
a.file:before {content: url(../img/moin-ftp.png); margin: 0 0.2em;}
 
17
a.ftp:before {content: url(../img/moin-ftp.png); margin: 0 0.2em;}
 
18
a.nntp:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
 
19
a.news:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
 
20
a.telnet:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
 
21
a.irc:before,a.ircs:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
 
22
a.mailto:before {content: url(../img/moin-email.png); margin: 0 0.2em;}
 
23
a.attachment:before {content: url(../img/moin-attach.png); margin: 0 0.2em;}
 
24
a.badinterwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
 
25
a.interwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
 
26
 
 
27
/* Headings */
 
28
 
 
29
h1, h2, h3, h4, h5, h6
 
30
{
 
31
        border-bottom: 4px solid #EDD097;
 
32
}       
 
33
 
 
34
li p {
 
35
        margin: .25em 0;
 
36
}
 
37
 
 
38
li.gap {
 
39
        margin-top: 0.5em;
 
40
}
 
41
 
 
42
a, img, img.drawing {
 
43
        border: 0;
 
44
}
 
45
 
 
46
dt {
 
47
        font-weight: bold;
 
48
}
 
49
 
 
50
pre {
 
51
        padding: 5px;
 
52
        border: 1px solid #c0c0c0;
 
53
        font-family: courier, monospace;
 
54
        white-space: pre;
 
55
        /* begin css 3 or browser specific rules - do not remove!
 
56
        see: http://forums.techguy.org/archive/index.php/t-249849.html */
 
57
    white-space: pre-wrap;
 
58
    word-wrap: break-word;
 
59
    white-space: -moz-pre-wrap;
 
60
    white-space: -pre-wrap;
 
61
    white-space: -o-pre-wrap;
 
62
    /* end css 3 or browser specific rules */
 
63
}
 
64
 
 
65
pre.comment {
 
66
    background-color: #CCCCCC;
 
67
    color: red;
 
68
    padding: 0;
 
69
    margin: 0;
 
70
    border: 0;
 
71
}
 
72
 
 
73
pre.comment:before {
 
74
    content: url(../img/attention.png);
 
75
}
 
76
 
 
77
 
 
78
/* .comment css definition must be top of .red/.green/.blue or it won't work */
 
79
.comment { color: #555555; background-color: #DDDDFF; }
 
80
 
 
81
.red { background-color: #FFCCCC; }
 
82
.green { background-color: #CCFFCC; }
 
83
.blue { background-color: #CCCCFF; }
 
84
.yellow { background-color: #FFF29F; }
 
85
.orange { background-color: #FFD59B; }
 
86
 
 
87
.solid { border: 2px solid #000000; padding: 2px; }
 
88
.dashed { border: 2px dashed #000000; padding: 2px; }
 
89
.dotted { border: 2px dotted #000000; padding: 2px; }
 
90
 
 
91
 
 
92
table {
 
93
        margin: 0.5em 0 0 0.5em;
 
94
        border-collapse: collapse;
 
95
}
 
96
 
 
97
th, td
 
98
{
 
99
        padding: 0.25em 0.5em 0.25em 0.5em;
 
100
        border: 1px solid #c0c0c0;
 
101
}
 
102
 
 
103
td p {
 
104
        margin: 0;
 
105
        padding: 0;
 
106
}
 
107
 
 
108
#pagebottom {clear: both;}
 
109
 
 
110
/* standard rule ---- */
 
111
hr {
 
112
        height: 2px;
 
113
        background-color: #c0c0c0;
 
114
        border: none;
 
115
}
 
116
 
 
117
/* custom rules ----- to ---------- */
 
118
.hr1 {height: 3px;}
 
119
.hr2 {height: 4px;}
 
120
.hr3 {height: 5px;}
 
121
.hr4 {height: 6px;}
 
122
.hr5 {height: 7px;}
 
123
.hr6 {height: 8px;}
 
124
 
 
125
/* Replacement for deprecated html 3 <u> element and html 4 <strike> */
 
126
.u {text-decoration: underline;}
 
127
.strike {text-decoration: line-through;}
 
128
 
 
129
/* TableOfContents macro */
 
130
.table-of-contents { font-size: small;
 
131
                     text-align:left;
 
132
                     margin: 0.5em; padding-left: 2em;
 
133
                     min-width:50%; }
 
134
.table-of-contents ol { margin:0; margin-left:1em;
 
135
                        list-style-type:decimal; }
 
136
.table-of-contents ul { margin:0;
 
137
                        list-style-type:none; }
 
138
.table-of-contents-heading { font-weight:bold; padding:0; margin:0; }
 
139
 
 
140
 
 
141
.footnotes ol {
 
142
        padding: 0 2em;
 
143
        margin: 0 0 1em;
 
144
}
 
145
 
 
146
.footnotes li {
 
147
}
 
148
 
 
149
.info {
 
150
    float: right;
 
151
    font-size: 0.7em;
 
152
    color: gray;
 
153
}
 
154
 
 
155
/* eye catchers */
 
156
.warning 
 
157
{
 
158
        color: red;
 
159
}
 
160
 
 
161
.error 
 
162
{
 
163
        color: red;
 
164
}
 
165
 
 
166
strong.highlight 
 
167
{
 
168
        background-color: #ffcc99;
 
169
        padding: 1pt;
 
170
}
 
171
 
 
172
 
 
173
/* Recent changes */
 
174
 
 
175
div.recentchanges table {
 
176
        border: 1px solid #e5e5e5; 
 
177
}
 
178
 
 
179
.recentchanges p {
 
180
        margin: 0.25em;
 
181
}
 
182
 
 
183
.recentchanges td {
 
184
        border: none;
 
185
        border-top: 1px solid #e5e5e5;
 
186
        border-bottom: 1px solid #e5e5e5;
 
187
        vertical-align: top;
 
188
}
 
189
 
 
190
.rcdaybreak {
 
191
        background-color: #EDD097;
 
192
}
 
193
 
 
194
.rcdaybreak td a {
 
195
        font-size: 0.88em;
 
196
}
 
197
 
 
198
.rcicon1, .rcicon2 {
 
199
        text-align: center;
 
200
}
 
201
 
 
202
.rcpagelink {
 
203
        width: 33%;
 
204
}
 
205
 
 
206
.rctime {
 
207
        font-size: 0.88em;
 
208
        white-space: nowrap;
 
209
}
 
210
 
 
211
.rceditor {
 
212
        white-space: nowrap;
 
213
        font-size: 0.88em;
 
214
}
 
215
 
 
216
.rccomment {
 
217
        width: 50%;
 
218
        color: gray;
 
219
        font-size: 0.88em;
 
220
}
 
221
 
 
222
.rcrss {
 
223
        float: right;
 
224
}
 
225
 
 
226
.recentchanges[dir="rtl"] .rcrss {
 
227
        float: left;
 
228
}
 
229
 
 
230
/* User Preferences */
 
231
 
 
232
.userpref table, .userpref td {
 
233
        border: none;
 
234
}
 
235
 
 
236
/* CSS for new code_area markup used by Colorizer and ParserBase */
 
237
 
 
238
div.codearea { /* the div makes the border */
 
239
        margin: 0.5em 0;
 
240
        padding: 0;
 
241
        border: 1pt solid #AEBDCC;
 
242
        background-color: #F3F5F7;
 
243
        color: black;
 
244
}
 
245
 
 
246
div.codearea pre { /* the pre has no border and is inside the div */
 
247
        margin: 0;
 
248
        padding: 10pt;
 
249
        border: none;
 
250
}
 
251
 
 
252
a.codenumbers { /* format of the line numbering link */
 
253
        margin: 0 10pt;
 
254
        font-size: 0.85em;
 
255
        color: gray;
 
256
}
 
257
 
 
258
/* format of certain syntax spans */
 
259
div.codearea pre span.LineNumber {color: gray;}
 
260
div.codearea pre span.ID         {color: #000000;}
 
261
div.codearea pre span.Operator   {color: #0000C0;}
 
262
div.codearea pre span.Char       {color: #004080;}
 
263
div.codearea pre span.Comment    {color: #008000;}
 
264
div.codearea pre span.Number     {color: #0080C0;}
 
265
div.codearea pre span.String     {color: #004080;}
 
266
div.codearea pre span.SPChar     {color: #0000C0;}
 
267
div.codearea pre span.ResWord    {color: #A00000;}
 
268
div.codearea pre span.ConsWord   {color: #008080; font-weight: bold;}
 
269
div.codearea pre span.Error      {color: #FF8080; border: solid 1.5pt #FF0000;}
 
270
div.codearea pre span.ResWord2   {color: #0080ff; font-weight: bold;}
 
271
div.codearea pre span.Special    {color: #0000ff;}
 
272
div.codearea pre span.Preprc     {color: #803999;}
 
273
 
 
274
 
 
275
/* for diff parser */
 
276
div.codearea pre span.DiffAdded   {color: #4876FF;}
 
277
div.codearea pre span.DiffRemoved {color: #FF0000;}
 
278
div.codearea pre span.DiffChanged {color: #FF7F50;}
 
279
div.codearea pre span.DiffSeparator {color: #228B22; font-weight: bold}
 
280
 
 
281
#message .hint {font-style: italic;}
 
282
#message .info {
 
283
    float: none;
 
284
    font-size: 1em;
 
285
    color: black;
 
286
}
 
287
#message .info:before {content: url('../img/icon-info.png'); margin: 0 0.2em;}
 
288
#message .warning:before {content: url('../img/alert.png'); margin: 0 0.2em;}
 
289
#message .error:before {content: url('../img/icon-error.png'); margin: 0 0.2em;}
 
290