other changes

main
Gabriel 2 years ago
parent 572046d2cc
commit 5ede80ccbe

@ -5,7 +5,7 @@
<description>{{.Params.description}}</description>
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
<language>{{.}}</language>{{end}}
{{ range .Pages }}
{{ range .Site.RegularPages }}
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>

@ -1,8 +1,8 @@
<nav>{{ range .Site.Sections }}
<a href="{{.Permalink}}">
<img src="{{.Params.icon}}">
<h2>{{.Title}}</h2>
<h3>{{.Title}}</h3>
{{if .Params.icon}}
<img src="{{.Params.icon}}">
{{end}}
</a>
{{end}}

@ -15,23 +15,22 @@
</div>
{{ if .Site.Data.details.links }}
<div>
<h3>Links:</h3>
</div>
<div>
{{range .Site.Data.details.links}}
<a href="{{.linkurl}}">{{.linkname}}</a><br>
{{end}}
{{range .Site.Data.details.links}}
<a href="{{.linkurl}}">{{.linkname}}</a><br>
{{end}}
</div>
{{end}}
<hr>
{{partial "nav" .}}
<hr>
{{ if .Content}}
<article>
{{.Content}}
</article>
<hr>
{{end}}
<div>
<p><a href="https://codeberg.org/gabe/Valor">Valor</a> made by <a href="https://gabe.rocks">Gabriel</a></p>
</div>
{{end}}
</main>

@ -1,3 +1,3 @@
<audio controls>
<source src='{{.Get 0 }}'>
<source src='{{.Get "src" }}'>
</audio>

@ -3,7 +3,7 @@ body{
--theme-secondary-color: white;
--theme-accent:rgb(29, 148, 196);
--theme-accent2:gold;
--theme-accent3:rgb(211, 43, 43);
--theme-accent3:black;
color:var(--theme-secondary-color);
background-color: var(--theme-primary-color);
display:flex;
@ -15,6 +15,8 @@ body{
margin:0;
padding:0;
overflow-x: hidden;
padding-top:1.5rem;
font-weight: 500;
}
@ -38,6 +40,9 @@ audio{
max-height: 30vh;
margin:1.5rem;
}
audio{
width:80%;
}
#profile{
padding:1rem;
margin-bottom:1rem;
@ -93,18 +98,18 @@ nav{
justify-content:space-evenly;
}
nav>a{
margin:1.5rem;
}
@media screen and (orientation: portrait){
body{
flex-direction: column;
align-items: center;
font-size:1rem;
}
#profile,#posts{
max-height: none;
width:92vw;
max-width:90%;
overflow-y:initial;
}
}
@ -125,4 +130,10 @@ article table{
}
article img{
}
blockquote {
margin-left:2rem;
padding-left:1rem;
border-left:0.5rem solid var(--theme-accent);
}
Loading…
Cancel
Save