Skip to content

Commit

Permalink
feat: removes borders and fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
clearlysid committed Mar 27, 2024
1 parent 1ade6d4 commit 8dde6c3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
6 changes: 2 additions & 4 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ body {
--checkbox-color: transparent;
--checkbox-color-hover: transparent;
--checkbox-marker-color: transparent;
}

.cm-header {
letter-spacing: 0.002em;
--divider-color: transparent;
--workspace-background-translucent: rgba(var(--mono-rgb-0), 0.4);
}

/* Basic Theme Colours */
Expand Down
19 changes: 14 additions & 5 deletions src/tweaks.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,16 @@
border: none;
}

/* Link Styling */
/* Header padding and letter-spacing */
.cm-header {
letter-spacing: 0.002em;
}

.HyperMD-header-3 {
padding-bottom: 0.4em !important;
}

/* Link styling */
.cm-s-obsidian span.cm-hmd-internal-link:hover,
.cm-s-obsidian span.cm-url,
.cm-underline,
Expand All @@ -16,7 +25,7 @@
text-underline-offset: 0.3em;
}

/* Checkbox Styling */
/* Checkbox styling */
input[type="checkbox"] {
border: 0;
}
Expand Down Expand Up @@ -44,7 +53,7 @@ input[type="checkbox"]:checked::after {
color: var(--checklist-done-color);
}

/* List Item Styling */
/* List item styling */
.list-bullet {
color: var(--list-marker-color);
}
Expand All @@ -61,7 +70,7 @@ input[type="checkbox"]:checked::after {
color: var(--list-marker-color);
}

/* Make Modal Backgrounds Opaque */
/* Opaque modal backgrounds */
.prompt {
background-color: var(--background-secondary);
}
Expand All @@ -70,7 +79,7 @@ input[type="checkbox"]:checked::after {
background-color: var(--background-secondary);
}

/* Titlebar Draggability Fix */
/* Fix titlebar draggability */
.view-header-title-container {
-webkit-app-region: drag;
}

0 comments on commit 8dde6c3

Please sign in to comment.