-
Notifications
You must be signed in to change notification settings - Fork 0
/
snake.css
58 lines (49 loc) · 1.12 KB
/
snake.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*******************************
* *
* Project: Snake Game v2 *
* File: snake.css *
* *
*******************************/
* { padding: 0; margin: 0; overflow: hidden; }
html {
background-image: radial-gradient(#FFFFFF, #CCCCCC);
font-family: Monospace, Consolas, sans-serif;
height: 100%;
width: 100%;
}
body { height: 100%; width: 100%; }
div, input { background-color: #EEEEEE; border: 3px solid #CCCCCC; }
div {
border-radius: 15px;
height: auto;
margin: 15% auto;
padding: 20px;
box-shadow: 3px 3px 10px #888888;
text-align: center;
width: 50%;
min-width: 300px;
max-width: 500px;
}
label { color: #444444; font-size: 30px; font-weight: bold; }
input {
border-radius: 5px;
color: #444444;
font-family: Monospace, Consolas, sans-serif;
padding: 5px;
}
input[type=text] {
font-size: 25px;
margin: 1%;
text-align: center;
width: 80%;
}
input[type=submit]:hover { background-color: #3DAB92; color: #EEEEEE; }
input[type=submit] {
border-color: #3DAB92;
cursor: pointer;
font-size: 20px;
transition: 0.25s;
}
/********
* END *
********/