aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroneleaftea <oneleaftea@users.noreply.github.com>2017-08-26 07:05:11 -0700
committerYihui Xie <xie@yihui.name>2017-08-26 09:05:11 -0500
commit11ad2599ed983b8749fb2ce7f0a19f998c2998dd (patch)
treee339380c34e3c62df8586c633655eafb110416a7
parent6272e671f93490cc920b481e914ef42e95cfb3f7 (diff)
downloadzk-theme-11ad2599ed983b8749fb2ce7f0a19f998c2998dd.tar.gz
zk-theme-11ad2599ed983b8749fb2ce7f0a19f998c2998dd.zip
Fix centering on menu in header (style.css change) (#12)
* Update style.css to change .menu padding to 0px Since menu li items normally add padding, it off-centers the menu. Changing padding to 0px fixes this. * split the two CSS rules
-rw-r--r--static/css/style.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/static/css/style.css b/static/css/style.css
index d23b9a5..0edd168 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -6,6 +6,7 @@ body {
}
/* header and footer areas */
+.menu { padding: 0; }
.menu li { display: inline-block; }
.article-meta, .menu a {
text-decoration: none;