Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
lxndrblz committed Dec 25, 2021
2 parents 7d2af9a + 0101d26 commit 7602d2e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 21 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
demo/
.hugo/*
!.hugo/version
/node_modules
.hugo_build.lock
/node_modules
.devcontainer
23 changes: 5 additions & 18 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -285,15 +285,10 @@ Language Switch
padding-right: 20px;
}

.sl-nav a:hover {
.sl-nav li label {
cursor: pointer;
}

.sl-nav li {
cursor: pointer;
padding-bottom: 10px;
}

.sl-nav li .dropdown {
display: none;
position: absolute;
Expand All @@ -316,17 +311,13 @@ Language Switch
position: relative;
text-align: left;
background: transparent;
padding: 15px 15px;
padding-bottom: 0;
padding: 12px;
z-index: 2;
color: #3c3c3c;
display: block;
}
.sl-nav li .dropdown li:last-of-type {
padding-bottom: 15px;
}

.sl-nav li .dropdown li span {
font-size: 1.3rem;
white-space: nowrap;
}
.sl-nav li .dropdown li span.active {
Expand Down Expand Up @@ -1288,7 +1279,7 @@ a.btn {
position: relative;
text-transform: uppercase;
text-align: center;
font-size: 1.3em;
font-size: 1.6rem;
}

header .nav__list ul {
Expand Down Expand Up @@ -1379,16 +1370,12 @@ a.btn {

.sl-nav li .dropdown li {
text-align: center;
padding: initial;
padding: 0.5rem 0.75rem;
}

.sl-nav li .dropdown li span {
padding-left: initial;
}

.sl-nav li label {
font-size: 0.75em;
}
}

/* Medium zoom */
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<link rel="icon" type="image/png" sizes="32x32" href="{{ .Site.Params.favicon | relURL }}favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="{{ .Site.Params.favicon | relURL }}favicon-16x16.png" />

<link rel="canonical" href="{{ .RelPermalink }}" />
<link rel="canonical" href="{{ .Permalink }}" />

<!-- RSS -->
{{ with .OutputFormats.Get "rss" -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<ul class="sl-nav" aria-label="Language switcher">
<li>
<input type="checkbox" id="languagepicker" aria-label="switch language" hidden />
<label for="languagepicker"><a>{{ .Site.Language.LanguageName }}</a></label>
<label for="languagepicker">{{ .Site.Language.LanguageName }}</label>
<label for="languagepicker"><i class="fa fa-angle-down" aria-hidden="true"></i></label>
<div class="triangle"></div>

Expand Down

0 comments on commit 7602d2e

Please sign in to comment.