cosmetics
This commit is contained in:
parent
0312f241d5
commit
88663c9a0c
9 changed files with 21 additions and 21 deletions
|
@ -1,5 +1,6 @@
|
||||||
<title>{{ .Title}}</title>
|
<title>{{ .Title}}</title>
|
||||||
<link rel="stylesheet" href="/css/theme.css">
|
<link rel="stylesheet" href="{{.Site.BaseURL}}css/theme.css">
|
||||||
|
<link rel="stylesheet" href="{{.Site.BaseURL}}style.css">
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="title" content="{{ .Site.Title }}">
|
<meta name="title" content="{{ .Site.Title }}">
|
||||||
<meta name="description" content="{{.Params.description}}">
|
<meta name="description" content="{{.Params.description}}">
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<i>{{.Site.Params.subtitle}}</i>
|
<i>{{.Site.Params.subtitle}}</i>
|
||||||
</div>
|
</div>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="/"><h2>Home</h2></a>
|
<a href="{{.Site.BaseURL}}"><h2>Home</h2></a>
|
||||||
{{ range .Site.Sections}}
|
{{ range .Site.Sections}}
|
||||||
<a href="{{.Permalink}}"><h2>{{.Title}}</h2></a>
|
<a href="{{.Permalink}}"><h2>{{.Title}}</h2></a>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -2,16 +2,16 @@
|
||||||
<div>
|
<div>
|
||||||
{{ if .Params.video}}
|
{{ if .Params.video}}
|
||||||
<video controls preload="false">
|
<video controls preload="false">
|
||||||
<source src="{{.Params.video}}">
|
<source src="{{.Site.BaseURL}}{{.Params.video}}">
|
||||||
</video>
|
</video>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{if .Params.image}}
|
{{if .Params.image}}
|
||||||
<a href="{{.Permalink}}">
|
<a href="{{.Site.BaseURL}}{{.Permalink}}">
|
||||||
<img src="{{.Params.image}}">
|
<img src="{{.Site.BaseURL}}{{.Params.image}}">
|
||||||
</a>
|
</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
<a href="{{.Permalink}}">
|
<a href="{{.Site.BaseURL}}{{.Permalink}}">
|
||||||
<img src="/res/default.png">
|
<img src="{{.Site.BaseURL}}/res/default.png">
|
||||||
</a>
|
</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -7,16 +7,16 @@
|
||||||
<a href="{{.Permalink}}">
|
<a href="{{.Permalink}}">
|
||||||
{{ if .Params.video}}
|
{{ if .Params.video}}
|
||||||
<video controls preload="false">
|
<video controls preload="false">
|
||||||
<source src="{{.Params.video}}">
|
<source src="{{.Site.BaseURL}}{{.Params.video}}">
|
||||||
</video>
|
</video>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{if .Params.image}}
|
{{if .Params.image}}
|
||||||
<a href="{{.Permalink}}">
|
<a href="{{.Site.BaseURL}}{{.Permalink}}">
|
||||||
<img src="{{.Params.image}}">
|
<img src="{{.Site.BaseURL}}{{.Params.image}}">
|
||||||
</a>
|
</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
<a href="{{.Permalink}}">
|
<a href="{{.Site.BaseURL}}{{.Permalink}}">
|
||||||
<img src="/res/default.png">
|
<img src="{{.Site.BaseURL}}/res/default.png">
|
||||||
</a>
|
</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<audio controls preload="false">
|
<audio controls preload="false">
|
||||||
<source src='{{.Get "src" }}'>
|
<source src='{{.Site.BaseURL}}{{.Get "src" }}'>
|
||||||
</audio>
|
</audio>
|
|
@ -1,4 +1,4 @@
|
||||||
<video autoplay muted loop preload="true">
|
<video autoplay muted loop preload="true">
|
||||||
<source src='{{.Get "src" }}'>
|
<source src='{{.Site.BaseURL}}{{.Get "src" }}'>
|
||||||
<source src='{{.Get 0 }}'>
|
<source src='{{.Site.BaseURL}}{{.Get 0 }}'>
|
||||||
</video>
|
</video>
|
|
@ -1,3 +1,3 @@
|
||||||
<video {{if .Get "autoplay"}}autoplay muted loop preload="true"{{else}}controls preload="false"{{end}}>
|
<video {{if .Get "autoplay"}}autoplay muted loop preload="true"{{else}}controls preload="false"{{end}}>
|
||||||
<source src='{{.Get "src" }}'>
|
<source src='{{.Site.BaseURL}}{{.Get "src" }}'>
|
||||||
</video>
|
</video>
|
|
@ -8,12 +8,9 @@ body{
|
||||||
--theme-color-primary:black;
|
--theme-color-primary:black;
|
||||||
--theme-color-secondary:white;
|
--theme-color-secondary:white;
|
||||||
--theme-color-accent: #dcb806;
|
--theme-color-accent: #dcb806;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
line-height: 1.25;
|
line-height: 1.25;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
|
@ -187,13 +184,14 @@ article {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-family:Verdana, Geneva, Tahoma, sans-serif;
|
font-family:Verdana, Geneva, Tahoma, sans-serif;
|
||||||
max-width:80rem;
|
max-width:80rem;
|
||||||
|
font-size: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
margin-left: 10%;
|
margin-left: 10%;
|
||||||
padding-left: 2.5rem;
|
padding-left: 2.5rem;
|
||||||
width:80%;
|
width:80%;
|
||||||
border-left: 0.5rem solid var(--theme-color-accent2);
|
border-left: 0.5rem solid var(--theme-color-accent);
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -219,6 +217,7 @@ section h4,
|
||||||
article h5,
|
article h5,
|
||||||
article p {
|
article p {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
article h3 {
|
article h3 {
|
||||||
|
@ -414,7 +413,7 @@ aside .listing img{
|
||||||
}
|
}
|
||||||
|
|
||||||
.gallery{
|
.gallery{
|
||||||
width:90%;
|
width:70%;
|
||||||
display:flex;
|
display:flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 169 KiB After Width: | Height: | Size: 214 KiB |
Loading…
Reference in a new issue