Skip to content

Commit

Permalink
Refine indentation spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
basham committed Oct 14, 2024
1 parent d49cbd0 commit 1d2e04e
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
--col-3-size: calc(var(--col-2-size) + var(--col-gap) + var(--col-size));
--page-size: calc(var(--col-3-size) + var(--col-gap) + var(--col-2-size));

--indent: 1.5em;
--indent: calc(1em + var(--border-width) * 2);
}

*, *::before, *::after {
Expand Down Expand Up @@ -108,10 +108,9 @@ a:visited {
}

blockquote {
--bw: calc(var(--border-width) * 2);
border-left: calc(var(--border-width) * 2) solid var(--color-border);
margin: 0;
padding: 0 0 0 calc(var(--indent) - var(--bw));
padding: 0 0 0 1em;
}

blockquote :first-child {
Expand Down Expand Up @@ -259,22 +258,6 @@ th {
margin-top: 0.5em;
}

.list-inline {
display: flex;
gap: var(--indent);
list-style-type: "";
padding: 0;
}

.list-inline--center {
justify-content: center;
}

.list-inline > * {
flex-wrap: wrap;
margin: 0;
}

.list-plain {
list-style-type: none;
margin: 0;
Expand Down

0 comments on commit 1d2e04e

Please sign in to comment.