hmsy personalize style

This commit is contained in:
2021-08-23 19:58:09 +08:00
parent 281a3bec39
commit 05f1eaf95a
7 changed files with 18 additions and 9 deletions

View File

@@ -5,7 +5,7 @@
{{ partial "nav-bar.html" . }}
<main class="card-container side-gutter">
{{ if or (not (eq .Description "")) (not (eq .Title "")) -}}
<header class="home-header" style="background-image: url('{{ "img/home-blob.svg" | absURL }}');">
<header class="home-header">
<div class="home-blob-text-container">
{{ with .Site.Title }}<h1 class="home-blob-title">{{ . }}</h1>{{ end }}
{{ with .Site.Params.Description }}<p class="home-blob-text">{{ . }}</p>{{ end }}

View File

@@ -1,9 +1,10 @@
<footer class="side-padding" style="background-image: url('{{ "img/home-blob-flip.svg" | absURL }}');">
<a href="{{ $.Site.BaseURL }}" class="footer-link">
{{ with resources.Get "icons/home-page.png" }}
<img class="footer-icon" src="{{ .Permalink }}" alt="Home">
{{ with resources.Get "icons/home_button.jpg" }}
<img class="footer-home-icon" src="{{ .Permalink }}" alt="Home">
{{ end }}
</a>
<div style="display: flex; flex-direction: row; justify-content: space-evenly; width: 100%;">
{{ if isset $.Site.Params "github"}}
<a href="{{ $.Site.Params.github }}" class="footer-link">
{{ with resources.Get "icons/github.png" }}
@@ -18,4 +19,5 @@
{{ end }}
</a>
{{ end }}
</footer>
</div>
</footer>