From bb33927136db5172f5fe3834a98e561c0db4c9da Mon Sep 17 00:00:00 2001
From: Alexander Bilz <mail@alexbilz.com>
Date: Fri, 22 May 2020 15:00:24 +0000
Subject: [PATCH] Merge branch 'master' of https://github.com/lxndrblz/anatole
---
layouts/partials/sidebar.html | 9 ++++++---
layouts/partials/navbar.html | 7 ++++---
assets/css/style.css | 18 +++++++++---------
3 files changed, 19 insertions(+), 15 deletions(-)
diff --git a/assets/css/style.css b/assets/css/style.css
index 9fd5a50..3e70a48 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -3,7 +3,7 @@
--bg-color:#fff;
--secondary-bg-color:#eeeeee;
--heading-color: #5f5f5f;
- --body-color: rgba(0, 0, 0, 0.5);
+ --body-color: rgba(0, 0, 0, 0.7);
--post-color: rgba(0, 0, 0, 0.44);
--border-color: rgba(0, 0, 0, 0.15);
--pre-bg-color: #f9f9fd;
@@ -91,7 +91,7 @@
}
a:hover, a:active {
- color: #4786D6;
+ color: #2660ab;
}
/*basic styles ends*/
@@ -187,7 +187,7 @@
}
.page-top .nav {
list-style: none;
- padding: 18px 30px;
+ padding: 11px 30px;
float: left;
font-size: 12px;
}
@@ -200,7 +200,7 @@
color: var(--nav-text-color);
}
.page-top .nav a:hover {
- color: #4786D6;
+ color: #2660ab;
}
.page-top .nav a.current {
color: var(--nav-text-color);
@@ -295,7 +295,7 @@
color: var(--heading-color);
}
.sidebar .social-links a:hover {
- color: #4786D6;
+ color: #2660ab;
}
.post {
@@ -337,7 +337,7 @@
.post .post-content a {
text-decoration: none;
letter-spacing: 1px;
- color: #4786D6;
+ color: #2660ab;
}
.post .post-content a:hover {
color: #2F69B3;
@@ -384,7 +384,7 @@
padding-right: 10px;
}
.post .post-footer .meta a:hover {
- color: #4786D6;
+ color: #2660ab;
}
.post .post-footer .meta i {
margin-right: 6px;
@@ -480,7 +480,7 @@
color: #A6A6A6;
}
.footer a:hover {
- color: #4786D6;
+ color: #2660ab;
}
/*for archive*/
@@ -517,7 +517,7 @@
color: #8F8F8F;
}
.list-with-title .listing .listing-post a:hover {
- color: #4786D6;
+ color: #2660ab;
}
/* share */
diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html
index c9e8552..dcdc0dc 100644
--- a/layouts/partials/navbar.html
+++ b/layouts/partials/navbar.html
@@ -1,11 +1,12 @@
<div class="page-top animated fadeInDown">
- <div class="nav">
+ <!-- <div class="nav"> -->
+ <ul class="nav">
{{ $currentPage := . }}
{{ range .Site.Menus.main }}
<li><a {{if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }}class="current"{{end}} href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a></li>
-
{{ end }}
- </div>
+ </ul>
+ <!-- </div> -->
<div class="themeswitcher">
<a class="theme-switch" title="Switch Theme">
<i class="fa fa-adjust fa-fw" aria-hidden="true"></i>
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index cf9d48f..586e5a7 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -10,9 +10,12 @@
</div>
<ul class="social-links">
{{ range $item := .Site.Params.socialIcons }}
- <a href="{{ $item.url }}" rel="me" >
- <i class="fa {{ $item.icon }}" aria-hidden="true" title="{{ $item.title }}"></i>
- </a>
+ <li>
+ <a href="{{ $item.url }}" rel="me" aria-label="{{ $item.title }}">
+ <i class="fa fa-2x {{ $item.icon }}" aria-hidden="true"></i>
+ </a>
+ </li>
+
{{ end }}
</ul>
<div class="footer">
--
Gitblit v1.10.0