-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
85 lines (67 loc) · 1.21 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
75
76
77
78
79
80
81
82
83
84
85
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
height: 95vh;
width: 95vw;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-image: url(img/forresttrees.png);
background-size: cover;
color: rgb(255, 255, 255);
background-color: black;
}
header {
display: flex;
justify-content: center;
align-items: center;
margin-top: 8%;
margin-bottom: 0;
}
#cobra {
width: 15%;
}
#main {
display: flex;
justify-content: center;
align-items:center;
flex-direction: row;
margin-bottom: 5%;
margin-left: 28%
}
#instructions{
display: flex;
justify-content: left;
align-items:center;
flex-direction: row;
margin-left: 5%;
}
#snake{
display: flex;
justify-content: left;
align-items:center;
flex-direction: row;
}
#arrows {
width: 40%;
padding: 10px;
}
h2 {
font-size: 20px;
padding: 10px;
}
@media screen and (max-width:700px){ /*Condição para que sejam aplicadas as próximas linhas. Caso contrário, volta para as configurações padrão.*/
#main{
margin-bottom: 20%;
margin-left:39%
}
}
@media screen and (min-width: 1000px){
header{
width: 50%;
}
}