diff options
| author | lizhineng <[email protected]> | 2013-06-29 13:43:40 +0800 |
|---|---|---|
| committer | lizhineng <[email protected]> | 2013-06-29 13:43:40 +0800 |
| commit | ef5c55619e88600492d6d4015660e7101baafce3 (patch) | |
| tree | 9fa8532ed28c01bcce948c179f2aec3e5699bc42 /css | |
| parent | 13eb52b240aa6804264bcfa05a27e64061d96c0e (diff) | |
| download | word-search-game-ef5c55619e88600492d6d4015660e7101baafce3.tar.gz word-search-game-ef5c55619e88600492d6d4015660e7101baafce3.zip | |
Optimized the existing code
Diffstat (limited to 'css')
| -rw-r--r-- | css/style.css | 42 |
1 files changed, 13 insertions, 29 deletions
diff --git a/css/style.css b/css/style.css index 682d445..afc63ed 100644 --- a/css/style.css +++ b/css/style.css @@ -1,8 +1,4 @@ -/* ========================================== -/* -/* CSS RESET -/* -/* ========================================== */ +/* CSS reset */ body, h1 { margin: 0; @@ -10,51 +6,39 @@ body, h1 { } h1 { - text-transform: uppercase; + text-transform: uppercase; } body { - color: #333; + color: #333; } -/* ========================================== -/* -/* COMMON -/* -/* ========================================== */ +/* Common */ .fix { - *zoom: 1; + *zoom: 1; } .fix:after { - display: table; - clear: both; - content: ''; + display: table; + clear: both; + content: ''; } -/* ========================================== -/* -/* HOME -/* -/* ========================================== */ +/* Home */ .wrap { width: 960px; margin: 0 auto; - padding-top: 40px; + padding: 40px 0; text-align: center; } .logo, #gameArea { - margin-bottom: 40px; + margin-bottom: 40px; } -/* ========================================== -/* -/* Game area -/* -/* ========================================== */ +/* Wordseach */ .ws-area { background: #fafafa; @@ -76,5 +60,5 @@ body { } .ws-selected { - background: #ddd; + background: #eee; }
\ No newline at end of file |
