Fix whitespace
This commit is contained in:
parent
688f856c65
commit
0a6c50810b
|
|
@ -1,20 +1,19 @@
|
||||||
body > a {
|
body > a {
|
||||||
$link-offset: .3rem;
|
$link-offset: .3rem;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset-block-start: $link-offset;
|
inset-block-start: $link-offset;
|
||||||
inset-inline-start: $link-offset;
|
inset-inline-start: $link-offset;
|
||||||
z-index: 99999;
|
z-index: 99999;
|
||||||
padding: .4rem 1rem;
|
padding: .4rem 1rem;
|
||||||
|
|
||||||
&:not(:focus) {
|
&:not(:focus) {
|
||||||
size: 1px;
|
size: 1px;
|
||||||
margin: -1px;
|
margin: -1px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
border: 0;
|
border: 0;
|
||||||
clip: rect(0 0 0 0);
|
clip: rect(0 0 0 0);
|
||||||
clip-path: inset(50%);
|
clip-path: inset(50%);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
|
||||||
|
|
@ -1,31 +1,31 @@
|
||||||
:root {
|
:root {
|
||||||
--light-1: #efefef;
|
--light-1: #efefef;
|
||||||
--dark-1: #1e1e1e;
|
--dark-1: #1e1e1e;
|
||||||
--dark-2: #0f0f0f;
|
--dark-2: #0f0f0f;
|
||||||
--primary: #C2B280;
|
--primary: #C2B280;
|
||||||
--primary-light: #D3C7A2;
|
--primary-light: #D3C7A2;
|
||||||
--primary-dark: #BAB298;
|
--primary-dark: #BAB298;
|
||||||
--secondary: #B3CF99;
|
--secondary: #B3CF99;
|
||||||
--secondary-light: #C2D9AD;
|
--secondary-light: #C2D9AD;
|
||||||
--secondary-dark: #9FAF8F;
|
--secondary-dark: #9FAF8F;
|
||||||
|
|
||||||
--background: var(--primary-light);
|
--background: var(--primary-light);
|
||||||
--text: var(--dark-1);
|
--text: var(--dark-1);
|
||||||
--text-2: var(--dark-2);
|
--text-2: var(--dark-2);
|
||||||
|
|
||||||
--font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", sans-serif;
|
--font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", sans-serif;
|
||||||
--font-italic: "Georgia", serif;
|
--font-italic: "Georgia", serif;
|
||||||
--font-code: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
|
--font-code: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
|
||||||
--font-size: 1.2rem;
|
--font-size: 1.2rem;
|
||||||
--font-weight-semibold: 700;
|
--font-weight-semibold: 700;
|
||||||
--font-weight-bold: 900;
|
--font-weight-bold: 900;
|
||||||
--leading: 1.45;
|
--leading: 1.45;
|
||||||
--gutter: clamp(1ch, 2.5vmax, 3ch);
|
--gutter: clamp(1ch, 2.5vmax, 3ch);
|
||||||
--stack: clamp(1.25ex, 1ex + 2.5vmax, 1.75ex);
|
--stack: clamp(1.25ex, 1ex + 2.5vmax, 1.75ex);
|
||||||
--line-length-small: 30ch;
|
--line-length-small: 30ch;
|
||||||
--line-length: 75ch;
|
--line-length: 75ch;
|
||||||
--line-length-large: 115ch;
|
--line-length-large: 115ch;
|
||||||
--page-padding-inline: calc((100vw - min(var(--line-length), 80vw)) / 2);
|
--page-padding-inline: calc((100vw - min(var(--line-length), 80vw)) / 2);
|
||||||
--border-width: 1px;
|
--border-width: 1px;
|
||||||
--border-radius: 4px;
|
--border-radius: 4px;
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue