Skip to content

Commit 1a4e555

Browse files
committed
Final Checkmate WebApp
1 parent f269d28 commit 1a4e555

27 files changed

+34375
-17170
lines changed
Binary file not shown.

CheckMate2017-master/checkmate2017/mainapp/static/mainapp/css/basic.css

+11-6
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
body{
44
overflow:hidden;
55
/*background-color:#fcfcfc;*/
6-
background: url("../img/back.jpg");
6+
background-color: #009688;
77
margin:0;
8-
background-size: cover;
8+
/*background-size: cover;*/
99
padding:0;
1010
}
1111

@@ -27,6 +27,11 @@ body{
2727
height:600px;
2828
left:-461px;
2929
top:-300px;
30+
/*background-color: #009688;*/
31+
}
32+
33+
.page-wrapper > div{
34+
/*background: #009688 !important;*/
3035
}
3136

3237
.flipbook-viewport .page{
@@ -37,13 +42,13 @@ body{
3742
background-size:100% 100%;
3843
}
3944

40-
.flipbook .page{
45+
/*.flipbook .page{
4146
-webkit-box-shadow:0 0 20px rgba(0,0,0,0.2);
4247
-moz-box-shadow:0 0 20px rgba(0,0,0,0.2);
4348
-ms-box-shadow:0 0 20px rgba(0,0,0,0.2);
4449
-o-box-shadow:0 0 20px rgba(0,0,0,0.2);
4550
box-shadow:0 0 20px rgba(0,0,0,0.2);
46-
}
51+
}*/
4752

4853
.flipbook-viewport .page img{
4954
-webkit-touch-callout: none;
@@ -61,9 +66,9 @@ body{
6166
-o-transition: -webkit-box-shadow 0.5s;
6267
-ms-transition: -ms-box-shadow 0.5s;
6368

64-
-webkit-box-shadow:0 0 20px #ccc;
69+
/*-webkit-box-shadow:0 0 20px #ccc;
6570
-moz-box-shadow:0 0 20px #ccc;
6671
-o-box-shadow:0 0 20px #ccc;
6772
-ms-box-shadow:0 0 20px #ccc;
68-
box-shadow:0 0 20px #ccc;
73+
box-shadow:0 0 20px #ccc;*/
6974
}

CheckMate2017-master/checkmate2017/mainapp/static/mainapp/css/congrats.css

+63-4
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ body{
1919
height: 100vh;
2020
overflow: hidden;
2121
background-color: #5BF3E5;
22+
font-family: montserrat, arial,verdana;
23+
font-size: 22px;
24+
line-height: 24px;
2225
}
2326
#footer{
2427
width: 100%;
@@ -27,7 +30,7 @@ body{
2730
top: 70%;
2831
z-index: 0;
2932
background-color: #36E9D9;
30-
}
33+
}/*
3134
.card{
3235
top: 26%;
3336
z-index: 10;
@@ -72,8 +75,8 @@ body{
7275
width: 100%;
7376
top: 50%;
7477
background-color: #fff;
75-
}
76-
78+
}*/
79+
/*
7780
.bottom a{
7881
font-family: courier, verdana;
7982
position: absolute;
@@ -82,7 +85,7 @@ body{
8285
font-size: 25px;
8386
width: auto;
8487
height: auto;
85-
/*font-weight: bold;*/
88+
font-weight: bold;
8689
border-radius: 20px;
8790
border: 2px solid #DAAB1A;
8891
text-decoration: none;
@@ -91,4 +94,60 @@ body{
9194
}
9295
.bottom a:hover{
9396
background-color:#9934CA;
97+
}*/
98+
99+
#wrapper{
100+
height: 100vh;
101+
width: 100vw;
102+
/*background: #fff;*/
103+
position: absolute;
104+
display: flex;
105+
justify-content: center;
106+
align-items: center;
107+
108+
}
109+
110+
/*#wrapper *{
111+
border: 1px solid #000;
112+
}*/
113+
114+
#wrapper .main{
115+
width: 320px;
116+
height: 415px;
117+
background: url('../img/congratulations.png') 0 0 no-repeat;
118+
background-size: cover;
119+
position: relative;
120+
}
121+
122+
#wrapper .box{
123+
width: 150px;
124+
height: 60px;
125+
position: absolute;
126+
border-radius: 6px;
127+
text-align: center;
128+
}
129+
130+
131+
#wrapper .box:nth-of-type(1){
132+
top: 170px;
133+
left: 90px;
134+
line-height: 60px;
135+
margin-top: 5px;
136+
font-size: 20px;
137+
color: #dfb220;
138+
}
139+
140+
#wrapper .box:nth-of-type(2){
141+
top: 330px;
142+
left: 90px;
143+
background: #f00;
144+
color: #fff;
145+
line-height: 60px;
146+
}
147+
148+
#wrapper .box:nth-of-type(2) a{
149+
text-decoration: none;
150+
height: 60px;
151+
width: 150px;
152+
color: #fff;
94153
}

CheckMate2017-master/checkmate2017/mainapp/static/mainapp/css/game.css

+36-6
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,15 @@ body{
141141

142142
#canvas{
143143
padding: 0;
144-
background: #fff;
144+
/*background: #fff;*/
145145
width: 50vw;
146146
height: 60vh;
147147
border-radius: 10px;
148148
text-align: center;
149-
background: #49C2B8;
149+
/*background: #49C2B8;*/
150+
background: rgba(0, 0 , 0, 0.7);
150151
font-family: courier,verdana;
151-
color: #000;
152+
color: #fff;
152153

153154
}
154155

@@ -168,10 +169,15 @@ body{
168169
height: 45vh;
169170
border-radius: 10px;
170171
box-shadow: inset 0px 2px 10px #777;
171-
background: #eee;
172+
background: rgba(255, 255, 255, .7);
172173
transition: all .5s linear;
173174
}
174175

176+
#canvas img{
177+
height: inherit;
178+
width: auto;
179+
}
180+
175181
#canvas li:hover{
176182
background: #fff;
177183
box-shadow: inset 0 1px 1px #777;
@@ -237,7 +243,7 @@ body{
237243

238244
}
239245

240-
#help_screen{
246+
#help_screen, #quit_alert{
241247
position: absolute;
242248
width: 100vw;
243249
top: 0;
@@ -320,7 +326,7 @@ body{
320326
text-align: center;
321327
color: #000;
322328
font-size: 12px;
323-
background: rgba(255, 255, 255, 0.6);
329+
background: rgba(255, 255, 255, 0.8);
324330
padding: 12px;
325331
border-radius: 15px;
326332
}
@@ -338,3 +344,27 @@ table {
338344
th, td {
339345
padding: 3px;
340346
}
347+
348+
#quit_alert nav{
349+
display: flex;
350+
justify-content: space-around;
351+
width: 90%;
352+
padding: 30px;
353+
}
354+
355+
#quit_alert a{
356+
color: #000;
357+
text-decoration: none;
358+
width: 70px;
359+
height: 30px;
360+
line-height: 30px;
361+
background: rgba(255, 255, 255, 0.9);
362+
padding: 10px;
363+
border-radius: 6px;
364+
cursor: pointer;
365+
}
366+
367+
#quit_alert li{
368+
list-style: none;
369+
370+
}

CheckMate2017-master/checkmate2017/mainapp/static/mainapp/css/lightbox.css

+20-4
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,17 @@
1616
align-items: center;
1717
-webkit-justify-content: center;
1818
justify-content: center;
19+
overflow: scroll;
20+
padding: 50px 0;
21+
box-sizing: border-box;
1922
}
2023

2124
#backdrop .lightbox{
2225
width: 70vw;
23-
height: 70vh;
2426
background: #49C2B8;
2527
overflow: hidden;
2628
border-radius: 15px;
27-
29+
margin: auto;
2830
}
2931

3032
#backdrop header{
@@ -77,9 +79,9 @@
7779
border-radius: 6px;
7880
padding: 30px;
7981
width: 91%;
80-
overflow-y: scroll;
82+
/*overflow-y: scroll;*/
8183
overflow-x: hidden;
82-
height: 35vh;
84+
height: 100%;
8385
background-color: #FFFFFF;
8486
}
8587
.extras{
@@ -107,3 +109,17 @@
107109
#continue{
108110
padding: 8px;
109111
}
112+
113+
#msg_box{
114+
position: absolute;
115+
bottom: 0px;
116+
left: calc(50vw - 150px);
117+
width: 300px;
118+
height: 70px;
119+
background: rgba(0,0,0,0.8);
120+
border-radius: 6px;
121+
color: #fff;
122+
display: none;
123+
line-height: 70px;
124+
text-align: center;
125+
}

CheckMate2017-master/checkmate2017/mainapp/static/mainapp/css/login.css

+15
Original file line numberDiff line numberDiff line change
@@ -370,3 +370,18 @@ a {
370370
}
371371
}
372372
}
373+
374+
#msg_box{
375+
position: absolute;
376+
bottom: 0px;
377+
left: calc(50vw - 150px);
378+
width: 300px;
379+
380+
background: rgba(0,0,0,0.8);
381+
border-radius: 6px;
382+
color: #fff;
383+
display: none;
384+
line-height: 26px;
385+
padding: 5px 0;
386+
text-align: center;
387+
}

CheckMate2017-master/checkmate2017/mainapp/static/mainapp/css/main.css

+3-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@font-face {
2+
font-family: 'montserrat';
3+
src: url('Montserrat-Light.ttf'); /* IE9 Compat Modes */
4+
5+
}
Loading
Loading
Loading

0 commit comments

Comments
 (0)