css: clean up styles
This commit is contained in:
1 parent
17eb9dfd64
commit
b4e14c1416
2 files changed
+12
-10
No files matched your search
+9
-5
@@ -18,7 +18,7 @@
|
||||
--font-sans: "Geist", system-ui, sans-serif;
|
||||
--color-paper: #ffffff;
|
||||
--color-ink: #000000;
|
||||
--gutter: clamp(0.1rem, 1vw, 0.2rem);
|
||||
--gutter: clamp(0.4rem, 1vw, 0.8rem);
|
||||
}
|
||||
|
||||
*,
|
||||
@@ -37,15 +37,19 @@ body {
|
||||
min-height: 100%;
|
||||
color: var(--color-ink);
|
||||
font-family: var(--font-sans);
|
||||
font-size: 1rem;
|
||||
font-size: clamp(1rem, 2vw, 2rem);
|
||||
font-weight: 600;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
p {
|
||||
p,
|
||||
a {
|
||||
margin: 0;
|
||||
font-size: inherit;
|
||||
font-weight: inherit;
|
||||
text-box: trim-both cap alphabetic;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
@@ -58,12 +62,12 @@ address {
|
||||
|
||||
.frame {
|
||||
position: fixed;
|
||||
gap: 0.6rem;
|
||||
display: flex;
|
||||
gap: 0.8rem;
|
||||
}
|
||||
|
||||
.frame-block-start {
|
||||
inset: var(--gutter) auto auto var(--gutter);
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.frame-inline-end {
|
||||
|
||||
Reference in new issue
Block a user