Some minor CSS improvements

- Removes unit if value is 0
- Uses shorthand notation where possible

Signed-off-by: Michael Rosenberger <mr@simpelwebservice.de>
This commit is contained in:
Michael Rosenberger
2018-11-22 23:38:54 +01:00
parent 3a3b35b2eb
commit b9e4adc634
7 changed files with 24 additions and 51 deletions

View File

@@ -12,7 +12,7 @@
font: 12px/18px 'Lucida Grande','Lucida Sans Unicode',Helvetica,Arial,Verdana,sans-serif;
color: #444;
text-align: center;
background: none repeat scroll 0% 0% rgba(240, 242, 244, 0.85);
background: none repeat scroll 0 0 rgba(240, 242, 244, 0.85);
border-bottom: 1px solid #DDD;
box-sizing: border-box;
-webkit-font-smoothing: subpixel-antialiased;

View File

@@ -12,11 +12,8 @@
padding: 0;
}
article {
margin-top:20%;
margin-left:auto;
margin-right:auto;
margin-bottom:12px;
margin: 20% auto 12px;
width:500px;
min-height: 70px;
padding: 1em;