-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
108 lines (94 loc) · 1.67 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
* {
box-sizing: border-box;
font-family: 'Ubuntu';
}
body {
background-image: url('img/back.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
display: flex;
flex-direction: row;
justify-content:space-between;
min-height: 100vh;
padding: 1vw;
margin: 0;
}
h1 {
font-size: 45px;
color: white;
position: relative;
}
button {
background-color: rgb(0, 0, 0);
color: #f78800;
font-size: 25px;
padding: 12px 12px;
border-radius: 10%;
margin-top: 2vh;
}
.controls button {
background-color: rgb(0, 0, 0);
color: #f78800;
font-size: 1rem;
padding: 2px 2px;
border-radius: 10%;
margin-top: 2vh;
}
#canvas {
background-color: #4f4e4e;
display: inline-block;
margin-left: 1vw;
margin-top: -1vw;
margin-bottom: -1vw;
}
#gameMenu {
background-color: rgb(174, 170, 170);
border-radius: 5px;
margin-top: 5vh;
}
.menu{
display: flex;
flex-direction: column;
align-items: flex-end;
margin-right: 1vw;
}
.btns{
display: flex;
flex-direction: row;
align-items: stretch;
}
#gameStats{
background-color: rgba(26, 26, 26, 0.591);
display: inline-block;
border-radius: 5px;
margin-top: 1vh;
}
.controls{
visibility: hidden;
}
@media only screen and (max-width: 600px){
#gameMenu, #gameStats{
margin: 0 auto;
width: 40vw;
}
.menu{
align-items: flex-start;
}
.btns {
font-size: 20px;
padding: 3px 3px;
border-radius: 10%;
margin: 1vh 1vw;
}
}
@media only screen and (max-width: 1000px){
.controls{
visibility: visible;
}
.btnUp{
margin-left: 10vw;
padding-left: 3vw !important;
padding-right: 3vw !important;
}
}