This commit is contained in:
Edgar P. Burkhart 2022-05-06 19:16:15 +02:00
parent 2f0c170ef0
commit 1f9e8ba7f6
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
3 changed files with 113 additions and 2 deletions

View file

@ -11,6 +11,15 @@
</head>
<body>
<h1>Hello World!</h1>
<nav>
<img class="logo" src="static/svg/logo.svg" />
<a class="active" href="#">Home</a>
<a href="#test">Link 1</a>
<a href="#test">Link 2</a>
</nav>
<h2>Hello World!</h2>
<h3>Hello World!</h3>
<h4>Hello World!</h4>
@ -20,7 +29,52 @@
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras eget
mollis odio, ac facilisis lorem. Sed elit ipsum, rhoncus quis tortor ut,
gravida aliquam neque. Proin ex nisl, cursus auctor consequat ac, molestie
quis nunc. Proin lectus neque, rhoncus eget tincidunt sit amet,
quis nunc. <a href="#">Proin</a> lectus neque, rhoncus eget tincidunt sit amet,
sollicitudin in justo. Fusce lacinia augue odio, et accumsan purus pulvinar
ac. Sed sagittis urna in ipsum faucibus congue. Maecenas gravida massa non
lacinia facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sed sollicitudin lacus sit amet tempus feugiat. Nullam at ipsum sit amet
risus ornare interdum vel sed ligula.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras eget
mollis odio, ac facilisis lorem. Sed elit ipsum, rhoncus quis tortor ut,
gravida aliquam neque. Proin ex nisl, cursus auctor consequat ac, molestie
quis nunc. <a href="#">Proin</a> lectus neque, rhoncus eget tincidunt sit amet,
sollicitudin in justo. Fusce lacinia augue odio, et accumsan purus pulvinar
ac. Sed sagittis urna in ipsum faucibus congue. Maecenas gravida massa non
lacinia facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sed sollicitudin lacus sit amet tempus feugiat. Nullam at ipsum sit amet
risus ornare interdum vel sed ligula.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras eget
mollis odio, ac facilisis lorem. Sed elit ipsum, rhoncus quis tortor ut,
gravida aliquam neque. Proin ex nisl, cursus auctor consequat ac, molestie
quis nunc. <a href="#">Proin</a> lectus neque, rhoncus eget tincidunt sit amet,
sollicitudin in justo. Fusce lacinia augue odio, et accumsan purus pulvinar
ac. Sed sagittis urna in ipsum faucibus congue. Maecenas gravida massa non
lacinia facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sed sollicitudin lacus sit amet tempus feugiat. Nullam at ipsum sit amet
risus ornare interdum vel sed ligula.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras eget
mollis odio, ac facilisis lorem. Sed elit ipsum, rhoncus quis tortor ut,
gravida aliquam neque. Proin ex nisl, cursus auctor consequat ac, molestie
quis nunc. <a href="#">Proin</a> lectus neque, rhoncus eget tincidunt sit amet,
sollicitudin in justo. Fusce lacinia augue odio, et accumsan purus pulvinar
ac. Sed sagittis urna in ipsum faucibus congue. Maecenas gravida massa non
lacinia facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sed sollicitudin lacus sit amet tempus feugiat. Nullam at ipsum sit amet
risus ornare interdum vel sed ligula.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras eget
mollis odio, ac facilisis lorem. Sed elit ipsum, rhoncus quis tortor ut,
gravida aliquam neque. Proin ex nisl, cursus auctor consequat ac, molestie
quis nunc. <a href="#">Proin</a> lectus neque, rhoncus eget tincidunt sit amet,
sollicitudin in justo. Fusce lacinia augue odio, et accumsan purus pulvinar
ac. Sed sagittis urna in ipsum faucibus congue. Maecenas gravida massa non
lacinia facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sed sollicitudin lacus sit amet tempus feugiat. Nullam at ipsum sit amet
risus ornare interdum vel sed ligula.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras eget
mollis odio, ac facilisis lorem. Sed elit ipsum, rhoncus quis tortor ut,
gravida aliquam neque. Proin ex nisl, cursus auctor consequat ac, molestie
quis nunc. <a href="#">Proin</a> lectus neque, rhoncus eget tincidunt sit amet,
sollicitudin in justo. Fusce lacinia augue odio, et accumsan purus pulvinar
ac. Sed sagittis urna in ipsum faucibus congue. Maecenas gravida massa non
lacinia facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

View file

@ -1,18 +1,24 @@
@import "../fonts/inter/inter.css";
*, *::before, *::after {
box-sizing: content-box;
box-sizing: border-box;
}
:root {
--brand: #66cc00;
--text: #000000de;
--text-00: #ffffffde;
--bg-00: #000000;
--link: #0066ffde;
}
body {
font-family: "Inter var", "Inter", sans-serif;
color: var(--text);
margin: 0;
}
h1, h2, h3 {font-weight: 250}
@ -28,3 +34,39 @@ h5 {font-size: 1rem}
h6 {font-size: .8rem}
p {font-weight: 350}
a {
color: var(--link);
text-decoration: none;
}
a:hover {text-decoration: underline;}
.logo {
border-radius: 50%;
}
nav {
position: sticky;
top: 0;
height: 4rem;
line-height: 2rem;
padding: 1rem;
width: 100%;
background: var(--bg-00);
color: var(--text-00);
}
nav > * {
margin-right: 1rem;
height: 2rem;
display: inline-block;
vertical-align: middle;
}
nav a {
color: inherit;
}
nav a.active {
font-weight: 550;
}
nav .logo {
height: 2rem;
border: .1rem solid white;
}

15
src/static/svg/logo.svg Normal file
View file

@ -0,0 +1,15 @@
<svg version="1.1"
width="100"
height="100"
xmlns="http://www.w3.org/2000/svg">
<path fill="#8ac149" stroke="#8ac149" stroke-width="2" d="M 60 40
Q 80 45 75 55
Q 75 50 55 50"/>
<path fill="white" stroke="white" stroke-width="2" d="M 10,100
v -50
a 25 25 0 0 1 25 -25
c 10 0 20 12 25 15
l -5 10
C 30 50 40 55 45 100"/>
</svg>

After

Width:  |  Height:  |  Size: 346 B