forked from TrueCloudLab/dot-hugo
Navigation updated, faq css fixed, other minor change added
This commit is contained in:
parent
e31a93dbd3
commit
dead996a53
5 changed files with 11 additions and 6 deletions
2
LICENSE
2
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
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -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>
|
Loading…
Reference in a new issue