• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

wiki style document editor


Commit MetaInfo

修訂91f5c398265fcb8708f7946e0cdb007f182a4fd2 (tree)
時間2014-06-20 00:33:37
作者hylom <hylom@hylo...>
Commiterhylom

Log Message

fix plaintext style template

Change Summary

差異

--- /dev/null
+++ b/config.js
@@ -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+
--- a/public/stylesheets/style.css
+++ b/public/stylesheets/style.css
@@ -25,14 +25,25 @@ a {
2525 width: 1em;
2626 }
2727
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 {
3036 }
3137
38+#contents #text,
3239 #contents .horizontal-number {
33- margin-left: 20px;
40+ margin-left: 40px;
3441 }
3542
3643 #contents p {
3744 margin: 0;
45+}
46+
47+#contents .horizontal-number {
48+ margin-bottom: 20px;
3849 }
\ No newline at end of file
--- a/views/format/plaintext.jade
+++ b/views/format/plaintext.jade
@@ -3,6 +3,7 @@ extends ../index
33
44 block contentsBody
55 div#contents
6+ p.horizontal-number 123456789012345678901234567890123
67 div#line-number-box
78 div.line-number 1
89 div.line-number 2
@@ -34,5 +35,4 @@ block contentsBody
3435 div.line-number 8
3536 div.line-number 9
3637 div.line-number 10
37- p.horizontal-number 123456789012345678901234567890123
3838 div#text!= contents