mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-11-22 00:19:19 +02:00
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
This commit is contained in:
parent
6272e671f9
commit
11ad2599ed
|
@ -6,6 +6,7 @@ body {
|
|||
}
|
||||
|
||||
/* header and footer areas */
|
||||
.menu { padding: 0; }
|
||||
.menu li { display: inline-block; }
|
||||
.article-meta, .menu a {
|
||||
text-decoration: none;
|
||||
|
|
Loading…
Reference in New Issue