-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGoston-table-snippets.css
51 lines (40 loc) · 1.14 KB
/
Goston-table-snippets.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
/* Table width and color customized */
.cm-s-obsidian .HyperMD-table-row-0 {
color: var(--text-normal) !important;
}
.markdown-rendered table {
width: 100%;
}
.markdown-rendered table th {
white-space: nowrap !important;
font-size: 1.1em !important;
font-weight: bold !important;
}
.theme-dark .markdown-rendered table th {
color: #ffffff !important;
background: #424b5b !important;
}
.theme-dark .markdown-rendered table td,
.theme-dark .markdown-rendered table th {
border-color: #555 !important;
}
.theme-dark .markdown-rendered table tr:nth-child(even) {
background-color: #cccccc40 !important;
}
.theme-dark .markdown-rendered table tr:hover {
background-color: rgba(0, 213, 255, 0.35) !important;
}
.theme-light .markdown-rendered table th {
color: #fff !important;
background: #677793 !important;
}
.theme-light .markdown-rendered table td,
.theme-light .markdown-rendered table th {
border-color: #ccc !important;
}
.theme-light .markdown-rendered table tr:nth-child(even) {
background-color: #cccccc30 !important;
}
.theme-light .markdown-rendered table tr:hover {
background-color: rgb(199, 246, 255) !important;
}