From: Peng Li Date: Fri, 7 Apr 2017 15:11:53 +0000 (+0800) Subject: Add banner div for my.css X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;ds=sidebyside;h=4d965784a39d48f12c59d016770ec50f0664408f;hp=7b4c6df64b35e219b357b3cdf80a14550b92b2a8;p=blog.git Add banner div for my.css --- diff --git a/css/my.css b/css/my.css new file mode 100644 index 0000000..ab495d3 --- /dev/null +++ b/css/my.css @@ -0,0 +1,39 @@ +html { +/* background:#fffbf8; */ +/* color:#585858; */ +/* padding:17px; */ +} + +body { + max-width:45em; + margin: 0 auto; +/* border: 1px solid LightGrey; */ +} + +body .title { + text-align:center; +} + +#banner { + height: 1.0em; +/* background-color: yellow; */ +} + +#banner .brand { + float: left +} + +#banner nav li { + float:right; +} + +ul { + list-style-type: none; +} + +#banner a, li a { + display:inline-block; + height: 1em; + padding:0 .5em; + text-decoration:none; +}