This repository was archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
399 lines (385 loc) · 15 KB
/
index.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
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Mobile Webdesign</title>
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/sgv.css">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<style>
.logo {
position: absolute;
width: 15vmin;
right: 5vmin;
top: 5vmin;
z-index: -1;
opacity: 0.7;
}
.bitly {
position: absolute;
left: 5vmin;
bottom: 5vmin;
opacity: 0.7;
z-index: 1;
color: #572600;
font-family: 'Fjalla One', sans-serif;
font-size: 3vmin;
font-weight: bold;
text-decoration: none;
}
.bitly:hover {
opacity: 1;
color: #748D26;
}
pre {
margin-top: 3em !important;
}
</style>
</head>
<body style="background: url(https://static.scoutsengidsenvlaanderen.be/images/grunge-tile-beige.png);">
<div class="reveal">
<div class="slides">
<section>
<section data-markdown>
# Mobile Webdesign
</section>
<section data-markdown>
* What?
* Why?
* How?
* Examples
</section>
</section>
<section>
<section data-markdown>
## What?
</section>
<section data-markdown>
## What?
Designing websites for tablets and mobile phones
</section>
</section>
<section>
<section data-markdown>
## Why?
</section>
<section data-background-image='screenshots/pageviews.png'
data-background-size='contain' data-background-position='left 75%'>
<div style="margin-bottom: 40vh;">
<h2>Why?</h2>
More visitors
</div>
</section>
<section data-markdown>
## Why?
Much easier than an app
</section>
<section data-markdown>
## Why?
_The Scout Association is dedicated to all its users and members in making scouts.org.uk as accessible as possible._
</section>
</section>
<section>
<section data-markdown>
## How?
</section>
<section data-markdown>
### Order
1. Content structure
1. Resolutions and accessibility
1. Wireframes
1. Stable html structure
1. CSS
1. Javascript
</section>
<section data-markdown>
### Content
* Separate website → Duplication
* Adaptive content → Less is more
* Same content → Simple
</section>
<section data-markdown>
### Resolutions
| | Minimum | Maximum |
| ------------- |---------------| ---------|
| Width | 320px | _5K?_ |
| Aspect ratio | _9/16?_ | _16/9?_ |
####
#### Optimize
* Common resolutions
* Current users?
</section>
<section data-markdown>
## Mobile first
* If possible → new layout/website
* Both for wireframes and CSS
</section>
<section data-markdown>
## Fluid second
* Easy to maintain
* Consistent quality
</section>
<section>
<h3>Media queries third</h3>
<ul>
<li>Current users?</li>
<li>Add where <em>necessary</em></li>
<li>Re-use min/max-widths → testing</li>
</ul>
<pre><code data-trim data-noescape>
<style>
@media (min-width: 600px) {
.sidebar {
float: left;
}
}
</style>
</code></pre>
</section>
<section data-markdown>
### CSS techniques
* Server-side dynamic css → Complicated
* Responsive css → _Simple_
</section>
<section>
<h3>Viewport</h3>
<pre style="font-size: 45%"><code data-trim data-noescape>
<head>
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
</code></pre>
</section>
<section data-markdown>
## Testing
* Desktop
* Smartphone
</section>
<section data-background-image='screenshots/Screenshot_2017-02-08-14-22-45.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Getting started</h3>
<p>Single page with all kinds of content</p>
<a href="https://github.com/bryanbraun/poor-mans-styleguide" target="blank_">poor-mans-styleguide</a>
</div>
</section>
<section data-markdown>
### Font size
</section>
<section data-markdown>
## White space
Clickability
</section>
</section>
<section>
<section data-markdown>
## Examples
(Disclaimer)
</section>
<section data-background-image='screenshots/Screenshot_2017-02-09-22-22-17.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Use pictures</h3>
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-07-13-38-39.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Redudant content</h3>
<em>Sin categoría</em> and <em>administrador</em>
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-09-22-05-24.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Large menu</h3>
Think as user looking for specific information
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-07-13-31-38.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Unoptimized layout</h3>
Also adaptive, but not good enough
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-09-21-58-08.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Long titles</h3>
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-09-22-36-51.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Flexible menus</h3>
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-07-13-37-48.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Word documents</h3>
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-07-13-24-25.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Tiny font</h3>
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-07-13-31-58.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Sidebar</h3>
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-07-13-28-04.png'
data-background-size='contain' data-background-position='center'>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-07-13-28-38.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Tables</h3>
<pre style="font-size: 45%"><code data-trim data-noescape>
table, thead, tbody, th, td, tr {
display: block;
}
</code></pre>
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-07-13-33-09.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Too wide</h3>
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-07-13-29-17.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right; text-align: center;">
<ul>
<li>Logo background</li>
<li>Title to long</li>
<li>Image not cropped</li>
</ul>
<pre><code data-trim data-noescape>
.title {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
</code></pre>
<pre><code data-trim data-noescape>
.photo_wrapper {
overflow: hidden;
}
</code></pre>
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-07-13-42-49.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Forms</h3>
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-07-13-32-44.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Youtube</h3>
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-07-13-35-10.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Long line</h3>
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-07-13-31-12.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Scrolling</h3>
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-09-21-51-55.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Google map</h3>
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-09-22-11-01.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Hidden form</h3>
<em>Don't make me think</em>
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-07-13-33-56.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Link color</h3>
No feedback on mouseover
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-07-13-37-10.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Lightbox</h3>
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-09-22-25-44.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Clickable photos</h3>
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-07-13-46-50.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Horizontal alignment</h3>
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-07-13-25-48.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Vertical alignment</h3>
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-09-22-00-56.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Alignment of external content</h3>
</div>
</section>
<section data-background-image='screenshots/Screenshot_2017-02-09-22-33-09.png'
data-background-size='contain' data-background-position='5% 0%'>
<div style="width: 50%; float: right;">
<h3>Invisible checkbox</h3>
</div>
</section>
</section>
<section data-background-image='screenshots/be.png'
data-background-size='100% auto' data-background-position='top'>
</section>
</div>
</div>
<img class="logo" src="https://static.scoutsengidsenvlaanderen.be/images/logo/logo-alt.png">
<a class="bitly" href="https://bit.ly/2kJIPoL" target="_blank">bit.ly/2kJIPoL</a>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script>
// More info https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
history: true,
width: "100%",
height: "100%",
// More info https://github.com/hakimel/reveal.js#dependencies
dependencies: [
{ src: 'plugin/markdown/marked.js' },
{ src: 'plugin/markdown/markdown.js' },
{ src: 'plugin/notes/notes.js', async: true },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } }
]
});
</script>
</body>
</html>