Skip to content

Commit 25b9ebb

Browse files
authored
Add files via upload
1 parent fdee45e commit 25b9ebb

22 files changed

+763
-0
lines changed

css/style.css

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
body {
2+
text-align: center;
3+
margin: 0;
4+
padding: 0;
5+
font-family: monospace;
6+
background-color: #66ff33;
7+
}
8+
9+
h3 {
10+
font-size: 1.5em;
11+
color: #fffa65;
12+
}
13+
14+
p {
15+
font-size: 1.1em;
16+
text-align: left;
17+
}
18+
19+
header {
20+
margin-bottom: -50px;
21+
}
22+
23+
.side-pane {
24+
display: inline-block;
25+
top: 10px;
26+
left: 0;
27+
position: fixed;
28+
height: 100%;
29+
overflow: hidden;
30+
word-wrap: break-word;
31+
}
32+
33+
h1 {
34+
color: #ff6b6b;
35+
}
36+
37+
38+
.point-box {
39+
margin-top: 80px;
40+
margin-left: 25px;
41+
background-color: #009432;
42+
padding: 10px;
43+
}
44+
45+
.life-box {
46+
margin-top: 80px;
47+
margin-left: 25px;
48+
background-color: #009432;
49+
padding: 10px;
50+
}
51+
52+
53+
54+
/*=========== Open a modal button ===========*/
55+
#open-modal {
56+
top: 15px;
57+
left: 0;
58+
position: fixed;
59+
width: 100px;
60+
height: 50px;
61+
background-color: #BB33FF;
62+
border-radius: 0 50px 50px 0;
63+
color: #fff;
64+
text-decoration: none;
65+
line-height: 48px;
66+
font-size: 1.6em;
67+
}
68+
69+
#open-modal:hover {
70+
background-color: #2980b9;
71+
}
72+
73+
/*=========== MODAL ===========*/
74+
#modal,
75+
#gameover,
76+
#accomplished {
77+
position: fixed;
78+
top: 0;
79+
right: 0;
80+
bottom: 0;
81+
left: 0;
82+
background-color: rgba(0, 0, 0, 0.8);
83+
z-index: 100;
84+
opacity: 0;
85+
transition: opacity 300ms ease-in-out;
86+
pointer-events: none;
87+
}
88+
89+
#modal:target,
90+
#gameover:target,
91+
#accomplished:target {
92+
opacity:1;
93+
pointer-events: auto;
94+
}
95+
96+
.inner-modal {
97+
width: 480px;
98+
position: relative;
99+
margin: 10% auto;
100+
padding: 5px 20px 13px 20px;
101+
border-radius: 10px;
102+
background-color: #fff;
103+
}
104+
105+
.close {
106+
top: -10px;
107+
right: -12px;
108+
position: absolute;
109+
line-height: 25px;
110+
background-color: #2ecc71;
111+
color: #fff;
112+
text-align: center;
113+
width: 24px;
114+
text-decoration: none;
115+
border-radius: 50%;
116+
box-shadow: 1px 1px 3px #000;
117+
}
118+
.close:hover {
119+
background-color: #16a085;
120+
}

images/Gem Blue.png

19.7 KB
Loading

images/Gem Green.png

23.5 KB
Loading

images/Gem Orange.png

16.9 KB
Loading

images/Heart.png

6.27 KB
Loading

images/Key.png

7.28 KB
Loading

images/Rock.png

9.21 KB
Loading

images/Selector.png

21.9 KB
Loading

images/Star.png

13.4 KB
Loading

images/char-boy.png

7.61 KB
Loading

0 commit comments

Comments
 (0)