summaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorUtkarsh Sinha <sinha.utkarsh1990@gmail.com>2015-07-07 22:31:10 +0530
committerUtkarsh Sinha <sinha.utkarsh1990@gmail.com>2015-07-07 22:31:10 +0530
commit7fd883bee6e30a939f8dc05310b6340758c3b90f (patch)
tree3835c5fa4b0f888b525171d077496dfc5c40e2c5 /themes
parent269b8810dcf5b4ca224df1b692065ee0fbb7a0a7 (diff)
Responsive "allposts" button on the front page. Fixes #77
Diffstat (limited to 'themes')
-rw-r--r--themes/pelican-elegant-1.3/static/css/style.css21
1 files changed, 21 insertions, 0 deletions
diff --git a/themes/pelican-elegant-1.3/static/css/style.css b/themes/pelican-elegant-1.3/static/css/style.css
index 8b7492c..bb6efd8 100644
--- a/themes/pelican-elegant-1.3/static/css/style.css
+++ b/themes/pelican-elegant-1.3/static/css/style.css
@@ -395,3 +395,24 @@ dt:hover > a.headerlink {
visibility: visible;
text-decoration:none;
}
+
+h1#recent-posts {
+ font-size: 30px;
+}
+
+a#allposts {
+ width: 100%;
+}
+
+@media screen and (min-width: 480px) {
+ h1#recent-posts {
+ font-size: 38.5px;
+ }
+
+}
+
+@media screen and (min-width: 360px) {
+ a#allposts {
+ width: inherit;
+ }
+}