Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gethugothemes/dot-hugo-documentation-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSojon <sojonatmail@gmail.com>2021-07-05 11:26:25 +0300
committerSojon <sojonatmail@gmail.com>2021-07-05 11:26:25 +0300
commitdead996a5319fcec07fa69880761e717c54446ad (patch)
tree6bc998145878b08ee326f308fd2c2ff8a7ff86a9
parente31a93dbd364626483246043e718e6a48c8d3eca (diff)
Navigation updated, faq css fixed, other minor change added
-rw-r--r--LICENSE2
-rw-r--r--assets/css/style.css5
-rw-r--r--exampleSite/config.toml4
-rw-r--r--layouts/partials/navigation.html4
-rw-r--r--layouts/shortcodes/faq.html2
5 files changed, 11 insertions, 6 deletions
diff --git a/LICENSE b/LICENSE
index db05159..2e20a8a 100644
--- a/LICENSE
+++ b/LICENSE
@@ -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 &copy; 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 &copy; 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