mirror of https://github.com/lxndrblz/anatole.git

Alexander Bilz
22.00.2020 bb33927136db5172f5fe3834a98e561c0db4c9da
Merge branch 'master' of https://github.com/lxndrblz/anatole
3 files modified
34 ■■■■■ changed files
assets/css/style.css 18 ●●●● patch | view | raw | blame | history
layouts/partials/navbar.html 7 ●●●●● patch | view | raw | blame | history
layouts/partials/sidebar.html 9 ●●●●● patch | view | raw | blame | history
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 */
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>
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">