-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
158 lines (113 loc) · 3.1 KB
/
main.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
/*
You can import it like:
@import url("https://kevinawoo.github.io/dynalist-css/css/main.css");
*/
/*==================font related==================*/
@import url("https://cdn.jsdelivr.net/gh/tonsky/FiraCode@4/distr/fira_code.css");
* {
-webkit-font-feature-settings: "liga" on, "calt" on;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-family: 'Fira Code';
font-feature-settings: "ss02", "ss03","ss04","ss05";
}
.Node-checkbox:before {
border-radius: 3px;
box-shadow: none;
}
.Node-checkbox:after {
width: 10px;
height: 6px;
left: 3px;
top: 4px;
border-width: 2px;
}
.MacOS .Node.is-currentRoot > .Node-self .Node-contentContainer,
.MacOS .Node.is-currentRoot > .Node-self.is-heading .Node-contentContainer {
font-weight: bold;
font-size: 22px;
}
.is-smallFont .Node-contentContainer {
font-size: 16px;
}
/*==================mobile font related==================*/
.is-mobile .Pane-content {
font-size: 13px;
}
.is-mobile .is-smallFont .Node-contentContainer,
.is-mobile .is-smallFont .node-inline-item {
font-size: 13px !important;
}
/*==================mobile font related==================*/
/*==================</font related>==================*/
/* ===============================<Hide folder and file icons>=============================== */
.DocumentItem {
margin: 1px 0;
}
.FolderItem-header {
padding-left: 10px;
}
.FolderItem .DocumentItem .DocumentItem-header {
padding-left: 47px;
}
.DocumentItem-title,
.FolderItem-title {
margin-left: 0;
}
.DocumentItem-icon,
.FolderItem-icon {
display: none;
}
/* ===============================</Hide folder and file icons>=============================== */
/* ==================<Images>================== */
.node-displayed-image[src$="#75"] {
max-width: 75%;
max-height: 75%;
}
.node-displayed-image[src$="#50"] {
max-width: 50%;
max-height: 50%;
}
.node-displayed-image[src$="#25"] {
max-width: 25%;
max-height: 25%;
}
/* ==================</Images>================== */
/* ==================<Make underlines a bit prettier>================== */
* {
text-decoration-skip-ink: auto;
}
/* ==================</Make underlines a bit prettier>================== */
/*=============<spacing with a bullet and checkbox>==================*/
.is-mobile .Node.has-checkbox .Node-bullet {
padding-right: 2px;
margin-right: 4px;
/*background: yellowgreen;*/
}
.is-mobile .Node-checkbox {
padding-right: 4px;
margin-right: 2px;
/*background: blue;*/
}
.is-mobile .Node-checkbox:after {
left: 9px;
}
.is-mobile .Node.has-checkbox .Node-contentContainer {
width: calc(100% - 46px - 10px); /*make sure to account for above*/
margin-left: calc(4px);
/*background: red;*/
}
/*=============</spacing with a bullet and checkbox>==================*/
/*=============<show tag emoji text when not editing>==================*/
/*
a.node-tag {
background-color:yellow;
display:none;
}
a.node-tag+span:after {
content: "🔖";
background-color:yellow;
display:block;
}
*/
/*=============</show tag emoji text when not editing>==================*/