-
Notifications
You must be signed in to change notification settings - Fork 18
/
match_vscode.css
174 lines (140 loc) · 3.6 KB
/
match_vscode.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
/* -----------------------------------------------------------------------------
Desc: UI-Tweaks for the Obsidian application to match VSCode.
Should be used with the minimal theme.
Auth: Nicklas Vraa
----------------------------------------------------------------------------- */
/* UI: ---------------------------------------------------------------------- */
body {
/* Removes all rounded corners. */
--radius-m: 0;
--input-radius: 0;
}
body:not(.is-mobile) .modal,
.prompt,
.modal {
border: none;
border-radius: 0px;
}
.side-dock-ribbon {
display: block;
}
.side-dock-actions,
.side-dock-settings {
margin-bottom: 8px;
}
.minimal-status-off .status-bar {
color: #D8DEE9;
background-color: #3b4252;
border-top: 0px;
padding-top: 3px;
}
.markdown-source-view.mod-cm6 .cm-scroller,
.markdown-reading-view>.markdown-preview-view {
padding-top: 0px;
margin-top: 10px;
}
.workspace-ribbon.mod-left {
width: 20px;
}
.mod-root .workspace-tab-header-container-inner {
padding-left: 6px;
margin-top: 0px;
}
.workspace .mod-root .workspace-tab-header {
padding: 0px;
}
.mod-root .workspace-tab-header-inner {
padding: 2px 6px 0 12px;
}
.markdown-source-view.mod-cm6:not(.is-readable-line-width) .cm-contentContainer,
.markdown-reading-view .markdown-preview-view:not(.is-readable-line-width)>.markdown-preview-sizer {
margin: 0 0 0 20px !important;
}
.nav-file-title {
margin-bottom: 0px !important;
padding-bottom: 2px !important;
}
.nav-folder-title {
margin-bottom: 0px !important;
padding-bottom: 2px !important;
margin-left: -18px !important;
}
.minimal-status-off .status-bar {
font-size: 10pt !important;
padding-top: 3px !important;
padding-bottom: 3px !important;
}
.status-bar-item {
padding-top: 0px;
padding-bottom: 0px;
}
/* GRAPH: ------------------------------------------------------------------- */
.graph-view.color-fill-tag {
color: white !important;
opacity: 1;
}
.graph-view.color-fill-attachment {
color: white !important;
opacity: 0.5;
}
.graph-view.color-line {
color: white !important;
opacity: 0.2;
}
.markdown-source-view.mod-cm6 .cm-content>* {
margin: auto auto !important;
}
/* EDITOR: ------------------------------------------------------------------ */
/* Adds vertical breathing room for tables. */
table {
margin: 5px 10px !important;
}
/* Adjust spacing around images. */
img {
margin: 0px 0px 0px 10px !important;
}
/* Align math blocks to the left. */
mjx-container[display="true"] {
text-align: left !important;
padding: 5px 10px !important;
font-size: 120%;
}
/* Makes code block language specifier less intrusive. */
.code-block-flair {
font-size: 10px !important;
opacity: 0.5 !important;
}
.cm-line.HyperMD-codeblock {
padding-left: 10px !important;
}
/* Adds padding around list elements. */
.HyperMD-list-line {
padding-top: 3px !important;
padding-bottom: 3px !important;
}
/* Fixes indentation for bullet-point lists. */
.cm-formatting-list-ul {
margin-left: -2px !important;
}
/* Fixes indentation for numbered lists. */
.cm-formatting-list-ol {
margin-left: -2px !important;
}
/* Makes quote blocks less prominent. */
.cm-quote {
opacity: 60% !important;
}
/* Use-case specific styling. --------------------------------------------- */
@media not print {
/* Invert image colors for dark theme,
but not when exporting to PDF. */
img {
filter: invert(100%) !important;
}
}
/* Page break rules when exporting to PDF. */
@media print {
hr {
page-break-after: always;
}
}