PCYoshi 9 vuotta sitten
vanhempi
commit
0a2d0727c5
4 muutettua tiedostoa jossa 128 lisäystä ja 5 poistoa
  1. 3
    3
      java/conf.xml
  2. BIN
      java/java.jar
  3. 2
    2
      web/css/game.css
  4. 123
    0
      web/css/game.css~

+ 3
- 3
java/conf.xml Näytä tiedosto

@@ -4,7 +4,7 @@
4 4
 <comment>Configuration de l'aplication de gestion du jeu BurgerQuizz</comment>
5 5
 <entry key="nomBdd">burgerquizz</entry>
6 6
 <entry key="port">3306</entry>
7
-<entry key="login">alain</entry>
8
-<entry key="password">chabat</entry>
9
-<entry key="ip">localhost</entry>
7
+<entry key="login">test</entry>
8
+<entry key="password">yolo</entry>
9
+<entry key="ip">149.91.82.239</entry>
10 10
 </properties>

BIN
java/java.jar Näytä tiedosto


+ 2
- 2
web/css/game.css Näytä tiedosto

@@ -8,12 +8,12 @@
8 8
 	100%{width: 0;background-color: #cc5757;}
9 9
 }
10 10
 
11
-div
11
+#timer
12 12
 {
13 13
 	height: 20px;
14 14
 	display: block;
15 15
 	margin: auto;
16
-	animation: timebar 5s infinite linear;
16
+	animation: timebar 5s linear;
17 17
 }
18 18
 
19 19
 #navbar li.current:last-child #score {

+ 123
- 0
web/css/game.css~ Näytä tiedosto

@@ -0,0 +1,123 @@
1
+@keyframes timebar
2
+{
3
+	0%{width: 100%;background-color: #57cc6b;}
4
+	30%{background-color: #57cc6b;}
5
+	40%{background-color: #e3a55c;}
6
+	60%{background-color: #e3a55c;}
7
+	70%{background-color: #cc5757;}
8
+	100%{width: 0;background-color: #cc5757;}
9
+}
10
+
11
+#timer
12
+{
13
+	height: 20px;
14
+	display: block;
15
+	margin: auto;
16
+	animation: timebar 5s infinite linear;
17
+}
18
+
19
+#navbar li.current:last-child #score {
20
+  display:inline;
21
+  padding-top:17px;
22
+  padding-left:30px;
23
+  padding-right:30px;
24
+  padding-bottom:18px;
25
+  background: #ffab19;
26
+}
27
+
28
+#game input[type="submit"]#play {
29
+  border:none;
30
+  background-color:#09b22b;
31
+  color:white;
32
+  padding:20px;
33
+  font-size:170%;
34
+  cursor:pointer;
35
+}
36
+
37
+#game {
38
+  text-align:center;
39
+}
40
+
41
+div#category {
42
+  font-size:170%;
43
+  font-family:'Lato';
44
+  font-weight:300;
45
+  margin-top:20px;
46
+}
47
+
48
+p#question {
49
+  font-size:120%;
50
+}
51
+
52
+ul#answers {
53
+  padding-left:0px;
54
+}
55
+
56
+ul#answers li {
57
+  display:inline-block;
58
+  background: #b087ff;
59
+  width:16%;
60
+  padding:20px;
61
+  padding-top:38px;
62
+  height:42px;
63
+  font-size:110%;
64
+  color:white;
65
+  font-weight:bold;
66
+  margin-right:20px;
67
+  line-height: 20px;
68
+  vertical-align: middle;
69
+  cursor: pointer;
70
+}
71
+
72
+ul#answers li.good-answer {
73
+  background: #57cc6b;
74
+}
75
+
76
+ul#answers li.wrong-answer {
77
+  background: #cc5757;
78
+}
79
+
80
+h2#score {
81
+  margin-top: 100px;
82
+  font-size:220%;
83
+  margin-bottom:10px;
84
+}
85
+
86
+p#registerScore, p#conDenied {
87
+  width: 40%;
88
+  margin: auto;
89
+}
90
+
91
+p.success {
92
+  padding-top: 30px;
93
+  background:#57cc6b;
94
+  padding-bottom: 30px;
95
+}
96
+
97
+p.error {
98
+  padding-top: 30px;
99
+  background:#cc5757;
100
+  padding-bottom: 30px;
101
+  color:white;
102
+}
103
+
104
+p#conDenied {
105
+  margin-top:70px;
106
+}
107
+
108
+@media all and (max-width: 799px) {
109
+  ul#answers li {
110
+    display:block;
111
+    margin:auto;
112
+    margin-bottom:10px;
113
+    width:80%;
114
+    padding-top:15px;
115
+    height: 20px;
116
+  }
117
+}
118
+
119
+@media all and (min-width: 800px) {
120
+  ul#answers li:last-child {
121
+    margin-right:0px;
122
+  }
123
+}