-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
400 lines (308 loc) · 12.2 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
400
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>מה קורה יא מנגיש אתרים</title>
<meta property="og:locale" content="he_IL" />
<meta property="og:type" content="article" />
<meta property="og:title" content="Need accessibility on the site? Familiarize yourself with an open source project with a vision" />
<meta property="og:description" content="A joint effort to create a free and easy access bar that every website operator can integrate on their own" />
<meta property="og:site_name" content="landing page" />
<meta property="og:image" content="misc/sharing-thumbnail.png" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<link rel="stylesheet" href="dist/open-accessibility.min.css">
<script src="dist/open-accessibility.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Arimo|Assistant:400,700,800&subset=hebrew" rel="stylesheet">
<script>
$(function () {
$('body').openAccessibility({
textSelector: 'div,span,p,a,td,table,tr',
isMenuOpened: false,
iconSize: 'm',
localization: ['he'],
});
})
</script>
<style>
html,
body {
direction: rtl;
padding: 0;
margin: 0;
width: 100vw;
height: 100vh;
background: #ffffff;
overflow: hidden;
font-family: 'Arimo', sans-serif;
font-size: 17px;
}
/* Portrait */
@media screen and (max-device-width: 799px) {
.section-example {
display: none !important;
;
}
.section-logo {
width: 100vw !important;
;
}
}
.fullpage {
display: flex;
/* or inline-flex */
}
.section {
overflow-y: auto;
}
.section-logo {
background: #FFF59D;
display: flex;
width: 50vw;
height: 100vh;
}
.section-example {
display: flex;
width: 50vw;
height: 100vh;
background: #1d2025;
overflow-y: scroll;
overflow-x: hidden;
color: #fff;
}
.logo {
padding: 10px 0;
width: 600px;
min-height: 600px;
}
p {
margin: 5px auto;
}
.gap {
margin-top: 20px;
}
.header {
font-size: 1.5em;
font-weight: 800;
font-family: 'Assistant', sans-serif;
}
.half {
opacity: 0.6;
}
.hover-focus {
transition: 0.3s;
opacity: 0.5;
}
.hover-focus:hover {
opacity: 1;
}
.image-container {
max-width: 300px;
text-align: center;
}
.image-container img {
max-width: 100%;
height: auto;
margin-bottom: 20px;
}
.contribute {
padding: 10px 0;
transition: 1s;
transform: rotateY(40deg) rotateX(40deg);
width: 600px;
min-height: 600px;
}
.section-example:hover .contribute {
transform: rotate(0deg);
}
.section-example:hover {}
.aligner {
/**/
/*display: flex;*/
/*align-items: center;*/
/*justify-content: center;*/
}
.aligner-item {
max-width: 50%;
margin: auto;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
/*.aligner-item-start {*/
/*align-self: flex-start;*/
/*}*/
/*.aligner-item-end {*/
/*align-self: flex-end;*/
/*}*/
.highlight {
background: #000;
padding-right: 5px;
padding-left: 5px;
font-weight: 700;
color: #fff;
}
</style>
<style>
/* Mixins */
.btn {
opacity: 0.5;
font-family: 'Assistant', sans-serif;
display: inline-block;
margin: 0.5em 0;
padding: 0.5em 1em;
background: transparent;
border-radius: 3px;
font-weight: 700;
text-align: center;
transition: 0.3s;
}
.btn:hover {
opacity: 1;
}
.btn-green span {
background: -webkit-linear-gradient(left, #add356, #00dfa6);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.btn-orange span {
background: -webkit-linear-gradient(left, #ffcb52, #ff451f);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.btn-blue span {
background: -webkit-linear-gradient(left, #3dade9, #bf2fcb);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.btn-xl {
padding: .75em;
font-size: 3em;
font-weight: 100;
line-height: 1;
letter-spacing: 1px;
}
/* Box-Shadow Technique */
.btn.btn-green {
color: #fff;
box-shadow: -1px 0 0 1px rgba(173, 211, 86, 0.75), -1px -1px 0 1px rgba(130, 214, 106, 0.25), -1px 1px 0 1px rgba(130, 214, 106, 0.25), 0 -1px 0 1px rgba(87, 217, 126, 0.5), 0 1px 0 1px rgba(87, 217, 126, 0.5), 1px -1px 0 1px rgba(44, 220, 146, 0.25), 1px 1px 0 1px rgba(44, 220, 146, 0.25), 1px 0 0 1px rgba(0, 223, 166, 0.75);
}
.btn.btn-orange {
color: #fff;
box-shadow: -1px 0 0 1px rgba(255, 203, 82, 0.75), -1px -1px 0 1px rgba(255, 170, 70, 0.25), -1px 1px 0 1px rgba(255, 170, 70, 0.25), 0 -1px 0 1px rgba(255, 136, 57, 0.5), 0 1px 0 1px rgba(255, 136, 57, 0.5), 1px -1px 0 1px rgba(255, 103, 44, 0.25), 1px 1px 0 1px rgba(255, 103, 44, 0.25), 1px 0 0 1px rgba(255, 69, 31, 0.75);
}
.btn.btn-blue {
color: #fff;
box-shadow: -1px 0 0 1px rgba(61, 173, 233, 0.75), -1px -1px 0 1px rgba(94, 142, 226, 0.25), -1px 1px 0 1px rgba(94, 142, 226, 0.25), 0 -1px 0 1px rgba(126, 110, 218, 0.5), 0 1px 0 1px rgba(126, 110, 218, 0.5), 1px -1px 0 1px rgba(159, 79, 211, 0.25), 1px 1px 0 1px rgba(159, 79, 211, 0.25), 1px 0 0 1px rgba(191, 47, 203, 0.75);
}
.buttons {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 1;
-ms-flex: 1 0 1;
flex: 1 0 1;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
padding: 1em;
}
.btn {
-ms-flex-item-align: center;
-ms-grid-row-align: center;
align-self: center;
}
.gist-meta {
display: none;
}
a {
color: inherit;
text-decoration: none;
}
</style>
</head>
<body>
<a href="https://github.com/Flying-Minds/Web-Accessasibility">
<img style="position: absolute; top: 0; left: 0; border: 0;" src="https://camo.githubusercontent.com/8b6b8ccc6da3aa5722903da7b58eb5ab1081adee/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f6c6566745f6f72616e67655f6666373630302e706e67"
alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_left_orange_ff7600.png">
</a>
<div class="fullpage">
<div class="section section-logo aligner">
<div class="aligner-item logo">
<div class="image-container">
<img src="misc/logo.png">
</div>
<p class="header open-accessibility-text">This is an open source project with a vision</p>
<p class="half open-accessibility-text">
A common effort to create a free and easy access bar that every website operator can integrate on their own
</p>
<p class="header gap open-accessibility-text">but why?</p>
<p class="half open-accessibility-text">
There is a law in the State of Israel that requires websites to provide tools for people with disabilities. New sites from day one provide accessibility solutions
And there is software of a claim up to the amount of 75,000 NIS if they do nothing
</p>
<p class="header gap open-accessibility-text">Is there a situation for help?</p>
<p class="half open-accessibility-text">
Anyone can contribute to the project code and make it better. Did you find a bug?
<a class="highlight" href="https://github.com/Flying-Minds/Web-Accessasibility/issues" target="_blank">Report it here</a>
; Do you have an idea for a better implementation? flowing!!! I suggest you do
<a class="highlight" href="https://github.com/Flying-Minds/Web-Accessasibility/fork" target="_blank">fork</a>
fork it
<a class="highlight" href="https://github.com/Flying-Minds/Web-Accessasibility" target="_blank">Pull Request</a>
</p>
</div>
</div>
<div class="section section-example aligner">
<div class="aligner-item contribute">
<p class="header open-accessibility-text">
How to begin?
</p>
<p class="open-accessibility-text">
Add the following code snippet that loads the plugin to the site
</p>
<script src="https://gist.github.com/jossef/5069f268f375e8dc33cb6776b423e804.js?file=include.html"></script>
<p class="open-accessibility-text">
And the next script that wishes the plugin
</p>
<script src="https://gist.github.com/jossef/5069f268f375e8dc33cb6776b423e804.js?file=initialize.html"></script>
<div class="buttons">
<a class="btn btn-blue" href="http://codepen.io/Jossef/pen/GNPzzq/" target="_blank">
<span>Show me an example</span>
</a>
</div>
<div class="hover-focus">
<p class="gap header open-accessibility-text">
Personal customization
</p>
<p class="gap open-accessibility-text">
For example, this is how you can change properties like the selector of elements that are affected by text resizing:
</p>
<script src="https://gist.github.com/jossef/5069f268f375e8dc33cb6776b423e804.js?file=initialize-custom.js"></script>
<div class="buttons">
<span class="btn btn-orange">
<a class="" target="_blank" href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">
<span>Do not believe?</span>
</a>
<a style="font-size: 10px" target="_blank" href="http://codepen.io/Jossef/pen/qqLgve">
<span>And now?</span>
</a>
</span>
</div>
</div>
<div class="hover-focus">
<p class="gap header open-accessibility-text">
license
</p>
<p class="open-accessibility-text">
The code is released under the Apache V2 license, do whatever you want with it
</p>
</div>
</div>
</div>
</div>
</body>
</html>