From cc40f51095ab4f6e8eef9d80c71f201688b97569 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 23 Apr 2017 16:04:23 +0300 Subject: [PATCH] more cleanup... Signed-off-by: Alex A. Naanou --- simplesnake/simplesnake.css | 61 +++++++------------------------------ 1 file changed, 11 insertions(+), 50 deletions(-) diff --git a/simplesnake/simplesnake.css b/simplesnake/simplesnake.css index f04e63d..ff49dc4 100755 --- a/simplesnake/simplesnake.css +++ b/simplesnake/simplesnake.css @@ -1,3 +1,4 @@ +/**************************************************** Hints screen ***/ body.hints:before, body.hints:after { @@ -65,6 +66,9 @@ body.hints:after { } + +/*********************************************************** Title ***/ + .title { display: none; position: absolute; @@ -92,12 +96,18 @@ body.hints:after { +/********************************************************* General ***/ + body { background-color: rgb(253, 253, 253); font-family: sans-serif; overflow: hidden; } + + +/************************************************************ Game ***/ + .simplesnake .field { position: relative; left: 50%; @@ -146,54 +156,5 @@ body:not(.hints) .simplesnake.paused:before { } -/* -.simplesnake .apple { - position: relative; - background-color: none; -} -.simplesnake .apple:before { - position: absolute; - display: block; - content: ""; - width: 100%; - height: 100%; - top: 0; - left: 0; - background-color: red; - transform: rotate(45deg); -} -*/ - -/* -.simplesnake .apple { - position: relative; - background-color: none; -} -.simplesnake .apple:before { - display: block; - content: ""; - width: 60%; - height: 100%; - top: 0; - left: 0; - position: absolute; - background-color: red; - border-radius: 30%; - border-bottom-right-radius: 50%; - transform: rotate(-10deg); -} -.simplesnake .apple:after { - display: block; - content: ""; - width: 60%; - height: 100%; - top: 0; - right: 0; - position: absolute; - background-color: red; - border-radius: 30%; - border-bottom-left-radius: 50%; - transform: rotate(10deg); -} -*/ +/*********************************************************************/