diff options
author | Lenard Gaida <mail@lgaida.de> | 2019-01-20 22:34:11 +0300 |
---|---|---|
committer | Lenard Gaida <mail@lgaida.de> | 2019-01-20 22:34:11 +0300 |
commit | fd1e43e48383aee29181c6808b38eca1579e6257 (patch) | |
tree | 045256c6dc1c0bddca0cc4bffdbfc1d9291b5937 | |
parent | 6022d490d20ab69a072fbd4e3bed7ba511568cd2 (diff) | |
parent | 275908f8d9685ebb3e64fd319af25a8942253776 (diff) |
Merge branch 'follow-jekyll-master'
-rw-r--r-- | LICENSE | 4 | ||||
-rw-r--r-- | layouts/partials/_shared/jumbotron.html | 18 | ||||
-rw-r--r-- | static/css/medium.css | 20 |
3 files changed, 25 insertions, 17 deletions
@@ -1,5 +1,5 @@ -Copyright (c) 2018 WowThemes.net -Copyright (c) 2018 [lgaida](https://github.com/lgaida), ported it to gohugo +Copyright (c) 2019 WowThemes.net +Copyright (c) 2019 [lgaida](https://github.com/lgaida), ported it to gohugo License: MIT 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 the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/layouts/partials/_shared/jumbotron.html b/layouts/partials/_shared/jumbotron.html index 53cd6c6..6ae3da3 100644 --- a/layouts/partials/_shared/jumbotron.html +++ b/layouts/partials/_shared/jumbotron.html @@ -1,16 +1,16 @@ <!-- Categories Jumbotron ================================================== --> -<div class="jumbotron fortags"> - <div class="d-flex h-100"> - <div class="col-md-4 align-self-center text-center h-100"> - <div class="d-flex align-items-center justify-content-center h-100"> - <h2 class="d-md-block d-none align-self-center">Explore →</h2> +<div class="jumbotron fortags"> + <div class="d-md-flex h-100"> + <div class="col-md-4 transpdark align-self-center text-center h-100"> + <div class="d-md-flex align-items-center justify-content-center h-100"> + <h2 class="d-md-block d-none align-self-center py-1 font-weight-light">Explore <span class="d-none d-md-inline">→</span></h2> </div> </div> - <div class="col-md-8 align-self-center text-center"> - {{ range $name, $taxonomy := .Site.Taxonomies.tags }} - <a href="{{ "/tags/" | relLangURL }}{{ $name | urlize }}">{{ $name }}</a> - {{ end }} + <div class="col-md-8 p-5 align-self-center text-center"> + {{ range $name, $taxonomy := .Site.Taxonomies.tags }} + <a href="{{ "/tags/" | relLangURL }}{{ $name | urlize }}">{{ $name }}</a> + {{ end }} </div> </div> </div>
\ No newline at end of file diff --git a/static/css/medium.css b/static/css/medium.css index 7e32a04..af83ee1 100644 --- a/static/css/medium.css +++ b/static/css/medium.css @@ -88,7 +88,7 @@ section.recent-posts { transition: all 0.3s cubic-bezier(.25,.8,.25,1); } .listfeaturedtag .wrapthumbnail { - min-height:290px; + height:290px; flex:0 0 auto; height: 100%; } @@ -243,8 +243,8 @@ span.post-name a,span.post-read-more a:hover { } .article-post { font-family:Merriweather; - font-size:1.2rem; - line-height:1.8; + font-size:1.1rem; + line-height:1.84; color:rgba(0,0,0,.8); } blockquote { @@ -580,6 +580,10 @@ span.navigation { iframe { max-width:100%; } +.transpdark { + background: rgba(0,0,0,0.75); + color: #fff; +} @media (min-width:768px) { .jumbotron.fortags { margin-bottom:-50px; @@ -594,13 +598,17 @@ iframe { background:rgba(0,0,0,0.75); color:#fff; } - .jumbotron.fortags .col-md-4 h2 { - font-weight:300; - } .jumbotron.fortags .row { margin:0; } } +.jumbotron.fortags { + margin-top: 3rem; + padding:0; + border-radius:0; + background-image: url(../images/jumbotron.jpg); + background-size:cover; +} .jumbotron.fortags a { padding: 5px 10px 7px; background: #222; |