Skip to content

Commit 523c2cc

Browse files
committed
Merge pull request #1 from CoderDojoDCU/week1code
Updated with week1 code, drawing the sky
2 parents 95f35d1 + 0181bcd commit 523c2cc

File tree

6 files changed

+38
-2
lines changed

6 files changed

+38
-2
lines changed

www/css/index.css

100644100755
File mode changed.

www/css/style.css

100644100755
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
body {
2+
background: #00BFFF !important;
3+
}
4+
5+
div.clouds {
6+
padding-top: 100px;
7+
}
8+
9+
div.cloud {
10+
width: 200px;
11+
height: 60px;
12+
background: white;
13+
border-radius: 200px;
14+
position: relative;
15+
}
16+
17+
div.cloud:before, div.cloud:after {
18+
content: '';
19+
position: absolute;
20+
background: white;
21+
width: 100px;
22+
height: 80px;
23+
top: -15px;
24+
left: 10px;
25+
border-radius: 100px;
26+
transform: rotate(30deg);
27+
}
28+
29+
div.cloud:after {
30+
width: 120px;
31+
height: 120px;
32+
top: -55px;
33+
left: auto;
34+
right: 15px;
35+
}

www/img/coder.png

100644100755
File mode changed.

www/index.html

100644100755
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
<title>Coolest Projects Mobile Game - Jumpy</title>
1111
</head>
1212
<body>
13-
<div class="app">
14-
13+
<div class="clouds">
14+
<div class="cloud c1"></div>
1515
</div>
16+
1617
<script type="text/javascript" src="cordova.js"></script>
1718
<script type="text/javascript" src="js/index.js"></script>
1819
<script type="text/javascript" src="js/jumpy.js"></script>

www/js/index.js

100644100755
File mode changed.

www/js/jumpy.js

100644100755
File mode changed.

0 commit comments

Comments
 (0)