-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
122 lines (100 loc) · 1.67 KB
/
styles.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
body {
background-color: rgba(0, 0, 0, 0.8);
/*font-family: 'Raleway', sans-serif;*/
font-family: 'Press Start 2P', sans-serif;
color: white;
box-sizing: border-box;
}
a, a:link, a:visited {
color: red;
cursor: pointer;
}
a:hover {
color: yellow;
}
#container, #canvas-container {
margin: 0 auto;
}
#canvas-container {
position: relative;
}
#game-menu {
position: absolute;
top: 0;
width: 100%;
height: 100%;
}
.game-menu-content {
padding: 20px;
box-sizing: border-box;
display: none;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
}
#start-menu {
display: flex;
align-items: center;
text-align: center;
}
#infos, h1 {
text-align: center
}
#help {
display: none;
font-family: 'Raleway', sans-serif;
}
#bonus {
z-index: 1;
position: absolute;
text-align: center;
text-shadow: 0px 0px 12px black;
}
#nom, #recommencer {
width: 100%;
}
#recommencer {
height: 40px;
}
.btn, #nom {
border: none;
color: white;
margin-top: 10px;
padding: 10px;
background-color: black;
font-family: 'Press Start 2P', sans-serif;
}
#nom:focus {
outline: none;
border-bottom: 1px white solid;
}
.btn:hover {
background-color: white;
color: black;
}
.btn:disabled {
background-color: grey;
}
#score-form {
display: flex;
height: 80px;
}
#gameover-flexbox {
display: flex;
flex-direction: column;
height: 100%;
}
#scores {
height: 100%;
overflow: auto;
}
table {
width: 100%;
}
@media (max-width: 600px) {
#gameover-menu {
font-size: 0.5em;
}
#game-menu-content {
padding: 0;
}
}