-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
executable file
·83 lines (68 loc) · 1.39 KB
/
style.css
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
body {
background: #fff;
color: #000;
font-size: 1ex;
counter-reset: part-number chapter-number index-part-number index-number;
}
#contents {
text-align: center;
border-bottom: 1px solid;
margin-bottom: 20px;
}
#contents + ul li {
list-style-type: none;
}
#contents + ul p a {
counter-increment: index-part-number;
}
#contents + ul p a::before {
content: "Part " counter(index-part-number, upper-roman) " - ";
}
#contents + ul ul a {
counter-increment: index-number;
}
#contents + ul ul a::before {
content: counter(index-number)". ";
}
h1 {
page-break-before: always !important;
padding-top: 100px;
text-align: center;
font-weight: bold;
font-size: 4ex;
counter-increment: part-number;
}
h1::before {
content: "Part " counter(part-number, upper-roman);
display: block;
margin-bottom: 120px;
}
h2 {
page-break-before: always !important;
font-weight: bold !important;
font-size: 2ex !important;
counter-increment: chapter-number;
}
h2::before {
content: counter(chapter-number);
margin-right: 10px;
}
hr {
border: 1px black;
border-top: double;
width: 50%;
text-align: center;
}
.index-title {
text-align: center;
font-weight: bold;
font-size: 2ex;
}
.index-divider {
margin-left: 20px;
width: 90%;
border: 1px solid black;
}
a {
text-decoration: none
}