-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path1. Typography.css
174 lines (142 loc) · 3.38 KB
/
1. Typography.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
/* Typography & Colors */
/* Text color */
body {
color: #444444;
--text-normal: #444444;
}
.markdown-preview-view {
color: #444444;
line-height: 1.8;
}
html {
--editor-font-weight: 500 !important;
}
/* Color of divider */
hr {
border-color: #d9d9d9;
}
/* Markdown link color & bracket's color */
.cm-formatting.cm-formatting-link.cm-link,
.cm-string.cm-url {
color: #444444 !important;
/* opacity: 80%; */
font-weight: normal !important ;
}
/* No Underline on links */
span.cm-hmd-internal-link span.cm-underline {
text-decoration: none !important;
}
/* No Underline on links */
.internal-link,
.cm-url {
text-decoration: none !important;
}
span.cm-hmd-internal-link:hover {
text-decoration: none !important;
}
.markdown-source-view.mod-cm6 .cm-underline {
text-decoration: none;
}
/* No ugly external link image */
span.external-link {
background: none;
padding-right: 0;
}
/* Nice external link indicator */
span.external-link::after {
content: "↗︎";
color: #d54043;
padding-left: 2px;
padding-right: 2px;
}
/* Change quote text from italics to normal & Colors */
.cm-quote {
font-style: normal !important;
color: #444444 !important;
}
/* Quote left border */
.markdown-source-view.mod-cm6.is-live-preview .HyperMD-quote {
border: 0 solid #d54043;
border-left-width: 5px;
}
/* List Item Spacing */
/* .cm-s-obsidian .HyperMD-list-line {
padding-bottom: 0.5em;
} */
/* Custom Bullet Style */
span.list-bullet::after {
content: "•" !important;
font-size: 30px;
height: 0px !important;
/* color: #dd4c4f; */
padding-right: 10px;
font-weight: 600;
}
/* Change bullet and number color in Reading view */
::marker {
color: #d54043;
}
/* Color for all markers/bullets and weight for numbers */
.markdown-source-view.mod-cm6.cm-s-obsidian span.cm-formatting-list {
color: #d54043;
font-weight: 500;
}
/* Number Color in Reading View */
/* Hashtag BG */
.markdown-source-view.mod-cm6.cm-s-obsidian span.cm-hashtag {
background-color: hsl(210, 4%, 92%);
}
/* The # Symbol */
.markdown-source-view.mod-cm6.cm-s-obsidian .cm-hashtag-begin {
color: #888888 !important;
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
padding: 2px 0 3px 6px;
}
/* Hashtag Text */
.markdown-source-view.mod-cm6.cm-s-obsidian .cm-hashtag-end {
color: #444 !important;
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
padding: 2px 10px 3px 0;
}
/* Highlight */
.cm-s-obsidian span.cm-highlight {
border-radius: 6px !important;
padding: 5px 10px;
}
.cm-s-obsidian span.cm-highlight::selection {
background-color: #d3f2cf;
}
/* Double equals formatting of highlights */
span.cm-formatting.cm-formatting-highlight.cm-highlight.cm-list-3 {
padding: 5px 0 5px 5px;
border-radius: 0% !important;
}
/* == DARK MODE == */
/* Change Accent Color in Dark Mode*/
.theme-dark {
--accent-h: 205 !important;
--accent-s: 70% !important;
--accent-l: 90% !important;
}
/* Text Color */
.theme-dark .markdown-preview-view {
color: #dfe0e0;
}
body.theme-dark {
color: #dfe0e0;
--text-normal: #dfe0e0;
}
/* Link color */
.theme-dark .cm-hmd-internal-link {
color: #44a2e5 !important;
}
/* Divider color */
.theme-dark hr {
border-color: #525354;
}
/* Bullet Color */
.theme-dark span.list-bullet::after {
color: #44a2e5;
}