aboutsummaryrefslogtreecommitdiff
path: root/source/css/theme.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.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.css')
-rw-r--r--source/css/theme.css12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/css/theme.css b/source/css/theme.css
index 6b81de32..6198d979 100644
--- a/source/css/theme.css
+++ b/source/css/theme.css
@@ -17,7 +17,7 @@ nav div {
}
nav div .blog-icon {
- padding: 2px 0;
+ margin: 2px 0;
width: 100px;
height: 100px;
display: inline-block;
@@ -33,7 +33,7 @@ nav div .blog-icon {
nav div.title {
font-size: 16px;
font-weight: bold;
- padding: 1px 0;
+ margin: 1px 0;
}
nav div.author {
@@ -47,7 +47,7 @@ nav a {
article {
position: absolute;
width: 60%;
- padding: 5% 0;
+ margin: 5% 0;
left: 20%;
font-size: 1em;
text-align: justify;
@@ -192,7 +192,7 @@ footer .rfooter {
footer .rfooter .cc-icon {
width: 16px;
height: 16px;
- padding: 0 1px;
+ margin: 0 2px;
display: inline-block;
background-image: url("/img/cc-16.png");
background-image: -webkit-image-set( url("/img/cc-16.png") 1x, url("/img/cc-32.png") 2x );
@@ -206,7 +206,7 @@ footer .rfooter .cc-icon {
footer .rfooter .atom-icon {
width: 16px;
height: 16px;
- padding: 0 2px;
+ margin: 0 2px;
display: inline-block;
background-image: url("/img/feed-16.png");
background-image: -webkit-image-set( url("/img/feed-16.png") 1x, url("/img/feed-32.png") 2x );
@@ -220,7 +220,7 @@ footer .rfooter .atom-icon {
footer .rfooter .rss-icon {
width: 16px;
height: 16px;
- padding: 0 2px;
+ margin: 0 2px;
display: inline-block;
background-image: url("/img/rss-16.png");
background-image: -webkit-image-set( url("/img/rss-16.png") 1x, url("/img/rss-32.png") 2x );