-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
187 lines (159 loc) · 10.4 KB
/
index.html
File metadata and controls
187 lines (159 loc) · 10.4 KB
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
<!DOCTYPE html>
<html lang="en-gb">
<head>
<meta charset="utf-8">
<title>Fall-Back</title>
<meta name="description" content="Accessible, Progressive Enhancement patterns.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
/*Tiny fallback styles:*/
body{padding:1em;margin:0 auto;max-width: 50em;}
img{max-width: 100%;}
/* For YouTube via http://embedresponsively.com. May or may not be needed. */
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
[hidden]{display:none;}
</style>
<!-- Built with Jekyll and Fall-Back patterns -->
<link rel="stylesheet" href="/css/style.min.css" media="
only screen and (min-resolution: 0.1dpcm),
only screen and (-webkit-min-device-pixel-ratio:0) and (min-color-index:0)
">
<script src="/js/script.min.js"></script>
</head>
<body role="document">
<svg xmlns="http://www.w3.org/2000/svg" display="none">
<symbol id="icon-triangle-down" viewBox="0 0 24 24">
<polyline points="6 9 12 15 18 9"></polyline>
</symbol>
<symbol id="icon-triangle-up" viewBox="0 0 24 24">
<polyline points="18 15 12 9 6 15"></polyline>
</symbol>
<symbol id="icon-cross" viewBox="0 0 24 24">
<line x1="18" y1="6" x2="6" y2="18"></line>
<line x1="6" y1="6" x2="18" y2="18"></line>
</symbol>
<symbol id="icon-menu" viewBox="0 0 24 24">
<line x1="3" y1="12" x2="21" y2="12"></line>
<line x1="3" y1="6" x2="21" y2="6"></line>
<line x1="3" y1="18" x2="21" y2="18"></line>
</symbol>
</svg>
<div class="no-style-notice no-css-only">
<hr />
<p>
<b>Notice:</b> You are viewing an unstyled version of this page. Are you using a very old browser? If so, <a href="http://browsehappy.com/">please consider upgrading</a>.
</p>
<hr />
</div>
<div class="sticky-footer-wrap">
<header class="header">
<div class="nav-bar">
<nav class="nav-bar__title">
<div class="svg svg--fixed-height svg-logo">
<a class="svg__link" href="/">
<object height="60" tabindex="-1" aria-hidden="true" class="svg__image" data="/img/fallback-logo-wide.svg" type="image/svg+xml">
<svg display="none">
<image alt="Fall-Back home" class="svg__fallback-image" height="60" src="/img/fallback-logo-wide.png"/>
</svg>
<span class="svg__fallback-text-alpha" data-content="Fall Back home"></span>
</object>
<div><i class="svg__fallback-text-beta">Fall Back home</i></div>
</a>
</div>
<button class="over-panel-control" hidden aria-controls="sample-panel" aria-label="Main menu" aria-expanded="false"><svg display="none" class="icon icon--is-closed feather"><use xlink:href="#icon-menu"></use></svg><svg display="none" class="icon icon--is-open feather"><use xlink:href="#icon-cross"></use></svg></button>
</nav>
<div class="over-panel over-panel--fade" id="sample-panel">
<button class="over-panel__overlay" hidden aria-hidden="true" tabindex="-1"></button>
<div class="over-panel__contents">
<nav class="nav-bar__main">
<ul class="nav-bar__items">
<li class="nav-bar__item"><a href="/philistory" class="nav-bar__link">Philistory</a></li>
<li class="nav-bar__item"><a href="https://github.com/Fall-Back/Start-CSS" class="nav-bar__link">Start CSS</a></li>
<li class="nav-bar__item"><a href="https://github.com/Fall-Back/CSS-Mustard-Cut" class="nav-bar__link">CSS Mustard Cut</a></li>
<li class="nav-bar__item">
<span class="subnav__heading">Patterns:</span>
<button id="patterns-sub-menu-toggle" class="nav-bar__link subnav__control subnav__open js-toggle-button" hidden aria-label="Patterns sub-menu" data-content="Patterns"><svg display="none" class="icon icon--is-closed feather"><use xlink:href="#icon-triangle-down"></use></svg><svg display="none" class="icon icon--is-open feather"><use xlink:href="#icon-triangle-up"></use></svg></button>
<div class="subnav" id="patterns-sub-menu-toggle--target">
<ul class="subnav__items">
<li class="subnav__item"><a href="https://github.com/Fall-Back/Nav-Bar" class="subnav__link">Nav Bar</a></li>
<li class="subnav__item"><a href="https://github.com/Fall-Back/Search-Form" class="subnav__link">Search Form</a></li>
<li class="subnav__item"><a href="https://github.com/Fall-Back/Over-Panel" class="subnav__link">Over Panel</a></li>
</ul>
</div>
</li>
<!--
<li class="nav-bar__item">
<a href="about-us" class="nav-bar__link">About us</a>
<button id="about-us-sub-menu-toggle" class="nav-bar__link subnav__control subnav__open js-toggle-button" hidden aria-label="About Us sub-menu"><svg display="none" class="icon icon--is-closed feather"><use xlink:href="#icon-triangle-down"></use></svg><svg display="none" class="icon icon--is-open feather"><use xlink:href="#icon-triangle-up"></use></svg></button>
<div class="subnav" id="about-us-sub-menu-toggle--target">
<ul class="subnav__items">
<li class="subnav__item"><a href="what-we-do" class="subnav__link">What we do</a></li>
<li class="subnav__item"><a href="contact-us" class="subnav__link">Contact us</a></li>
<li class="subnav__item"><a href="meet-the-team" class="subnav__link">Meet the team</a></li>
<li class="subnav__item"><a href="testimonials" class="subnav__link">Testimonials</a></li>
</ul>
</div>
</li>
-->
</ul>
</nav>
<!--<div class="nav-bar__additional nav-bar__additional--push-end">
<form action="#search" id="searchform" class="search-form search-form---restrict-width" method="GET">
<input type="search" class="search-form__field" id="search" placeholder="Search" name="s" value="" aria-label="Search" />
<button class="search-form__submit" type="submit">
<span>
<svg width="20" height="20" viewBox="0 0 20 20">
<path fill="#333333" d="M12.917 11.667h-0.662l-0.229-0.229c0.817-0.946 1.308-2.175 1.308-3.521 0-2.992-2.425-5.417-5.417-5.417s-5.417 2.425-5.417 5.417 2.425 5.417 5.417 5.417c1.346 0 2.575-0.492 3.521-1.304l0.229 0.229v0.658l4.167 4.158 1.242-1.242-4.158-4.167zM7.917 11.667c-2.071 0-3.75-1.679-3.75-3.75s1.679-3.75 3.75-3.75 3.75 1.679 3.75 3.75-1.679 3.75-3.75 3.75z"></path>
<text y="-10">Search</text>
</svg>
</span>
</button>
</form>
</div>-->
</div>
</div>
</div>
</header>
<div class="sticky-footer-expand">
<main role="main" class="main-container">
<header class="full-width hero proportional-container proportional-container--16-9">
<img class="proportional-container__image-cover"
sizes="(max-width: 1400px) 100vw, 1400px"
srcset="
/img/hero/falling-leaf-marko-blazevic-168344_rftbd3_c_scale,w_200.jpg 200w,
/img/hero/falling-leaf-marko-blazevic-168344_rftbd3_c_scale,w_596.jpg 596w,
/img/hero/falling-leaf-marko-blazevic-168344_rftbd3_c_scale,w_871.jpg 871w,
/img/hero/falling-leaf-marko-blazevic-168344_rftbd3_c_scale,w_1105.jpg 1105w,
/img/hero/falling-leaf-marko-blazevic-168344_rftbd3_c_scale,w_1316.jpg 1316w,
/img/hero/falling-leaf-marko-blazevic-168344_rftbd3_c_scale,w_1400.jpg 1400w"
src="/img/hero/falling-leaf-marko-blazevic-168344_rftbd3_c_scale,w_1400.jpg"
alt=""
>
<div class="hero__text">
<h1>Fall-Back</h1>
<p>
<span>Accessible,</span>
<span>Progressive Enhancement</span>
<span>Web Patterns</span>
</p>
</div>
</header>
<p>Fall-Back is a collection of <a href="https://www.gov.uk/service-manual/making-software/progressive-enhancement.html">progressive enhancement</a> patterns using HTML, CSS and minimal, unobtrusive dependency-free Javascript.
Each repository deals with a common HTML pattern and adds CSS and Javascript needed to make it work for the modern web, whilst ensuring that the partern is accessible and still works even if the CSS or Javscript fails to load.</p>
<p>This site makes use of most of the patterns currently available:</p>
<ul>
<li>Nav Bar</li>
<li>SVG</li>
<li>Over Panel</li>
<li>Sticky Footer</li>
</ul>
</main>
</div>
<footer class="sticky-footer" role="contentinfo">
<p class="page-footer">
<a href="https://github.com/Fall-Back/Fall-Back.github.io">GitHub</a> | <a href="/credits">Credits</a> | © Andy Kirk 2020
</p>
</footer>
</div>
</body>
</html>