forked from sgs006/Udacity-Yearbook-Project
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcssart.html
377 lines (351 loc) · 19.8 KB
/
cssart.html
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
<!DOCTYPE html>
<html>
<head>
<!-- ====================== MASTER MASTER SECTION ============= -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- ========= WEBSITES META INFORMATION INCLUDING STATUS BAR COLOR FOR MOBILE BROWSERS ========== -->
<meta name="description" content="Grow with Google Scholarship 2018 - Udacity Community Yearbook. Yearbook project for 2018 GwG Cohort.">
<meta name="msapplication-TileColor" content="#00B3E4">
<meta name="theme-color" content="#00B3E4">
<meta name="apple-mobile-web-app-status-bar-style" content="#00B3E4" />
<!-- ===================== END WEBSITE META INFORMATION ========== -->
<!-- ============= SOCIAL MEDIA META PROPERTIES ================== -->
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Udacity Community Yearbook. Grow with Google Scholarship 2018." />
<meta property="og:url" content="" />
<meta property="og:site_name" content="Udacity Community Yearbook" />
<meta property="og:image" content="/public/images/src.jpg" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Udacity Community Yearbook. Grow with Google Scholarship 2018." />
<!-- ===================== END SOCIAL MEDIA META ========== -->
<!-- ====================== END MASTER SECTION ============= -->
<title>CSS Art | Udacity Community Yearbook</title>
<!-- ====================== MASTER MASTER SECTION ============= -->
<!-- ======== CSS STYLESHEETS INCLUDING BOOTSTRAP 4 (https://getbootstrap.com) AND OPEN SANS FONT FROM GOOGLE ========= -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN"
crossorigin="anonymous">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,700">
<link rel="stylesheet" href="public/stylesheets/reboot.css">
<link rel="stylesheet" href="public/stylesheets/styles-master.css">
<!-- ===================== END CSS STYLESHEETS ========== -->
<!-- ====================== END MASTER SECTION ============= -->
<!-- ======== PAGE SPECIFIC STYLES ========= -->
<link rel="stylesheet" href="public/stylesheets/cssart.css">
<link rel="stylesheet" href="public/stylesheets/lightslider.css">
<!-- ===================== END PAGE SPECIFIC STYLES ========= -->
</head>
<body>
<!-- ====================== MASTER MASTER SECTION ============= -->
<!-- ======== SKIP NAVIGATION NEEDED FOR SCREEN READERS ============ -->
<!-- SKIP NAV -->
<div id="skiplink" class="sr-only sr-only-focusable">
<!-- CHANGE HREF TO ID OF MAIN CONTENT SECTION -->
<a href="#MainContent">skip to page content</a>
</div>
<!-- =========== END SKIP NAVIGATION NEEDED FOR SCREEN READERS ============ -->
<!-- ======== WEBSITE NAVIGATION SECTION ============ -->
<nav id="MainNav" class="master-topnav">
<a href="index.html" title="Home">Home</a>
<a href="yearbook.html" title="YearBook">YearBook</a>
<a href="resources.html" title="Resources" title="">Resources</a>
<a href="cssart.html" title="CSS Art Projects">CSS Art Projects</a>
<a href="about.html" title="About">About</a>
<a href="javascript:void(0);" class="icon">☰</a>
</nav>
<!-- =========== END WEBSITE NAVIGATION PANE ============ -->
<!-- ====================== END MASTER SECTION ============= -->
<header>
<h1 class="master-pagetitle">CSS Art</h1>
</header>
<!-- ======== EXAMPLE SECTION ============ -->
<!-- NOTES:
If using Bootstrap styling
Each section should be placed with a pair of DIVs with classes of container or container-fluid and row
-->
<div class="container-fluid">
<div class="row" role="row">
<div class="col">
<div class="challenge-title section">Challenge #1 - Taco Challenge.</div>
<div class="challenge-disc">Create CSS art that is taco-related. It can be one taco or many tacos! Maybe it’s hot sauce for a taco, taco
ingredients on a table, maybe it’s a hungry taco, a sad taco, maybe its shell is broken and it’s a ghost!
Maybe it’s a taco sitting on a couch watching tv. Let this topic be creative - you can take it as literal
or abstract as you want - build a lonely taco or create a scene - but it must be related to the topic
in some way! It can be as simple or complex as you want it to be! These are just ideas! Taco ice cream?
A choco taco? Taco zombie? You choose, Pikachu!
</div>
<div class="demo">
<ul id="lightSlider">
<li data-thumb="public/images/cssart/tacosurprise.png">
<a href="https://codepen.io/Maeb/pen/ZvqYjr">
<img src="public/images/cssart/tacosurprise.png" />
</a>
<div class="caption">by @maebee2319</div>
</li>
<li data-thumb="public/images/cssart/chocotaco.png">
<a href="https://codepen.io/JavaScriptErika/full/OzYBor/">
<img src="public/images/cssart/chocotaco.png" />
</a>
</li>
<li data-thumb="public/images/cssart/thefriendlytaco.png">
<a href="https://codepen.io/MonicaJeanB/pen/goyyPg">
<img src="public/images/cssart/thefriendlytaco.png" />
</a>
</li>
<li data-thumb="public/images/cssart/tacoboy.png">
<a href="https://codepen.io/quiwah/pen/LeoVwr">
<img src="public/images/cssart/tacoboy.png" />
</a>
</li>
<li data-thumb="public/images/cssart/manvsfood.png">
<a href="https://codepen.io/bloom305/full/aEevdJ/">
<img src="public/images/cssart/manvsfood.png" />
</a>
</li>
<li data-thumb="public/images/cssart/purecsstaco.png">
<a href="https://codepen.io/markopolo91/full/QaReWg/">
<img src="public/images/cssart/purecsstaco.png" />
</a>
</li>
<li data-thumb="public/images/cssart/letstacoboutit.png">
<a href="https://codepen.io/AmberRoberts/pen/YYmgGe">
<img src="public/images/cssart/letstacoboutit.png" />
</a>
</li>
<li data-thumb="public/images/cssart/miniontaco.png">
<a href="https://codepen.io/kdterrell125/pen/ZvgZpX">
<img src="public/images/cssart/miniontaco.png" />
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row" role="row">
<div class="col">
<div class="challenge-title section">Challenge 2 - Video Game Inspired</div>
<div class="challenge-disc">Create an image or scene via CSS that is somehow related to your favorite video game character(s) and/or
element(s). It can be any style you’d like, or maybe you want to replicate a character and/or element
exactly! It doesn’t have to be taken in the literal sense either - incorporate this topic however abstractly
or creatively you’d like - it just must incorporate the essence! Btw, It can be any type of video game
you’d like to draw inspiration from - arcade or not!</div>
<div class="demo">
<ul id="lightSlider2">
<li data-thumb="public/images/cssart/2-navi.png">
<a href=https://codepen.io/Maeb/full/eVzKgq/>
<img src="public/images/cssart/2-navi.png" />
</a>
<div class="caption">Navi by maebee2319</div>
<li data-thumb="public/images/cssart/2-pokeball.png">
<a href=https://codepen.io/markopolo91/full/MQJoVW/>
<img src="public/images/cssart/2-pokeball.png" />
</a>
<div class="caption">Pure CSS Pokeball by markopolo91</div>
</li>
<li data-thumb="public/images/cssart/2-yoshi.png">
<a href=https://codepen.io/MonicaJeanB/full/bLBYOX/>
<img src="public/images/cssart/2-yoshi.png" />
</a>
<div class="caption">Yoshi by monica.j.beauchampuv</div>
</li>
<li data-thumb="public/images/cssart/2-kirby.png">
<a href=https://codepen.io/LeafDragon/full/WMeEVO/>
<img src="public/images/cssart/2-kirby.png" />
</a>
<div class="caption">CSS Kirby Challenge by fdip123496cq0</div>
</li>
<li data-thumb="public/images/cssart/2-ori.png">
<a href=https://codepen.io/JavaScriptErika/full/WMeEwr/>
<img src="public/images/cssart/2-ori.png" />
</a>
<div class="caption">Ori and the Blind Forest by erika_ritter</div>
</li>
<li data-thumb="public/images/cssart/2-redxiii.png">
<a href=https://codepen.io/ksedar/full/JpWjXd/>
<img src="public/images/cssart/2-redxiii.png" />
</a>
<div class="caption">Red XIII by yuka.mullen</div>
</li>
<li data-thumb="public/images/cssart/2-healthbars.png">
<a href="https://codepen.io/ksedar/full/JpWjXd/">
<img src="public/images/cssart/2-healthbars.png">
</a>
<div class="caption">Health/Mana Bars by ksedar2408</div>
</li>
<li data-thumb="public/images/cssart/2-megaman.png">
<a href=https://codepen.io/OMGLexxie/full/ddvYRO/>
<img src="public/images/cssart/2-megaman.png" />
</a>
<div class="caption">Mega Man - Challenge #21 by slynn</div>
</li>
<li data-thumb="public/images/cssart/2-duckhunt.png">
<a href=https://codepen.io/FlyingDad/full/eVOPPo/>
<img src="public/images/cssart/2-duckhunt.png" />
</a>
<div class="caption">Duck Hunt by QuattroDog</div>
</li>
<li data-thumb="public/images/cssart/2-dreamshield.png">
<a href=https://codepen.io/alexh921/full/rJVvwx/>
<img src="public/images/cssart/2-dreamshield.png" />
</a>
<div class="caption">Goofy’s Dream Shield by eagle92190</div>
</li>
<li data-thumb="public/images/cssart/2-mspacman.png">
<a href=https://codepen.io/andranique/pen/JpWrZV>
<img src="public/images/cssart/2-mspacman.png" />
</a>
<div class="caption">Ms. Pacman by andranique</div>
</li>
<li data-thumb="public/images/cssart/2-gameboy.png">
<a href=https://codepen.io/amyyf/full/rJBypJ/>
<img src="public/images/cssart/2-gameboy.png" />
</a>
<div class="caption">CSS Only: GameBoy1 by amyf</div>
</li>
<li data-thumb="public/images/cssart/2-sonic.png">
<a href=https://codepen.io/remenapp/full/MQKOmr/>
<img src="public/images/cssart/2-sonic.png" />
</a>
<div class="caption">Sonic! by remenapp</div>
</li>
<li data-thumb="public/images/cssart/2-gameboy2.png">
<a href=https://codepen.io/tinyvial/full/zRzWpe/>
<img src="public/images/cssart/2-gameboy2.png" />
</a>
<div class="caption">Original Game Boy (Lost in Pokemon) by judyg</div>
</li>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- =========== END EXAMPLE SECTION ============ -->
<!-- ====================== MASTER MASTER SECTION ============= -->
<!-- ====================== FOOTER ============= -->
<footer>
<div class="master-footer text-center">
<nav>
<a href="index.html" title="Home">Home |</a>
<a href="yearbook.html" title="Yearbook">Yearbook | </a>
<a href="resources.html" title="Resources">Resources |</a>
<a href="cssart.html" title="CSS Art Projects">CSS Art Projects |</a>
<a href="about.html" title="About">About</a>
</nav>
© 2018 Udacity: Grow with Google Front End Scholars </a>
</div>
</footer>
<!-- ====================== END FOOTER ============= -->
<!-- ====================== END MASTER SECTION ============= -->
<!-- ====================== MASTER MASTER SECTION ============= -->
<!-- ======== jQuery first, then Popper.js, then Bootstrap JS | BOOTSTRAP AND PROJECT SCRIPTS AT THE FOOTER ========= -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
<script src="public/scripts/classProject.js"></script>
<!-- ================= INCLUDING OF SCRIPT FILES END HERE ===================== -->
<!-- ====================== END MASTER SECTION ============= -->
<!-- ======== PAGE SPECIFIC JAVASCRIPT ========= -->
<script src="public/scripts/cssart.js"></script>
<script src="public/lib/lightslider.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$("#lightSlider").lightSlider({
item: 3,
autoWidth: true,
slideMove: 1, // slidemove will be 1 if loop is true
slideMargin: 15,
// addClass: '',
// mode: "slide",
// useCSS: true,
// cssEasing: 'ease', //'cubic-bezier(0.25, 0, 0.25, 1)',//
// easing: 'linear', //'for jquery animation',////
//
// speed: 400, //ms'
// auto: false,
// loop: false,
// slideEndAnimation: true,
// pause: 2000,
//
// keyPress: false,
// controls: true,
// prevHtml: '',
// nextHtml: '',
//
// rtl:false,
// adaptiveHeight:false,
//
// vertical:false,
// verticalHeight:600,
// vThumbWidth:100,
//
// thumbItem:10,
// pager: true,
// gallery: true,
// galleryMargin: 5,
// thumbMargin: 5,
// currentPagerPosition: 'middle',
//
// enableTouch:true,
// enableDrag:true,
// freeMove:true,
// swipeThreshold: 40,
//
// responsive : [],
onBeforeStart: function (el) {},
onSliderLoad: function (el) {
var maxHeight = 0,
container = $(el),
children = container.children();
children.each(function () {
var childHeight = $(this).height();
if (childHeight > maxHeight) {
maxHeight = childHeight;
}
});
container.height(maxHeight);
},
onBeforeSlide: function (el) {},
onAfterSlide: function (el) {},
onBeforeNextSlide: function (el) {},
onBeforePrevSlide: function (el) {}
});
});
$(document).ready(function () {
$("#lightSlider2").lightSlider({
item: 3,
slideMove: 1, // slidemove will be 1 if loop is true
slideMargin: 15,
onBeforeStart: function (el) {},
onSliderLoad: function (el) {
var maxHeight = 0,
container = $(el),
children = container.children();
children.each(function () {
var childHeight = $(this).height();
if (childHeight > maxHeight) {
maxHeight = childHeight;
}
});
container.height(maxHeight);
},
onBeforeSlide: function (el) {},
onAfterSlide: function (el) {},
onBeforeNextSlide: function (el) {},
onBeforePrevSlide: function (el) {}
});
});
</script>
<!-- ===================== END PAGE SPECIFIC JAVASCRIPT ========= -->
</body>
</html>