-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylesheet.css
105 lines (99 loc) · 1.75 KB
/
stylesheet.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/* Add your CSS below! */
body {
font:normal 12px/1.6em Arial, Helvetica, sans-serif;
height:100%;
width:100%;
margin:0;
padding:0;
}
#header {
margin:0 1px;
width:98%;
border-left:1px solid #f0e9eb;
border-right:1px solid #f0e9eb;
font:normal 12px/1.6em Arial, Helvetica, sans-serif;
color:#2a3845;
padding:0;
background:#FFFFFF;
}
#nav {
background:#06a;
padding:10px 20px;
text-align:right;
color:#f6dde3;
}
#footer {
background:#f7f7f7;
border-top:1px solid #f0e9eb;
padding:10px 15px;
clear:both;
}
#nav a {
margin: 0 10px;
}
#nav a:visited, #nav a:link {
text-decoration:none;
color:#f6dde3;
}
#nav a:hover {
text-decoration:underline;
color:#f6dde3;
}
#bg {
height:36px;
background:url('http://img840.imageshack.us/img840/9886/87926428.gif') repeat-x;
}
div {
display:block;
}
#gamefield{
width:400px;
height:400px;
float:left;
margin:20px;
border:4px solid #7124E4;
position:relative;
}
h2 { margin-left:100px;
margin-top:10px;
position: relative;
}
h1 {
position:relative;
margin:40px;
}
#snake{
background-size: cover ;
}
#fruit{
background-image:url("rat.jpg");
background-size: cover ;
}
#gameinfo {
width: 350px;
height: 400px;
float: left;
margin-top:20px;
border: 1px solid #6f5a2d ;
border-radius: 15px;
background: #ebe2ce;
font-family: sans-serif;
font-weight: bold;
text-align: center;
color: #792c15;
}
#points {
margin: 5px;
height: 120px;
margin-top: 15px;
}
#message {
margin:5px;
font-size: 16pt;
margin-bottom: 35px;
color: #E01B6A;
}
#rules {
margin: 5px;
font-size: 12pt;
}