From bbc7a2d9c6bca6d4627206e4d87bbf8dc70ef923 Mon Sep 17 00:00:00 2001 From: elias-garcia Date: Tue, 17 Oct 2017 18:51:17 +0200 Subject: [PATCH 1/2] code formatting --- index.html | 230 ++++++++++++++++++++--------------------------------- style.css | 49 +++++------- 2 files changed, 107 insertions(+), 172 deletions(-) diff --git a/index.html b/index.html index 31240fd..3f42791 100644 --- a/index.html +++ b/index.html @@ -1,150 +1,92 @@ + - - + + 2048 + - - - -
-

- -2048 - - -

-
-
-

-Score Board - -

- -
-
-

-New Game -

- -
- - - -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
-
-

Made By : Tushar Gupta
Get Code at : Github -

- - - - +
+

+ 2048 +

+
+
+

+ Score Board +

+
+
+

+ New Game +

+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + +
+
+ +
+ +
+
+
+
+

+ Made By : Tushar Gupta +
+ Get Code at : + Github +

+
- - - - - - - \ No newline at end of file + diff --git a/style.css b/style.css index d2afa53..e2ab5be 100644 --- a/style.css +++ b/style.css @@ -1,60 +1,53 @@ #table td{ height: 130px; width: 130px; - font-size:40px; - text-align: center; + font-size:40px; + text-align: center; padding: 10px; border: 8px solid grey; - - } #table tr { margin: 0px; padding: 10px; font-size:40px; - text-align: center; + text-align: center; border: 8px solid grey; - } #table { - border-radius: 20px; font: 20px; background: #CDC1B4; } + #first{ -border-top-left-radius: 10px; + border-top-left-radius: 10px; } #back{ - width: 200px; - height: 100px; - margin: 10; - text-align: center; - border-radius: 10px; - border: 5px solid grey; - background: #BBADA0 + width: 200px; + height: 100px; + margin: 10; + text-align: center; + border-radius: 10px; + border: 5px solid grey; + background: #BBADA0 } #back2{ - width: 150px; - height: 70px; - margin: 10; - text-align: center; - border-radius: 10px; - border: 5px solid grey; - background: #BBADA0 + width: 150px; + height: 70px; + margin: 10; + text-align: center; + border-radius: 10px; + border: 5px solid grey; + background: #BBADA0 } #keys .k{ height: 50px; - - font-size:30px; - text-align: center; + font-size:30px; + text-align: center; padding: 10px; border: 8px solid grey; - - } - From ae65ab5dfc160648efd0d534a0b049429c60abca Mon Sep 17 00:00:00 2001 From: elias-garcia Date: Tue, 17 Oct 2017 18:54:59 +0200 Subject: [PATCH 2/2] css formatting --- style.css | 49 +++++++++++++++++++++++++------------------------ 1 file changed, 25 insertions(+), 24 deletions(-) diff --git a/style.css b/style.css index e2ab5be..9602eca 100644 --- a/style.css +++ b/style.css @@ -1,32 +1,32 @@ -#table td{ - height: 130px; - width: 130px; - font-size:40px; +#table td { + height: 130px; + width: 130px; + font-size: 40px; text-align: center; - padding: 10px; - border: 8px solid grey; + padding: 10px; + border: 8px solid grey; } #table tr { - margin: 0px; - padding: 10px; - font-size:40px; + margin: 0px; + padding: 10px; + font-size: 40px; text-align: center; - border: 8px solid grey; + border: 8px solid grey; } #table { - border-radius: 20px; - font: 20px; - background: #CDC1B4; + border-radius: 20px; + font: 20px; + background: #CDC1B4; } -#first{ - border-top-left-radius: 10px; +#first { + border-top-left-radius: 10px; } -#back{ - width: 200px; +#back { + width: 200px; height: 100px; margin: 10; text-align: center; @@ -34,7 +34,8 @@ border: 5px solid grey; background: #BBADA0 } -#back2{ + +#back2 { width: 150px; height: 70px; margin: 10; @@ -44,10 +45,10 @@ background: #BBADA0 } -#keys .k{ - height: 50px; - font-size:30px; - text-align: center; - padding: 10px; - border: 8px solid grey; +#keys .k { + height: 50px; + font-size: 30px; + text-align: center; + padding: 10px; + border: 8px solid grey; }