summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorlizhineng <[email protected]>2013-06-07 23:30:20 +0800
committerlizhineng <[email protected]>2013-06-07 23:30:20 +0800
commit006b98dfd0ae1fbc34ef4c135e4ab07a7b82b152 (patch)
tree86b42eba1c29afebec82040e9856bbe5302d8add /css
parentc080e07ee1a0004d732508f9ed011678a38eda5e (diff)
downloadword-search-game-006b98dfd0ae1fbc34ef4c135e4ab07a7b82b152.tar.gz
word-search-game-006b98dfd0ae1fbc34ef4c135e4ab07a7b82b152.zip
optimized the expressions and fixed some bugs
Diffstat (limited to 'css')
-rw-r--r--css/style.css36
1 files changed, 33 insertions, 3 deletions
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