First section of index page!

This commit is contained in:
Ad5001 2021-06-08 20:22:47 +02:00
parent 45e0d5fca3
commit 09c21184c5
Signed by: Ad5001
GPG Key ID: EF45F9C6AFE20160
7 changed files with 25 additions and 8 deletions

2
.kdev4/Omegamma.kdev4 Normal file
View File

@ -0,0 +1,2 @@
[Project]
VersionControlSupport=kdevgit

View File

@ -1,4 +1,4 @@
{{ define "main" }} {{ define "main" }}
<div style="background: #A08888">
<h1>Test</h1> <h1>Test</h1>
{{ end }} {{ end }}

View File

@ -3,6 +3,7 @@
<link rel="stylesheet" href="/css/common.css"> <link rel="stylesheet" href="/css/common.css">
<link rel="stylesheet" href="/css/header.css"> <link rel="stylesheet" href="/css/header.css">
<link rel="stylesheet" href="/css/footer.css"> <link rel="stylesheet" href="/css/footer.css">
<link rel="stylesheet" href="/css/sections.css">
<link rel="stylesheet" href="/css/font.css"> <link rel="stylesheet" href="/css/font.css">
{{ hugo.Generator }} {{ hugo.Generator }}
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">

View File

@ -0,0 +1,5 @@
<section style="background: url({{ .Image }}); background-size: cover; background-repeat: no-repeat; color: black; padding-left: 1em; padding-top: 1em; padding-right: 1em;">
{{ .Content | safeHTML }}
<div class="section-end-triangle"></div>
</section>

View File

@ -5,10 +5,13 @@ body {
--light-font: 'Metropolis Light', 'Fira Sans Light','Ubuntu Light', 'Noto Sans Light', sans-serif; --light-font: 'Metropolis Light', 'Fira Sans Light','Ubuntu Light', 'Noto Sans Light', sans-serif;
--primary-color: #50DC71; --primary-color: #50DC71;
--nav-background: #FAFAFA; --nav-background: #FAFAFA;
--footer-background: #111111; --footer-background: #111111;
} }
a[role=button] {
text-decoration: none;
color: black;
}
.center { .center {
margin-right: auto; margin-right: auto;

View File

@ -40,11 +40,6 @@ nav .navbar-list {
text-transform: uppercase; text-transform: uppercase;
} }
a[role=button] {
text-decoration: none;
color: black;
}
.navbar-list li { .navbar-list li {
padding: 1em; padding: 1em;
margin-left: 0; margin-left: 0;
@ -84,6 +79,7 @@ a[role=button] {
.nav-mobile { .nav-mobile {
display: flex; display: flex;
width: 100%;
} }
.navbar-brand { .navbar-brand {

10
static/css/sections.css Normal file
View File

@ -0,0 +1,10 @@
.section-end-triangle {
width: 0;
height: 0;
border-top-width: 3em;
border-top-style: solid;
border-top-color: transparent;
border-right-width: 100vw;
border-right-style: solid;
border-right-color: #FFFFFF;
}