File tree Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 8
8
}
9
9
10
10
.markdown-reading-view .article {
11
- font-family : "Libre Baskerville" , serif;
11
+ font-family : serif;
12
12
}
13
13
14
14
.article h1 ,
Original file line number Diff line number Diff line change 3
3
transition : none !important ;
4
4
}
5
5
6
+ /* Turn off cursor blink */
7
+ .cm-cursor , .cm-cursorLayer {
8
+ animation : none !important ;
9
+ }
10
+
6
11
/* https://github.com/kepano/obsidian-hider */
7
12
/* Scrollbars only show on hover */
8
13
::-webkit-scrollbar {
Original file line number Diff line number Diff line change 1
1
/* Always center tables */
2
- .markdown-preview-view table {
2
+ .markdown-preview-view table ,
3
+ .table-wrapper {
3
4
margin : 0 auto !important ;
4
5
}
5
6
10
11
justify-content : center;
11
12
}
12
13
14
+ /* ![[img.png|right|100]] */
15
+ .image-embed [alt *= "left" ] {
16
+ float : left;
17
+ clear : left;
18
+ }
19
+
20
+ .image-embed [alt *= "right" ] {
21
+ float : right;
22
+ clear : right;
23
+ }
24
+
13
25
/* Remove the top margin of the first element in a note
14
26
* First child is .markdown-preview-pushser
15
27
* Second child is .mod-header
16
28
* Third child is a div parent of .frontmatter
17
29
* From the fourth onward there seem to be the actual document */
18
- .markdown-preview-sizer div : nth-of-type (4 ) * {
30
+ .markdown-preview-sizer div : nth-of-type (4 ): has (h1 ) * ,
31
+ .markdown-preview-sizer div : nth-of-type (3 ): has (h1 ) * {
19
32
margin-top : 0 !important ;
20
33
}
You can’t perform that action at this time.
0 commit comments