about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authoroneleaftea2017-08-26 07:05:11 -0700
committerYihui Xie2017-08-26 09:05:11 -0500
commit11ad2599ed983b8749fb2ce7f0a19f998c2998dd (patch)
treee339380c34e3c62df8586c633655eafb110416a7
parent6272e671f93490cc920b481e914ef42e95cfb3f7 (diff)
downloadhugo-xmin-11ad2599ed983b8749fb2ce7f0a19f998c2998dd.tar.lz
hugo-xmin-11ad2599ed983b8749fb2ce7f0a19f998c2998dd.tar.zst
hugo-xmin-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;