From 44aecaddef1154944e3e4a47e24b405630ef9cb7 Mon Sep 17 00:00:00 2001 From: EM Date: Sun, 31 Dec 2017 08:56:05 +0700 Subject: [PATCH] minor css & pagination fixes --- layouts/_default/list.html | 6 +++--- layouts/_default/single.html | 4 ++-- layouts/index.html | 6 +++--- static/css/casper-two.css | 32 +++++++++++++++++++++----------- 4 files changed, 29 insertions(+), 19 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index cf96a2c..dbd3659 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -12,11 +12,11 @@ diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 4e523bc..1f06616 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -12,11 +12,11 @@ {{ partial "disqus" . }} diff --git a/layouts/index.html b/layouts/index.html index cf96a2c..dbd3659 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -12,11 +12,11 @@ diff --git a/static/css/casper-two.css b/static/css/casper-two.css index e862a4f..b55ff67 100644 --- a/static/css/casper-two.css +++ b/static/css/casper-two.css @@ -45,18 +45,28 @@ } @media (min-width: 900px) { -.ctsingle .post-feed { - margin-top: -70px; - padding-top: 0; -} -.ctsingle .site-nav { - position: relative; - top: -70px; -} + .ctsingle .post-feed { + margin-top: -70px; + padding-top: 0; + } + .ctsingle .site-nav { + position: relative; + top: -70px; + } } + @media (min-width: 795px) { -.ctsingle .post-feed p { - font-size: 1.8rem; - line-height: 1.55em; + .ctsingle .post-feed p { + font-size: 1.8rem; + line-height: 1.55em; + } } + +@media (max-width: 650px) { + .hide { + display: none !important; + } + .copyright { + text-align: center; + } } \ No newline at end of file