dokuwiki-source-plugin – Diff between revs 1 and 2
?pathlinks?
Rev 1 | Rev 2 | |||
---|---|---|---|---|
1 | /* |
1 | /* |
|
2 | * source plugin extension - style additions |
2 | * source plugin extension - style additions |
|
3 | * |
3 | * |
|
- | 4 | * @author Wizardry and Steamworks office@grimore.org |
||
4 | * @author Christopher Smith chris@jalakai.co.uk |
5 | * original: Christopher Smith chris@jalakai.co.uk |
|
- | 6 | * @link http://grimore.org/dokuwiki/plugins/source |
||
5 | * @link http://wiki.jalakai.co.uk/dokuwiki/doku.php/tutorials/codeplugin |
7 | * original: http://wiki.jalakai.co.uk/dokuwiki/doku.php/tutorials/codeplugin |
|
6 | */ |
8 | */ |
|
7 | /* source plugin extensions */ |
9 | /* source plugin extensions */ |
|
8 | |
10 | |
|
9 | /* layout */ |
11 | /* layout */ |
|
10 | div.source { |
12 | div.source { |
|
- | 13 | /* |
||
11 | width: 92%; |
14 | width: 92%; |
|
12 | margin: 1em auto; |
15 | margin: 1em auto; |
|
13 | border: 1px solid; |
16 | border: 1px solid; |
|
14 | padding: 4px; |
17 | padding: 4px; |
|
- | 18 | */ |
||
15 | } |
19 | } |
|
16 | |
20 | |
|
17 | div.source p { |
21 | div.source p { |
|
- | 22 | /* |
||
18 | font-size: 90%; |
23 | font-size: 90%; |
|
19 | margin: 0; |
24 | margin: 0; |
|
20 | padding: 2px; |
25 | padding: 2px; |
|
- | 26 | */ |
||
21 | } |
27 | } |
|
22 | |
28 | |
|
23 | div.source p span { |
29 | div.source p span { |
|
- | 30 | /* |
||
24 | font-weight: normal; |
31 | font-weight: normal; |
|
- | 32 | */ |
||
25 | } |
33 | } |
|
26 | |
34 | |
|
27 | div.source pre.code { |
35 | div.source pre.code { |
|
- | 36 | /* |
||
28 | margin: 4px 0 0 0; |
37 | margin: 4px 0 0 0; |
|
- | 38 | */ |
||
29 | } |
39 | } |
|
30 | |
40 | |
|
31 | /* colours */ |
41 | /* colours */ |
|
32 | div.source { |
42 | div.source { |
|
- | 43 | /* |
||
33 | border-color: #bdb; |
44 | border-color: #bdb; |
|
34 | background: #e4f8f2; |
45 | background: #e4f8f2; |
|
- | 46 | */ |
||
35 | } |
47 | } |
|
36 | |
48 | |
|
37 | div.source p { |
49 | div.source p { |
|
- | 50 | /* |
||
38 | background: #c4e4d4; |
51 | background: #c4e4d4; |
|
- | 52 | */ |
||
39 | } |
53 | } |
|
40 | |
54 | |
|
41 | div.source pre.code { |
55 | div.source pre.code { |
|
- | 56 | /* |
||
42 | border: 1px dashed #9c9; |
57 | border: 1px dashed #9c9; |
|
43 | background: #ecfaf6; |
58 | background: #ecfaf6; |
|
- | 59 | */ |
||
- | 60 | } |
||
- | 61 | |
||
- | 62 | div.source p.title { |
||
- | 63 | display: none; |
||
44 | } |
64 | } |
|
45 | |
65 | |