~ubuntu-branches/ubuntu/oneiric/moin/oneiric

« back to all changes in this revision

Viewing changes to MoinMoin/web/static/htdocs/modernized/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:
6
6
/* content styles */
7
7
 
8
8
html {
9
 
        background-color: white;
10
 
        color: black;
11
 
        font-family: sans-serif;
12
 
        font-size: 1em;
 
9
    background-color: white;
 
10
    color: black;
 
11
    font-family: sans-serif;
 
12
    font-size: 1em;
13
13
}
14
14
 
15
15
body {
16
 
        margin: 0;
 
16
    margin: 0;
17
17
}
18
18
 
19
19
/* Links */
41
41
a.action:before {content: url(../img/moin-action.png); margin: 0 0.2em;}
42
42
 
43
43
li p {
44
 
        margin: .25em 0;
 
44
    margin: .25em 0;
45
45
}
46
46
 
47
47
li.gap {
61
61
dd p {
62
62
    margin: 0.25em 0;
63
63
}
64
 
   
 
64
 
65
65
a, img, img.drawing {
66
 
        border: 0;
 
66
    border: 0;
67
67
}
68
68
 
69
69
pre {
70
 
        border: 1pt solid #AEBDCC;
71
 
        background-color: #F3F5F7;
72
 
        padding: 5pt;
73
 
        font-family: courier, monospace;
74
 
        white-space: pre;
75
 
        /* begin css 3 or browser specific rules - do not remove!
76
 
        see: http://forums.techguy.org/archive/index.php/t-249849.html */
 
70
    border: 1pt solid #AEBDCC;
 
71
    background-color: #F3F5F7;
 
72
    padding: 5pt;
 
73
    font-family: courier, monospace;
 
74
    white-space: pre;
 
75
    /* begin css 3 or browser specific rules - do not remove!
 
76
    see: http://forums.techguy.org/archive/index.php/t-249849.html */
77
77
    white-space: pre-wrap;
78
78
    word-wrap: break-word;
79
79
    white-space: -moz-pre-wrap;
115
115
 
116
116
table
117
117
{
118
 
        margin: 0.5em 0 0 0.5em;
119
 
        border-collapse: collapse;
 
118
    margin: 0.5em 0 0 0.5em;
 
119
    border-collapse: collapse;
120
120
}
121
121
 
122
122
th, td
123
123
{
124
 
        padding: 0.25em 0.5em 0.25em 0.5em;
125
 
        border: 1pt solid #ADB9CC;
 
124
    padding: 0.25em 0.5em 0.25em 0.5em;
 
125
    border: 1pt solid #ADB9CC;
126
126
}
127
127
 
128
128
td p {
129
 
        margin: 0;
130
 
        padding: 0;
 
129
    margin: 0;
 
130
    padding: 0;
131
131
}
132
132
/* TableOfContents macro */
133
133
div.table-of-contents {
167
167
}
168
168
 
169
169
.footnotes div {
170
 
        width: 5em;
171
 
        border-top: 1pt solid gray;
 
170
    width: 5em;
 
171
    border-top: 1pt solid gray;
172
172
}
173
173
 
174
174
.footnotes ol {
175
 
        padding: 0 2em;
176
 
        margin: 0 0 1em;
 
175
    padding: 0 2em;
 
176
    margin: 0 0 1em;
177
177
}
178
178
 
179
179
.footnotes li {
217
217
/* eye catchers */
218
218
.warning 
219
219
{
220
 
        color: red;
 
220
    color: red;
221
221
}
222
222
 
223
223
.error 
224
224
{
225
 
        color: red;
 
225
    color: red;
226
226
}
227
227
 
228
228
strong.highlight 
229
229
{
230
 
        background-color: #CCE0FF;
231
 
        padding: 1pt;
 
230
    background-color: #CCE0FF;
 
231
    padding: 1pt;
232
232
}
233
233
 
234
234
 
235
235
/* Recent changes */
236
236
 
237
237
.rcrss {
238
 
        float: right;
239
 
        margin: 0 7px 0 14px;
240
 
        height: 0;
241
 
        position: relative;
242
 
        top: 9px;
 
238
    float: right;
 
239
    margin: 0 7px 0 14px;
 
240
    height: 0;
 
241
    position: relative;
 
242
    top: 9px;
243
243
}
244
244
*[div="rtl"] .rcrss {
245
245
    float: left;
246
246
}
247
247
.recentchanges[dir="rtl"] .rcrss {
248
 
        float: left;
 
248
    float: left;
249
249
}
250
250
 
251
251
.recentchanges table {
252
 
        clear: both;
253
 
        border-collapse: collapse;
254
 
        
 
252
    clear: both;
 
253
    border-collapse: collapse;
 
254
 
255
255
    border: 1px solid #4d7da9;
256
256
}
257
257
 
258
258
.recentchanges td {
259
 
        vertical-align: top;
260
 
        border: none;
 
259
    vertical-align: top;
 
260
    border: none;
261
261
    background: #e6eaf0;
262
262
}
263
263
 
269
269
}
270
270
 
271
271
.rcdaybreak td a {
272
 
        font-size: 0.88em;
 
272
    font-size: 0.88em;
273
273
}
274
274
 
275
275
.rcicon1, .rcicon2 {
276
 
        text-align: center;
 
276
    text-align: center;
277
277
}
278
278
 
279
279
.rcpagelink {
280
 
        width: 33%;
 
280
    width: 33%;
281
281
}
282
282
 
283
283
.rctime {
284
 
        font-size: 0.88em;
285
 
        white-space: nowrap;
 
284
    font-size: 0.88em;
 
285
    white-space: nowrap;
286
286
}
287
287
 
288
288
.rceditor {
289
 
        white-space: nowrap;
290
 
        font-size: 0.88em;
 
289
    white-space: nowrap;
 
290
    font-size: 0.88em;
291
291
}
292
292
 
293
293
.rccomment {
294
 
        width: 50%;
295
 
        color: gray;
296
 
        font-size: 0.88em;
 
294
    width: 50%;
 
295
    color: gray;
 
296
    font-size: 0.88em;
297
297
}
298
298
 
299
299
 
300
300
/* User Preferences */
301
301
 
302
302
.userpref table, .userpref td {
303
 
        border: none;
 
303
    border: none;
304
304
}
305
305
 
306
306
/* CSS for new code_area markup used by Colorizer and ParserBase */
307
307
 
308
308
div.codemsg {
309
 
       margin: 0.5em 0;
310
 
       padding: 0.5em;
311
 
       padding-left:2.5em;
312
 
       background:none;
313
 
       border: 1pt solid #CCBDAE;
314
 
       background-color: #F7F0E0;
315
 
       background-image:url('../img/alert.png');
316
 
       background-repeat:no-repeat;
317
 
       background-position: 0.5em 0.5em;
318
 
       color: black;
 
309
    margin: 0.5em 0;
 
310
    padding: 0.5em;
 
311
    padding-left:2.5em;
 
312
    background:none;
 
313
    border: 1pt solid #CCBDAE;
 
314
    background-color: #F7F0E0;
 
315
    background-image:url('../img/alert.png');
 
316
    background-repeat:no-repeat;
 
317
    background-position: 0.5em 0.5em;
 
318
    color: black;
319
319
}
320
320
 
321
321
div.codearea { /* the div makes the border */
322
 
        margin: 0.5em 0;
323
 
        padding: 0;
324
 
        border: 1pt solid #AEBDCC;
325
 
        background-color: #F3F5F7;
326
 
        color: black;
 
322
    margin: 0.5em 0;
 
323
    padding: 0;
 
324
    border: 1pt solid #AEBDCC;
 
325
    background-color: #F3F5F7;
 
326
    color: black;
327
327
}
328
328
 
329
329
div.codearea pre { /* the pre has no border and is inside the div */
330
 
        margin: 0;
331
 
        padding: 10pt;
332
 
        border: none;
 
330
    margin: 0;
 
331
    padding: 10pt;
 
332
    border: none;
333
333
}
334
334
 
335
335
a.codenumbers { /* format of the line numbering link */
336
 
        margin: 0 10pt;
337
 
        font-size: 0.85em;
338
 
        color: gray;
 
336
    margin: 0 10pt;
 
337
    font-size: 0.85em;
 
338
    color: gray;
339
339
}
340
340
 
341
341
/* format of certain syntax spans */
533
533
    border: 1pt solid #E5E5E5;
534
534
    background-color: #F9F9FF;
535
535
    color: black;
536
 
    
 
536
 
537
537
    margin: 10pt 30pt 10pt 30pt;
538
538
    background-repeat: no-repeat;
539
539
    background-position: 8px 8px;
540
540
    min-height: 64px; /*64=48+8+8 but doesn't work with IE*/
541
541
    padding-left: 64px;
542
542
}
543
 
 
 
543
 
544
544
#content div.caution p, 
545
545
#content div.important p, 
546
546
#content div.note p,