forked from juracy/obsidian-asciidoc-blocks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
125 lines (100 loc) · 2.43 KB
/
styles.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
.asciidoc-blocks-parent p.tableblock:last-child {
margin-bottom: 0
}
.asciidoc-blocks-parent td.tableblock>.content {
margin-bottom: 1.25em;
word-wrap: anywhere
}
.asciidoc-blocks-parent td.tableblock>.content>:last-child {
margin-bottom: -1.25em
}
.asciidoc-blocks-parent table.tableblock,
th.tableblock,
td.tableblock {
border: 0 solid #dedede
}
.asciidoc-blocks-parent table.grid-all>*>tr>* {
border-width: 1px
}
.asciidoc-blocks-parent table.grid-cols>*>tr>* {
border-width: 0 1px
}
.asciidoc-blocks-parent table.grid-rows>*>tr>* {
border-width: 1px 0
}
.asciidoc-blocks-parent table.frame-all {
border-width: 1px
}
.asciidoc-blocks-parent table.frame-ends {
border-width: 1px 0
}
.asciidoc-blocks-parent table.frame-sides {
border-width: 0 1px
}
.asciidoc-blocks-parent table.frame-none>colgroup+*>:first-child>*,
table.frame-sides>colgroup+*>:first-child>* {
border-top-width: 0
}
.asciidoc-blocks-parent table.frame-none>:last-child>:last-child>*,
table.frame-sides>:last-child>:last-child>* {
border-bottom-width: 0
}
.asciidoc-blocks-parent table.frame-none>*>tr>:first-child,
table.frame-ends>*>tr>:first-child {
border-left-width: 0
}
.asciidoc-blocks-parent table.frame-none>*>tr>:last-child,
table.frame-ends>*>tr>:last-child {
border-right-width: 0
}
.asciidoc-blocks-parent table.stripes-all>*>tr,
table.stripes-odd>*>tr:nth-of-type(odd),
table.stripes-even>*>tr:nth-of-type(even),
table.stripes-hover>*>tr:hover {
background: #f8f8f7
}
.asciidoc-blocks-parent th.halign-left,
td.halign-left {
text-align: left
}
.asciidoc-blocks-parent th.halign-right,
td.halign-right {
text-align: right
}
.asciidoc-blocks-parent th.halign-center,
td.halign-center {
text-align: center
}
.asciidoc-blocks-parent th.valign-top,
td.valign-top {
vertical-align: top
}
.asciidoc-blocks-parent th.valign-bottom,
td.valign-bottom {
vertical-align: bottom
}
.asciidoc-blocks-parent th.valign-middle,
td.valign-middle {
vertical-align: middle
}
.asciidoc-blocks-parent table thead th,
table tfoot th {
font-weight: bold
}
.asciidoc-blocks-parent tbody tr th {
background: #f7f8f7
}
.asciidoc-blocks-parent tbody tr th,
tbody tr th p,
tfoot tr th,
tfoot tr th p {
color: rgba(0, 0, 0, .8);
font-weight: bold
}
.asciidoc-blocks-parent p.tableblock>code:only-child {
background: none;
padding: 0
}
.asciidoc-blocks-parent p.tableblock {
font-size: 1em
}