diff options
author | Humberto Rocha <humrochagf@gmail.com> | 2019-08-27 17:59:59 +0300 |
---|---|---|
committer | Humberto Rocha <humrochagf@gmail.com> | 2019-08-27 17:59:59 +0300 |
commit | 030c376cce352cff59c423417774aa2969e99cfc (patch) | |
tree | 93e7e314fafc0b518d812d97250408d8d888cc34 | |
parent | b3f962dd08ebaaeb8edb2ee656cf7f549373a2eb (diff) |
small layout fixesv1.1.0
-rw-r--r-- | assets/sass/_footer.scss | 1 | ||||
-rw-r--r-- | assets/sass/_global.scss | 2 | ||||
-rw-r--r-- | layouts/partials/footer.html | 12 | ||||
-rw-r--r-- | layouts/partials/navigation.html | 6 |
4 files changed, 14 insertions, 7 deletions
diff --git a/assets/sass/_footer.scss b/assets/sass/_footer.scss index 9339c8d..5ec2115 100644 --- a/assets/sass/_footer.scss +++ b/assets/sass/_footer.scss @@ -23,6 +23,7 @@ footer { svg { color: #f56b6b; height: 12px; + line-height: 12px; } } } diff --git a/assets/sass/_global.scss b/assets/sass/_global.scss index e1f5fe8..3044869 100644 --- a/assets/sass/_global.scss +++ b/assets/sass/_global.scss @@ -37,7 +37,7 @@ main { padding-bottom: 20px; } - p img, .videogif { + p img, .videogif, .itchio, twitter-widget { width: 100%; margin-left: 0; margin-right: 0; diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index b2dce08..d188951 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -28,6 +28,16 @@ {{ end }} <p class="made-with-love"> - <a href="https://github.com/humrochagf/colordrop"><b>Colordrop</b></a> theme | Made with {{ partial "svg" "heart" }} by <a href="https://humberto.io/"><b>Humberto Rocha</b></a> + <a href="https://github.com/humrochagf/colordrop"> + <b>Colordrop</b> + </a> + + <span>theme | Made with</span> + + {{ partial "svg" "heart" }} + + <span>by</span> + + <a href="https://humberto.io/"><b>Humberto Rocha</b></a> </p> </footer> diff --git a/layouts/partials/navigation.html b/layouts/partials/navigation.html index 86e9726..d2147dd 100644 --- a/layouts/partials/navigation.html +++ b/layouts/partials/navigation.html @@ -2,11 +2,7 @@ <div class="container"> <div class="main-navigation"> {{ $currentPage := . }} - {{ range .Site.Menus.main }} - <a href="{{ .URL | absLangURL }}" class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}"> - {{ .Name }} - </a> - {{ end }} + {{ range .Site.Menus.main }}<a href="{{ .URL | absLangURL }}" {{ if $currentPage.IsMenuCurrent "main" . }}class="active"{{ end }}>{{ .Name }}</a>{{ end }} </div> </div> </nav> |