-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathformat.css
More file actions
107 lines (97 loc) · 1.68 KB
/
format.css
File metadata and controls
107 lines (97 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
body {
margin: 0;
padding: 0;
line-height: 1.1;
font-family: Lora;
font-size: 18px;
}
@page :first {
font-size: 40px;
display: flex;
text-align: center;
align-items: center;
justify-content: center;
}
h1 {
page-break-before: always;
}
#raw-six, #medium-raw-six {
page-break-before: unset;
}
a {
text-decoration: none;
color: inherit;
}
tr {
background-color: #fff;
border-top: 1px solid black;
}
th,
td {
padding: 4px 9px 6px 9px;
border: 1px solid black;
}
b,
strong {
font-weight: 600;
}
table {
display: block;
width: 100%;
overflow: auto;
margin-top: 0;
margin-bottom: 16px;
border-spacing: 0;
border-collapse: collapse;
}
tr {
background-color: #fff;
border-top: 1px solid black;
}
#sample-weapons-armour,
#example-power-task-modifiers,
#task-difficulties,
#ranged-weapons,
#equipment-gear,
#actions,
#example-of-conflict,
#setting-specific-tags,
#shield,
#scratches,
#critical-failures, #tags, #perks-complications, #static-defences {
page-break-before: always;
}
h1,
h2,
h3,
h4,
p {
margin: 12px 0;
}
h2,
h3,
h4 {
font-weight: 600;
}
h1 {
font-weight: 600;
}
ul,
ol {
list-style-position: inside;
margin: 8px 0;
padding-left: 0px;
}
li + li,
ul ul {
margin-top: 4px;
}
ul ul,
ol ul {
padding-left: 20px;
}
ul li {
list-style: square inside;
}
/* pandoc -s -c format.css rawsix-redo.md -o rawsix-redo.html && wkhtmltopdf -B 6 -L 6 -R 6 -T 6 --enable-local-file-access -s a5 ./rawsix-redo.html a.pdf */
/* pandoc --pdf-engine=wkhtmltopdf --columns 100 -V margin-top=6 -V margin-left=6 -V margin-right=6 -V margin-bottom=6 --css .\format.css -V papersize=a5 --top-level-division=chapter rawsix-redo.md -o rawsix-redo.pdf */