Skip to content

Commit

Permalink
box-sizing reset
Browse files Browse the repository at this point in the history
Added border-box reset for ::before and ::after pseudo-elements
  • Loading branch information
jdanielmourao authored Jan 10, 2022
1 parent 1c767dd commit 842e0fc
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion obsidian.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,16 @@
--scrollbar-thumb-bg: rgba(0, 0, 0, 0.1); /*Scrollbar Color*/
--scrollbar-active-thumb-bg: rgba(0, 0, 0, 0.2); /*Scrollbar Dragged Color*/
}

/*Box Sizing Reset - this makes it easier to set any ::before and ::after pseudo-elements' dimensions,
since it includes any border and padding into the height and width values you set.
*,
*::before,
*::after {
box-sizing: border-box;
}*/

/*----Startup Progress Bar Screen----*/
/*Startup Progress Bar Window*/
.progress-bar {}
Expand Down Expand Up @@ -468,4 +478,4 @@ a.tag {} /*Reading Mode*/
color: var(--interactive-accent);
}

.graph-controls {} /*Graph Menu*/
.graph-controls {} /*Graph Menu*/

0 comments on commit 842e0fc

Please sign in to comment.