~ubuntu-branches/ubuntu/precise/moin/precise-updates

« back to all changes in this revision

Viewing changes to MoinMoin/web/static/htdocs/classic/css/common.css

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2010-08-11 12:35:34 UTC
  • mfrom: (0.1.19 sid)
  • Revision ID: james.westby@ubuntu.com-20100811123534-q8zu7qrwqul6cvec
Tags: 1.9.3-1ubuntu1
* Merge from Debian unstable (LP: #586518). Based on work by Stefan Ebner.
  Remaining changes:
 - Remove python-xml from Suggests field, the package isn't anymore in
   sys.path.
 - Demote fckeditor from Recommends to Suggests; the code was previously
   embedded in moin, but it was also disabled, so there's no reason 
   for us to pull this in by default currently. Note: fckeditor has a
   number of security problems and so this change probably needs to be
   carried indefinitely.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
*/
5
5
 
6
6
html {
7
 
        background-color: white;
8
 
        color: black;
9
 
        font-family: Arial, Lucida Grande, sans-serif;
10
 
        font-size: 1em;
 
7
    background-color: white;
 
8
    color: black;
 
9
    font-family: Arial, Lucida Grande, sans-serif;
 
10
    font-size: 1em;
11
11
}
12
12
 
13
13
a.www:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
28
28
 
29
29
h1, h2, h3, h4, h5, h6
30
30
{
31
 
        border-bottom: 4px solid #EDD097;
32
 
}       
 
31
    border-bottom: 4px solid #EDD097;
 
32
}    
33
33
 
34
34
li p {
35
 
        margin: .25em 0;
 
35
    margin: .25em 0;
36
36
}
37
37
 
38
38
li.gap {
39
 
        margin-top: 0.5em;
 
39
    margin-top: 0.5em;
40
40
}
41
41
 
42
42
a, img, img.drawing {
43
 
        border: 0;
 
43
    border: 0;
44
44
}
45
45
 
46
46
dt {
47
 
        font-weight: bold;
 
47
    font-weight: bold;
48
48
}
49
49
 
50
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 */
 
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
57
    white-space: pre-wrap;
58
58
    word-wrap: break-word;
59
59
    white-space: -moz-pre-wrap;
94
94
.justify { text-align: justify; }
95
95
 
96
96
table {
97
 
        margin: 0.5em 0 0 0.5em;
98
 
        border-collapse: collapse;
 
97
    margin: 0.5em 0 0 0.5em;
 
98
    border-collapse: collapse;
99
99
}
100
100
 
101
101
th, td
102
102
{
103
 
        padding: 0.25em 0.5em 0.25em 0.5em;
104
 
        border: 1px solid #c0c0c0;
 
103
    padding: 0.25em 0.5em 0.25em 0.5em;
 
104
    border: 1px solid #c0c0c0;
105
105
}
106
106
 
107
107
td p {
108
 
        margin: 0;
109
 
        padding: 0;
 
108
    margin: 0;
 
109
    padding: 0;
110
110
}
111
111
 
112
112
#pagebottom {clear: both;}
113
113
 
114
114
/* standard rule ---- */
115
115
hr {
116
 
        height: 2px;
117
 
        background-color: #c0c0c0;
118
 
        border: none;
 
116
    height: 2px;
 
117
    background-color: #c0c0c0;
 
118
    border: none;
119
119
}
120
120
 
121
121
/* custom rules ----- to ---------- */
169
169
 
170
170
 
171
171
.footnotes ol {
172
 
        padding: 0 2em;
173
 
        margin: 0 0 1em;
 
172
    padding: 0 2em;
 
173
    margin: 0 0 1em;
174
174
}
175
175
 
176
176
.footnotes li {
185
185
/* eye catchers */
186
186
.warning 
187
187
{
188
 
        color: red;
 
188
    color: red;
189
189
}
190
190
 
191
191
.error 
192
192
{
193
 
        color: red;
 
193
    color: red;
194
194
}
195
195
 
196
196
strong.highlight 
197
197
{
198
 
        background-color: #ffcc99;
199
 
        padding: 1pt;
 
198
    background-color: #ffcc99;
 
199
    padding: 1pt;
200
200
}
201
201
 
202
202
 
203
203
/* Recent changes */
204
204
 
205
205
div.recentchanges table {
206
 
        border: 1px solid #e5e5e5; 
 
206
    border: 1px solid #e5e5e5; 
207
207
}
208
208
 
209
209
.recentchanges p {
210
 
        margin: 0.25em;
 
210
    margin: 0.25em;
211
211
}
212
212
 
213
213
.recentchanges td {
214
 
        border: none;
215
 
        border-top: 1px solid #e5e5e5;
216
 
        border-bottom: 1px solid #e5e5e5;
217
 
        vertical-align: top;
 
214
    border: none;
 
215
    border-top: 1px solid #e5e5e5;
 
216
    border-bottom: 1px solid #e5e5e5;
 
217
    vertical-align: top;
218
218
}
219
219
 
220
220
.rcdaybreak {
221
 
        background-color: #EDD097;
 
221
    background-color: #EDD097;
222
222
}
223
223
 
224
224
.rcdaybreak td a {
225
 
        font-size: 0.88em;
 
225
    font-size: 0.88em;
226
226
}
227
227
 
228
228
.rcicon1, .rcicon2 {
229
 
        text-align: center;
 
229
    text-align: center;
230
230
}
231
231
 
232
232
.rcpagelink {
233
 
        width: 33%;
 
233
    width: 33%;
234
234
}
235
235
 
236
236
.rctime {
237
 
        font-size: 0.88em;
238
 
        white-space: nowrap;
 
237
    font-size: 0.88em;
 
238
    white-space: nowrap;
239
239
}
240
240
 
241
241
.rceditor {
242
 
        white-space: nowrap;
243
 
        font-size: 0.88em;
 
242
    white-space: nowrap;
 
243
    font-size: 0.88em;
244
244
}
245
245
 
246
246
.rccomment {
247
 
        width: 50%;
248
 
        color: gray;
249
 
        font-size: 0.88em;
 
247
    width: 50%;
 
248
    color: gray;
 
249
    font-size: 0.88em;
250
250
}
251
251
 
252
252
.rcrss {
253
 
        float: right;
 
253
    float: right;
254
254
}
255
255
 
256
256
.recentchanges[dir="rtl"] .rcrss {
257
 
        float: left;
 
257
    float: left;
258
258
}
259
259
 
260
260
/* User Preferences */
261
261
 
262
262
.userpref table, .userpref td {
263
 
        border: none;
 
263
    border: none;
264
264
}
265
265
 
266
266
/* CSS for new code_area markup used by Colorizer and ParserBase */
267
267
 
268
268
div.codemsg {
269
 
       margin: 0.5em 0;
270
 
       padding: 0.5em;
271
 
       padding-left:2.5em;
272
 
       background:none;
273
 
       border: 1pt solid #CCBDAE;
274
 
       background-color: #F7F0E0;
275
 
       background-image:url('../img/alert.png');
276
 
       background-repeat:no-repeat;
277
 
       background-position: 0.5em 0.5em;
278
 
       color: black;
 
269
    margin: 0.5em 0;
 
270
    padding: 0.5em;
 
271
    padding-left:2.5em;
 
272
    background:none;
 
273
    border: 1pt solid #CCBDAE;
 
274
    background-color: #F7F0E0;
 
275
    background-image:url('../img/alert.png');
 
276
    background-repeat:no-repeat;
 
277
    background-position: 0.5em 0.5em;
 
278
    color: black;
279
279
}
280
280
 
281
281
div.codearea { /* the div makes the border */
282
 
        margin: 0.5em 0;
283
 
        padding: 0;
284
 
        border: 1pt solid #AEBDCC;
285
 
        background-color: #F3F5F7;
286
 
        color: black;
 
282
    margin: 0.5em 0;
 
283
    padding: 0;
 
284
    border: 1pt solid #AEBDCC;
 
285
    background-color: #F3F5F7;
 
286
    color: black;
287
287
}
288
288
 
289
289
div.codearea pre { /* the pre has no border and is inside the div */
290
 
        margin: 0;
291
 
        padding: 10pt;
292
 
        border: none;
 
290
    margin: 0;
 
291
    padding: 10pt;
 
292
    border: none;
293
293
}
294
294
 
295
295
a.codenumbers { /* format of the line numbering link */
296
 
        margin: 0 10pt;
297
 
        font-size: 0.85em;
298
 
        color: gray;
 
296
    margin: 0 10pt;
 
297
    font-size: 0.85em;
 
298
    color: gray;
299
299
}
300
300
 
301
301
/* format of certain syntax spans */