Mercurial > hg-website
changeset 459:a891b73d9bbb
css: don't set the same property twice
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Wed, 01 Jun 2016 07:21:17 +0800 |
parents | 9f7df5119cc3 |
children | 10304bad6faf |
files | static/css/styles.css |
diffstat | 1 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/static/css/styles.css Wed Jun 01 07:18:57 2016 +0800 +++ b/static/css/styles.css Wed Jun 01 07:21:17 2016 +0800 @@ -61,8 +61,7 @@ input, textarea, select { font-family: DejaVuSans, Helvetica, Arial, sans-serif; font-size: .8571em; vertical-align: top; } textarea { overflow: auto; width: 220px; height: 90px; } form ol { margin: 0; } -form ol li { list-style: none; margin: 0 0 10px 0; display: inline-block; overflow: hidden; } -form ol li { display: block; } +form ol li { list-style: none; margin: 0 0 10px 0; display: block; overflow: hidden; } label { float: left; width: 100px; padding-right: 10px; text-align: right; } .submit { margin-left: 110px; } @@ -92,8 +91,7 @@ /* * Layout */ -.row { display: inline-block; overflow: hidden; border-bottom: 1px solid #ccc; } -.row { display: block; } +.row { display: block; overflow: hidden; border-bottom: 1px solid #ccc; } .col { float: right; display: inline; width: 295px; margin: 25px; } .big { float: left; width: 470px; } .quote { float: right; width: 740px; text-align: right; margin-right: 25px; } @@ -155,8 +153,7 @@ /* * Footer */ -#footer { font-family: Verdana, DejaVuSans, Helvetica, Arial, sans-serif; font-size: .6428em; display: inline-block; overflow: hidden; text-align: right; padding: 10px 25px; } -#footer { display: block; } +#footer { font-family: Verdana, DejaVuSans, Helvetica, Arial, sans-serif; font-size: .6428em; display: block; overflow: hidden; text-align: right; padding: 10px 25px; } #footer div { float: left; } #footer a { text-decoration: none; }