First section of index page!

This commit is contained in:
Adsooi 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" }}
<div style="background: #A08888">
<h1>Test</h1>
{{ end }}

View file

@ -3,6 +3,7 @@
<link rel="stylesheet" href="/css/common.css">
<link rel="stylesheet" href="/css/header.css">
<link rel="stylesheet" href="/css/footer.css">
<link rel="stylesheet" href="/css/sections.css">
<link rel="stylesheet" href="/css/font.css">
{{ hugo.Generator }}
<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

@ -8,7 +8,10 @@ body {
--footer-background: #111111;
}
a[role=button] {
text-decoration: none;
color: black;
}
.center {
margin-right: auto;

View file

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