-
Notifications
You must be signed in to change notification settings - Fork 3
/
htmlCSS.tsx
64 lines (57 loc) · 1.86 KB
/
htmlCSS.tsx
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
import { range } from "../../util";
import { HTMLAmendProvisionCSS } from "./amendProvision";
import { HTMLAnyELsCSS } from "./any";
import { HTMLAppdxItemCSS } from "./appdxItem";
import { HTMLArithFormulaRunCSS } from "./arithFormulaRun";
import { HTMLArticleCSS } from "./article";
import { HTMLArticleGroupCSS } from "./articleGroup";
import { HTMLColumnsOrSentencesRunCSS } from "./columnsOrSentencesRun";
import { HTMLControlRunCSS } from "./controlRun";
import { HTMLFigRunCSS } from "./figRun";
import { HTMLItemStructCSS } from "./itemStruct";
import { HTMLEnactStatementCSS, HTMLLawCSS, HTMLPreambleCSS } from "./law";
import { HTMLListCSS } from "./list";
import { HTMLNoteLikeCSS } from "./noteLike";
import { HTMLParagraphItemCSS } from "./paragraphItem";
import { HTMLQuoteStructRunCSS } from "./quoteStructRun";
import { HTMLRemarksCSS } from "./remarks";
import { HTMLSentenceChildrenRunCSS } from "./sentenceChildrenRun";
import { HTMLSupplNoteCSS } from "./supplNote";
import { HTMLTableCSS } from "./table";
import { HTMLTOCCSS } from "./toc";
export const HTMLIndentCSS = [...range(0, 30)]
.map(indent => /*css*/`
.indent-${indent} {
margin-left: var(--margin-left);
--margin-left: ${indent}em;
}
`).join("\n");
export const HTMLAdditionalCSS = /*css*/`
`;
export const htmlCSS = [
HTMLIndentCSS,
HTMLAdditionalCSS,
HTMLAnyELsCSS,
HTMLLawCSS,
HTMLArticleGroupCSS,
HTMLArticleCSS,
HTMLParagraphItemCSS,
HTMLTableCSS,
HTMLItemStructCSS,
HTMLAppdxItemCSS,
HTMLRemarksCSS,
HTMLNoteLikeCSS,
HTMLListCSS,
HTMLAmendProvisionCSS,
HTMLSupplNoteCSS,
HTMLEnactStatementCSS,
HTMLPreambleCSS,
HTMLTOCCSS,
HTMLSentenceChildrenRunCSS,
HTMLColumnsOrSentencesRunCSS,
HTMLFigRunCSS,
HTMLArithFormulaRunCSS,
HTMLQuoteStructRunCSS,
HTMLControlRunCSS,
].join("\n");
export default htmlCSS;