-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
74 lines (73 loc) · 1.52 KB
/
style.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
*{
margin: 0%;
padding: 0%;
box-sizing: border-box;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
body{
background: linear-gradient(to top right,rgb(255, 130, 226),rgb(123, 242, 255));
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-attachment: fixed;
padding-bottom: 2rem;
}
.title h1{
text-align: center;
color: rgb(18, 0, 123);
padding: 25px 0px;
}
.srt-msg p{
text-align: center;
font-size: 1.25em;
color: rgb(213, 1, 1);
font-weight: 600;
padding: 5px 0px;
}
#score{
color: rgb(0, 94, 120);
font-size:1.5em;
font-weight: 600;
}
#Snake-Board{
margin: 25px 0px;
outline: 2px solid rgb(255, 255, 255);
}
#restart-btn{
padding: .5rem 1rem;
margin: .5rem 0;
font-weight: 600;
background-color: rgb(0, 164, 74);
border: 1px solid transparent;
color: #ffffff;
transition: all .2s ease;
}
#restart-btn:hover{
cursor: pointer;
background-color: rgb(0, 255, 115);
border: 1px solid #000000;
color: #000000;
}
@keyframes bganimation {
0%{
background-size: 500%;
background-position: 0%;
}
50%{
background-size: 500%;
background-position: 100%;
}
100%{
background-size: 500%;
background-position: 0%;
}
}
@keyframes gboard {
0%{
opacity: 1;
}
100%{
opacity: .5;
}
}