diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2015-07-26 19:32:37 -0700 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2015-07-26 19:32:37 -0700 |
commit | bab5532377fec7cf2679b94701908225c1b6cc56 (patch) | |
tree | 431fed32ae721932ad1a4793d4bc76d58529ffa6 /source/css/theme-narrow.css | |
parent | b89ff82dad44b4a6a87e62dff3c71bcb7ea3cca3 (diff) | |
download | my_new_personal_website-bab5532377fec7cf2679b94701908225c1b6cc56.tar.xz my_new_personal_website-bab5532377fec7cf2679b94701908225c1b6cc56.zip |
css: replace padding with margin whenever possible
Also adjusted some margins.
Diffstat (limited to '')
-rw-r--r-- | source/css/theme-narrow.css | 6 |
1 files changed, 3 insertions, 3 deletions
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%; } |