Skip to content

Commit

Permalink
refactor(#120): global border-box sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
jannis-baum committed Aug 1, 2024
1 parent f05e1c6 commit 62426a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions static/markdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,13 @@ dt {
flex-basis: 20%;
text-align: right;
font-weight: bold;
box-sizing: border-box;
padding: 0.25em;
margin: 0.25em 0;
}
dd {
flex-basis: 80%;
flex-grow: 1;
text-align: left;
box-sizing: border-box;
border-left: 0.2px solid var(--border-light);
margin: 0;
padding: 0.25em;
Expand Down
5 changes: 4 additions & 1 deletion static/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
* {
box-sizing: border-box;
}

html {
background-color: var(--bg);
color: var(--text-primary);
Expand All @@ -6,7 +10,6 @@ html {
}

body {
box-sizing: border-box;
padding: 2rem 4rem;
}

Expand Down

0 comments on commit 62426a9

Please sign in to comment.