css: clean up styles
This commit is contained in:
1 parent
17eb9dfd64
commit
b4e14c1416
2 files changed
+9
-7
No files matched your search
@@ -17,11 +17,9 @@
|
||||
<a href="tel:+41445201596" title="Telefon">+41 44 520 15 96</a>
|
||||
</address>
|
||||
<footer class="frame frame-block-end">
|
||||
<nav>
|
||||
<!-- <a href="https://zefix.ch/de/search/entity/list/firm/1651152" title="Zefix">CHE-215.230.900</a> -->
|
||||
<a href="#impressum" title="Impressum">Impressum</a>
|
||||
<a href="#datenschutz" title="Datenschutz">Datenschutz</a>
|
||||
</nav>
|
||||
</footer>
|
||||
<address class="frame frame-inline-start">
|
||||
<a href="https://maps.app.goo.gl/sgo7hm1Xa4DBFRAYA" title="Google Maps">
|
||||
|
||||
+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