other changes

main
Gabriel 2 years ago
parent 572046d2cc
commit 5ede80ccbe

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

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

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

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

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