forked from StefanSalewski/NimProgrammingBook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
adoc.css
75 lines (62 loc) · 2.85 KB
/
adoc.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
/* https://docs.asciidoctor.org/asciidoctor/latest/html-backend/default-stylesheet/ */
@import "https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700";
@import "https://cdn.jsdelivr.net/gh/asciidoctor/[email protected]/data/stylesheets/asciidoctor-default.css";
/*
h1, h2, h3, h4, h5, h6, #toctitle,
.sidebarblock > .content > .title {
color: rgba(0, 0, 0, 0.8);
}
*/
/* .key{font-family: monospace; font-weight: bold; background-color: #DDD; color: #000} */
/* .op{font-family: monospace; font-weight: bold; background-color: #DDD; color: #000} */
/* .op{font-family: monospace; font-weight: bold} */
/* .var{font-family: monospace; background-color: #DDD; color: #000} */
/* .var{font-family: monospace; font-style: italic} */
/* .mod{font-family: monospace; font-style: italic} */
/* .lit{font-family: monospace; font-style: italic} */
/* .const{font-family: monospace; font-style: italic} */
/*.type{font-family: monospace; background-color: #DDD; color: #000} */
/* .array{font-family: monospace; background-color: #DDD; color: #000} */
/* .func{font-family: monospace; background-color: #DDD; color: #000} */
/* .func{font-family: monospace} */
/* .plain{} */
/* .str{} */
/* .mac{} */
/* .proc{} */
/* .name{} */
/* .nim{} */
/* .code{font-family: monospace; background-color: #DDD; color: #000} */
/* .term{font-family: monospace; background-color: #DDD; color: #000} */
/* .promo{font-variant: small-caps} */
/* .ndef{font-style: italic; color: #000} */
/* .italic{font-style: italic} */
/* .new{border-color: #000; border-width: 3; background-color: #FF0; color: #000} border does nor work */
/* .new{background-color: #FF0; color: #000} */
/* .recent{background-color: #FFA} */
/* ======================== */
.new{background-color: #FF0; color: #000}
.recent{background-color: #FFA}
.ndef{font-style: italic}
.italic{font-style: italic}
.op{font-family: monospace; font-weight: bold}
.key{font-weight: bold}
.proc{} /* the proc keyword in text */
.mac{} /* the macro keyword in text */
.type{font-family: monospace}
.str{font-family: monospace} /* string type */
.array{font-family: monospace} /* array type */
.tup{font-family: monospace} /* tuple type, tuple is indeed a keyword */
.obj{font-family: monospace} /* object type, object is indeed a keyword */
.func{}
.var{font-family: monospace; font-style: italic}
.mod{font-family: monospace; font-variant: small-caps}
.lit{font-family: monospace; font-style: italic}
.const{font-family: monospace; font-style: italic}
.code{font-family: monospace; background-color: #EEE; color: #000}
.term{font-family: monospace; background-color: #EEE; color: #000}
.plain{}
.name{}
.unit{} /* GB, nm*/
.nim{}
/* .promo{font-variant: small-caps} */
/* .new{border-color: #000; border-width: 3; background-color: #FF0; color: #000} border does nor work */