wiki style document editor
修訂 | 91f5c398265fcb8708f7946e0cdb007f182a4fd2 (tree) |
---|---|
時間 | 2014-06-20 00:33:37 |
作者 | hylom <hylom@hylo...> |
Commiter | hylom |
fix plaintext style template
@@ -0,0 +1,9 @@ | ||
1 | +/* config.js */ | |
2 | + | |
3 | +config = { | |
4 | + rootDir: '/Users/hylom/Documents/works/git', | |
5 | + indexes: ['index.toc', 'index.txt', 'index.html', 'index.md'] | |
6 | +}; | |
7 | + | |
8 | +module.exports = config; | |
9 | + |
@@ -25,14 +25,25 @@ a { | ||
25 | 25 | width: 1em; |
26 | 26 | } |
27 | 27 | |
28 | -#contents #text { | |
29 | - margin-left: 20px; | |
28 | +#contents #line-number-box, | |
29 | +#contents #text, | |
30 | +#contents .horizontal-number, | |
31 | +#contents p { | |
32 | + line-height: 22px; | |
33 | +} | |
34 | + | |
35 | +#contents #line-number-box { | |
30 | 36 | } |
31 | 37 | |
38 | +#contents #text, | |
32 | 39 | #contents .horizontal-number { |
33 | - margin-left: 20px; | |
40 | + margin-left: 40px; | |
34 | 41 | } |
35 | 42 | |
36 | 43 | #contents p { |
37 | 44 | margin: 0; |
45 | +} | |
46 | + | |
47 | +#contents .horizontal-number { | |
48 | + margin-bottom: 20px; | |
38 | 49 | } |
\ No newline at end of file |
@@ -3,6 +3,7 @@ extends ../index | ||
3 | 3 | |
4 | 4 | block contentsBody |
5 | 5 | div#contents |
6 | + p.horizontal-number 123456789012345678901234567890123 | |
6 | 7 | div#line-number-box |
7 | 8 | div.line-number 1 |
8 | 9 | div.line-number 2 |
@@ -34,5 +35,4 @@ block contentsBody | ||
34 | 35 | div.line-number 8 |
35 | 36 | div.line-number 9 |
36 | 37 | div.line-number 10 |
37 | - p.horizontal-number 123456789012345678901234567890123 | |
38 | 38 | div#text!= contents |