diff options
author | Sojon <sojonatmail@gmail.com> | 2021-07-05 11:26:25 +0300 |
---|---|---|
committer | Sojon <sojonatmail@gmail.com> | 2021-07-05 11:26:25 +0300 |
commit | dead996a5319fcec07fa69880761e717c54446ad (patch) | |
tree | 6bc998145878b08ee326f308fd2c2ff8a7ff86a9 | |
parent | e31a93dbd364626483246043e718e6a48c8d3eca (diff) |
Navigation updated, faq css fixed, other minor change added
-rw-r--r-- | LICENSE | 2 | ||||
-rw-r--r-- | assets/css/style.css | 5 | ||||
-rw-r--r-- | exampleSite/config.toml | 4 | ||||
-rw-r--r-- | layouts/partials/navigation.html | 4 | ||||
-rw-r--r-- | layouts/shortcodes/faq.html | 2 |
5 files changed, 11 insertions, 6 deletions
@@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020 GetHugoThemes +Copyright (c) 2021 GetHugoThemes Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in diff --git a/assets/css/style.css b/assets/css/style.css index 222c48b..9665dcd 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -279,6 +279,10 @@ pre { padding: 0; } +.navbar-dark .navbar-toggler-icon { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); +} + @media (max-width: 768px) { .navbar { padding: 10px 0; @@ -806,6 +810,7 @@ code { .ui-autocomplete-input { border-bottom: 1px solid rgb(212, 212, 212) !important; + padding-right: 50px; } .ui-autocomplete-input.active { diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 0d284a2..4f5c3e9 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -68,7 +68,7 @@ link = "#" languageName = "En" languageCode = "en-us" weight = 1 -copyright = "Copyright © 2020 a Hugo theme by [Gethugothemes](https://gethugothemes.com/)" +copyright = "Copyright © 2021 a Hugo theme by [Gethugothemes](https://gethugothemes.com/)" # banner [Languages.en.params.banner] @@ -135,7 +135,7 @@ hasChildren = true languageName = "Fr" languageCode = "fr-fr" weight = 2 -copyright = "Copyright © 2020 un thème Hugo par [Gethugothemes](https://gethugothemes.com/)" +copyright = "Copyright © 2021 un thème Hugo par [Gethugothemes](https://gethugothemes.com/)" # banner [Languages.fr.params.banner] diff --git a/layouts/partials/navigation.html b/layouts/partials/navigation.html index 01f03ee..e64a899 100644 --- a/layouts/partials/navigation.html +++ b/layouts/partials/navigation.html @@ -1,5 +1,5 @@ <nav class="navbar navbar-expand-md {{ if .IsHome }}navbar-dark{{ else }}navbar-light{{ end }}"> - <div class="container"> + <div class="container px-2 px-md-0"> <a class="navbar-brand px-2" href="{{ site.BaseURL | relLangURL }}"> {{ $logo:= site.Params.logo }} {{ $logoWhite:= site.Params.logo_white }} @@ -43,7 +43,7 @@ </ul> <!-- Language List --> {{- if site.IsMultiLingual }} - <select class="lang-list {{ if not .IsHome }}dark{{ end }}" id="select-language" + <select class="lang-list {{ if not .IsHome }}dark mb-3 mb-md-0{{ end }}" id="select-language" onchange="location = this.value;"> {{ $siteLanguages := site.Languages}} {{ $pageLang := .Page.Lang}} diff --git a/layouts/shortcodes/faq.html b/layouts/shortcodes/faq.html index 204863d..0936298 100644 --- a/layouts/shortcodes/faq.html +++ b/layouts/shortcodes/faq.html @@ -7,6 +7,6 @@ </a> </div> <div id="{{ .Get 0 | sha1 }}" class="collapse" data-parent="#accordion"> - <div class="card-body font-secondary text-color">{{ .Inner | markdownify }}</div> + <div class="card-body font-secondary text-color pt-0">{{ .Inner | markdownify }}</div> </div> </div>
\ No newline at end of file |