]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/MacOSX/MacOSX-heavy.css
osx-ified the diff display
[SourceForge/phpwiki.git] / themes / MacOSX / MacOSX-heavy.css
1 /* 
2  * $Id: MacOSX-heavy.css,v 1.7 2002-02-18 01:34:48 carstenklapp Exp $
3  *
4  * phpwiki-heavy.css
5  *
6  * This is stuff which should be in phpwiki.css, but which breaks NS4.
7  */
8
9 /* This makes spacings in NS4 too big. */
10 .toolbar , div.toolbar  {
11   margin : 0.5ex 0;
12 }
13 /* This break NS4, but is necessary for IE4. */
14 div.wikitext  {
15   width : auto;
16 }
17 /* Link icons */
18 img.linkicon  {
19   vertical-align : middle;
20 }
21 /*
22  * Diff Output
23  */
24 /**
25  * Diff Output
26  */
27 /* main box */
28 .diff {
29   margin:  0.5ex 0;
30   padding: 1px;
31   border-top:    solid 1px #7c7c7c;
32   border-left:   solid 1px #c3c3c3;
33   border-bottom: solid 1px #dddddd;
34   border-right:  solid 1px #c3c3c3;
35 }
36 .diff .block {
37   padding: 0.5ex 0.5em;
38 }
39
40 .diff .block div {
41   position: relative;
42   padding-left: 1.5em;
43
44 .diff .prefix {
45   position: absolute;
46   left: 0;
47   top:  0;
48 }
49
50 /* blocks containing deleted or added words */
51 .diff .original, .diff .deleted,
52 .diff .final, .diff .added {
53   background: white;
54   padding: 1px;
55 }
56 /* blocks containing deleted words */
57 .diff .original, .diff .deleted {
58   border: 2px solid #f99; /* fcc */
59 }
60 /* blocks containing added words */
61 .diff .final, .diff .added {
62   border: 2px solid #9f9; /* cfc */
63 }
64 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
65 /* deleted & added words */
66 .diff del, .diff ins {
67   padding-left: 0.5ex;
68   padding-right: 0.5ex;
69 }
70