Skip to content

Commit d001dc2

Browse files
Stephan AngoStephan Ango
authored andcommitted
Redesign menus with smaller fonts + more consistent folders
1 parent 3ae0a84 commit d001dc2

File tree

1 file changed

+28
-4
lines changed

1 file changed

+28
-4
lines changed

obsidian.css

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
3-
Minimal Obsidian 2.5.6 by @kepano
3+
Minimal Obsidian 2.5.7 by @kepano
44
55
This theme is designed to be used with the Minimal Theme Settings
66
plugin and the Hider plugin.
@@ -1049,6 +1049,28 @@ input.prompt-input:hover {
10491049
font-weight:600;
10501050
}
10511051

1052+
.menu {
1053+
padding:5px;
1054+
}
1055+
.menu-item {
1056+
font-size:var(--font-small);
1057+
border-radius:5px;
1058+
padding:2px 12px 2px 8px;
1059+
height:24px;
1060+
cursor:var(--cursor);
1061+
line-height:20px;
1062+
}
1063+
.menu-separator {
1064+
margin:6px -5px;
1065+
1066+
}
1067+
.menu-item-icon {
1068+
width:20px;
1069+
}
1070+
.menu-item-icon svg {
1071+
width:12px;
1072+
height:12px;
1073+
}
10521074

10531075
/* --------------- */
10541076
/* Minimal settings */
@@ -1825,14 +1847,16 @@ input[type=checkbox]:checked {
18251847
padding-bottom:50px;
18261848
}
18271849
.nav-folder-title {
1828-
margin:0px;
1829-
padding:0 10px 0 24px;
1850+
margin: 0 0 0 8px;
1851+
min-width: auto;
1852+
width: calc(100% - 16px);
1853+
padding: 0 10px 0 16px;
18301854
cursor:var(--cursor);
18311855
}
18321856
.nav-folder-title.is-being-dragged-over {
18331857
background-color:var(--background-modifier-accent);
18341858
border-color:var(--background-modifier-accent);
1835-
border-radius:0;
1859+
border-radius:6px;
18361860
border-left:1px solid transparent;
18371861
border-right:1px solid transparent;
18381862
}

0 commit comments

Comments
 (0)