From bab5532377fec7cf2679b94701908225c1b6cc56 Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Sun, 26 Jul 2015 19:32:37 -0700 Subject: css: replace padding with margin whenever possible Also adjusted some margins. --- source/css/theme-narrow.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/css/theme-narrow.css') diff --git a/source/css/theme-narrow.css b/source/css/theme-narrow.css index 1610528b..56328225 100644 --- a/source/css/theme-narrow.css +++ b/source/css/theme-narrow.css @@ -1,6 +1,6 @@ nav { position: static; - padding: 5% 0 0 0; + margin: 5% 0 0 0; text-align: center; height: 100%; width: 100%; @@ -12,7 +12,7 @@ nav div { } nav div .blog-icon { - padding: 0; + margin: 0; height: 150px; width: 150px; background-image: url("/img/icon-150.png"); @@ -30,5 +30,5 @@ nav div.title, div.author { article { position: static; width: 80%; - padding: 0 10% 10% 10%; + margin: 2% 10% 10% 10%; } -- cgit v1.2.1