css: style layout
This commit is contained in:
1 parent
50e5538ce8
commit
17eb9dfd64
2 files changed
+46
-15
No files matched your search
+11
-15
@@ -8,31 +8,27 @@
|
||||
</head>
|
||||
<body>
|
||||
<header class="frame frame-block-start">
|
||||
<h1>Studio Vitali</h1>
|
||||
<h2>Informatik</h2>
|
||||
<h2>Kunstwissenschaft</h2>
|
||||
<address>
|
||||
<h1>Studio Vitali GmbH</h1>
|
||||
<a href="https://informatik.studiovitali.ch">Informatik</a>
|
||||
<a href="https://kunst.studiovitali.ch">Kunstwissenschaft</a>
|
||||
</header>
|
||||
<address class="frame frame-inline-end">
|
||||
<a href="mailto:[email protected]" title="E-Mail">[email protected]</a>
|
||||
<a href="tel:+41445201596" title="Telefon">+41 44 520 15 96</a>
|
||||
</address>
|
||||
</header>
|
||||
<footer class="frame frame-inline-end">
|
||||
<address>
|
||||
<a href="https://maps.app.goo.gl/sgo7hm1Xa4DBFRAYA" title="Google Maps">
|
||||
<span>Lindenhofstrasse 17<br>CH-8001 Zürich</span>
|
||||
</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">
|
||||
<span>Lindenhofstrasse 17, CH-8001 Zürich</span>
|
||||
</a>
|
||||
</address>
|
||||
<main>
|
||||
</main>
|
||||
<div class="frame frame-block-end">
|
||||
</div>
|
||||
<div class="frame frame-inline-start">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
+35
@@ -45,4 +45,39 @@ h1,
|
||||
h2,
|
||||
p {
|
||||
margin: 0;
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
address {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.frame {
|
||||
position: fixed;
|
||||
gap: 0.6rem;
|
||||
}
|
||||
|
||||
.frame-block-start {
|
||||
inset: var(--gutter) auto auto var(--gutter);
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.frame-inline-end {
|
||||
inset: var(--gutter) var(--gutter) auto auto;
|
||||
writing-mode: vertical-rl;
|
||||
}
|
||||
|
||||
.frame-block-end {
|
||||
inset: auto var(--gutter) var(--gutter) auto;
|
||||
rotate: 180deg;
|
||||
}
|
||||
|
||||
.frame-inline-start {
|
||||
inset: auto auto var(--gutter) var(--gutter);
|
||||
writing-mode: sideways-lr;
|
||||
white-space: nowrap;
|
||||
}
|
||||
Reference in new issue
Block a user