aboutsummaryrefslogtreecommitdiff
path: root/source/css/theme-narrow.css
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2015-07-26 19:32:37 -0700
committerZhiming Wang <zmwangx@gmail.com>2015-07-26 19:32:37 -0700
commitbab5532377fec7cf2679b94701908225c1b6cc56 (patch)
tree431fed32ae721932ad1a4793d4bc76d58529ffa6 /source/css/theme-narrow.css
parentb89ff82dad44b4a6a87e62dff3c71bcb7ea3cca3 (diff)
downloadmy_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 'source/css/theme-narrow.css')
-rw-r--r--source/css/theme-narrow.css6
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%;
}