From 006b98dfd0ae1fbc34ef4c135e4ab07a7b82b152 Mon Sep 17 00:00:00 2001 From: lizhineng Date: Fri, 7 Jun 2013 23:30:20 +0800 Subject: optimized the expressions and fixed some bugs --- css/style.css | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) (limited to 'css') diff --git a/css/style.css b/css/style.css index c07319c..b84e219 100644 --- a/css/style.css +++ b/css/style.css @@ -9,6 +9,30 @@ body, h1 { padding: 0; } +h1 { + text-transform: uppercase; +} + +body { + color: #333; +} + +/* ========================================== +/* +/* COMMON +/* +/* ========================================== */ + +.fix { + *zoom: 1; +} + +.fix:after { + display: table; + clear: both; + content: ''; +} + /* ========================================== /* /* HOME @@ -19,6 +43,11 @@ body, h1 { width: 960px; margin: 0 auto; padding-top: 40px; + text-align: center; +} + +.logo, #gameArea { + margin-bottom: 40px; } /* ========================================== @@ -27,9 +56,10 @@ body, h1 { /* /* ========================================== */ -#gamearea { - margin: 10px 20px; - background: #efefef; +#ws-area { + background: #fafafa; + display: inline-block; + padding: 20px; border-radius: 10px; position: relative; } \ No newline at end of file -- cgit v1.2.3