Skip to content

Commit

Permalink
Redesign menus with smaller fonts + more consistent folders
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Ango authored and Stephan Ango committed Apr 16, 2021
1 parent 3ae0a84 commit d001dc2
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions obsidian.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Minimal Obsidian 2.5.6 by @kepano
Minimal Obsidian 2.5.7 by @kepano
This theme is designed to be used with the Minimal Theme Settings
plugin and the Hider plugin.
Expand Down Expand Up @@ -1049,6 +1049,28 @@ input.prompt-input:hover {
font-weight:600;
}

.menu {
padding:5px;
}
.menu-item {
font-size:var(--font-small);
border-radius:5px;
padding:2px 12px 2px 8px;
height:24px;
cursor:var(--cursor);
line-height:20px;
}
.menu-separator {
margin:6px -5px;

}
.menu-item-icon {
width:20px;
}
.menu-item-icon svg {
width:12px;
height:12px;
}

/* --------------- */
/* Minimal settings */
Expand Down Expand Up @@ -1825,14 +1847,16 @@ input[type=checkbox]:checked {
padding-bottom:50px;
}
.nav-folder-title {
margin:0px;
padding:0 10px 0 24px;
margin: 0 0 0 8px;
min-width: auto;
width: calc(100% - 16px);
padding: 0 10px 0 16px;
cursor:var(--cursor);
}
.nav-folder-title.is-being-dragged-over {
background-color:var(--background-modifier-accent);
border-color:var(--background-modifier-accent);
border-radius:0;
border-radius:6px;
border-left:1px solid transparent;
border-right:1px solid transparent;
}
Expand Down

0 comments on commit d001dc2

Please sign in to comment.