From 7b9e239d2eac72b5b7f97c9f135853eaa8f0afa0 Mon Sep 17 00:00:00 2001 From: Alexander Surma Date: Tue, 30 Jun 2015 21:44:21 +0100 Subject: [PATCH 1/5] Fix card meta alignments (fixes #561) --- templates/blog/index.html | 4 ++-- templates/blog/styles.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/blog/index.html b/templates/blog/index.html index 0e392677..b0a26b8e 100644 --- a/templates/blog/index.html +++ b/templates/blog/index.html @@ -44,7 +44,7 @@ -
+
@@ -66,7 +66,7 @@ +1,337
-
+
The Newist
diff --git a/templates/blog/styles.css b/templates/blog/styles.css index a626dd94..dfd6d57d 100644 --- a/templates/blog/styles.css +++ b/templates/blog/styles.css @@ -92,7 +92,7 @@ main.mdl-layout__content { padding: 16px; display: flex; flex-direction: row; - align-items: center !important; + align-items: center ; justify-content: flex-start; height: auto; } @@ -104,7 +104,7 @@ main.mdl-layout__content { font-size: 2em; cursor: pointer; } -.mdl-card:nth-child(2n) .meta { +.demo-blog .mdl-card .meta.meta--fill { justify-content: space-between; } .meta > *:first-child { From 7bf24f787b986f37292f1ae0bc02fd03342fe672 Mon Sep 17 00:00:00 2001 From: Alexander Surma Date: Tue, 30 Jun 2015 22:13:13 +0100 Subject: [PATCH 2/5] Update and sanitize blog post CSS --- templates/blog/entry.html | 22 +++--- templates/blog/index.html | 4 +- templates/blog/styles.css | 153 ++++++++++++++++++-------------------- 3 files changed, 84 insertions(+), 95 deletions(-) diff --git a/templates/blog/entry.html b/templates/blog/entry.html index 01be4d6c..436d1223 100644 --- a/templates/blog/entry.html +++ b/templates/blog/entry.html @@ -44,8 +44,8 @@ } - -
+ +
arrow_back @@ -89,9 +89,9 @@
-
- -
+
+ +
James Splayd 2 days ago
@@ -112,9 +112,9 @@
-
- -
+
+ +
John Dufry 2 days ago
@@ -139,14 +139,14 @@
-