minor changes

main
Gabriel 1 year ago
parent 5542fce57f
commit af0216730d

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>{{ partial "head" .}}</head>
<body style="background-image:url({{.Params.background}})">
{{ partial "header" .}}
<main>
<article>
{{ .Content}}
{{ range .Pages }}
{{partial "item" .}}
{{ end }}
</article>
</main>
{{ partial "footer" .}}
</body>
</html>

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>{{ partial "head" .}}</head>
<body>
{{ partial "header" .}}
<main>
{{ .Content}}
</main>
</body>
</html>

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
{{ partial "head" .}}
<body style="background-image:url({{.Params.background}})">
{{ partial "header" .}}
<main>
<article>
{{ .Content}}
</article>
</main>
{{partial "footer" .}}
</body>
</html>

@ -0,0 +1,2 @@
<footer>
</footer>

@ -0,0 +1,6 @@
<head>
<link rel="stylesheet" type="text/css" href="/css/theme.css">
<title>{{.Title}}</title>
<meta charset="utf-8" />
</head>

@ -0,0 +1,6 @@
<header>
<a href="/"><h1>{{.Site.Title}}</h1></a>
<p><i>{{.Description}}</i></p>
{{ partial "nav" .}}
</header>

@ -0,0 +1,6 @@
<div >
<a href="{{.RelPermalink}}" class="item">
<h1>{{.Title}}</h1>
</a>
<i>{{.Params.description}}</i>
</div>

@ -0,0 +1,8 @@
<nav>
{{ range .Site.Sections }}
<a href="{{.Permalink}}">
<span>{{.Title}}</span>
</a>
{{end}}
</nav>

@ -0,0 +1,103 @@
body{
--primary-color:black;
--secondary-color:white;
--accent-color:rgb(3, 58, 3);
--accent-color2:rgb(139, 72, 21);
display:flex;
flex-direction: column;
align-items: center;
margin:0;
background-color: var(--secondary-color);
color:var(--primary-color);
font-size:22px;
background-size:cover;
background-position: center;
}
a{
color:var(--accent-color);
font-weight: bolder;
}
header,footer{
background-color:var(--accent-color);
color:var(--secondary-color);
width:100vw;
display:flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: space-evenly;
}
header{
margin-bottom: 1rem;
}
footer{
margin-top:1rem;
}
nav {
display:flex;
flex-direction: row;
align-items: center;
}
nav>*{
margin:1rem;
}
header a,
footer a{
color:var(--secondary-color);
}
main{
min-height: 80vh;
max-width:100vw;
border-radius:3rem;
padding:3rem;
padding-left:0;
padding-right:0;
}
table{
border-spacing: 0;
}
th,td{
border:2px solid var(--accent-color2);
padding:5px;
margin:0;
}
hr{
width:100%;
color:var(--accent-color2);
}
article{
max-width: 100%;
display:flex;
flex-direction: column;
align-items: center;
background-color: var(--secondary-color);
border-radius: 2.5rem;
padding:5rem;
padding-top:0.25rem;
}
code{
font-family: monospace;
color:var(--accent-color);
font-weight: bolder;
}
.item{
display:flex;
flex-direction: column;
align-items: center;
}
main p,
main h3,
main h4,
main table,
main ol,
main ul{
width:100%;
}

@ -0,0 +1,3 @@
name = "hearth"
liscense = ""
description = "hearth"
Loading…
Cancel
Save