diff options
author | Lenard Gaida <mail@lgaida.de> | 2019-04-09 21:03:56 +0300 |
---|---|---|
committer | Lenard Gaida <mail@lgaida.de> | 2019-04-09 21:03:56 +0300 |
commit | f545b350f5ceb33798a848e91ca3344adbe75b6a (patch) | |
tree | cb7bb7bab8ee82ab1da1925ffcaf2bb6352ddc65 | |
parent | cd6e167069bf8e95e924fe5147242e7f86c2e301 (diff) |
tweak padding of author-div on a postfollow-jekyll-master
-rw-r--r-- | layouts/_default/single.html | 4 | ||||
-rw-r--r-- | static/css/additional.css | 10 | ||||
-rw-r--r-- | static/css/medium.css | 1 |
3 files changed, 11 insertions, 4 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index a768a78..05fd080 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -21,10 +21,10 @@ {{if isset .Site.Params.author "thumbnail"}} {{if isset .Site.Params.author "description"}} <div class="row post-top-meta"> - <div class="col-xs-12 col-md-3 col-lg-2 text-center text-md-left mb-4 mb-md-0"> + <div class="col-xs-12 col-md-3 col-lg-2 text-center text-md-left mb-4 mb-md-0 md-nopad-right"> <img class="author-thumb" src="{{ .Site.Params.author.thumbnail | urlize | relURL}}" alt="{{ .Site.Params.author.name }}"> </div> - <div class="col-xs-12 col-md-9 col-lg-10 text-center text-md-left"> + <div class="col-xs-12 col-md-9 col-lg-10 text-center text-md-left md-nopad-left"> <a target="_blank" class="link-dark">{{ .Site.Params.author.name }}</a><br> <span class="author-description"> {{ .Site.Params.author.description }}<br> diff --git a/static/css/additional.css b/static/css/additional.css index 0b09c8d..db4824e 100644 --- a/static/css/additional.css +++ b/static/css/additional.css @@ -25,4 +25,12 @@ } .error{ text-align: center !important; -}
\ No newline at end of file +} +@media(min-width: 769px){ + .md-nopad-right{ + padding-right: 0px !important; + } + .md-nopad-left{ + padding-left: 0px !important; + } +} diff --git a/static/css/medium.css b/static/css/medium.css index 390ebb5..c1536f7 100644 --- a/static/css/medium.css +++ b/static/css/medium.css @@ -175,7 +175,6 @@ section.recent-posts { .author-thumb { width: 40px; height: 40px; - margin-right: 13px; border-radius: 100%; } |