-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·221 lines (189 loc) · 8.73 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Scripted Pixels Responsive, 24 Col, Grid</title>
<!-- some key info to go here -->
<meta name="description" content="This is my own responsive web template. It's the very basics that are needed to make a site responsive!">
<meta name="keywords" content="RWD, responsive web design, responsive web template, template">
<meta name="author" content="Kam Banwait">
<!-- Styles -->
<!-- Reset Stylesheet -->
<link href="reset.css" rel="stylesheet">
<!-- Forms -->
<link href="forms.css" rel="stylesheet">
<!-- Fonts -->
<link href="fonts.css" rel="stylesheet">
<!-- Main Stylesheet -->
<link href="style.css" rel="stylesheet">
<!-- Responsive Grid -->
<link href="responsivegrid.css" rel="stylesheet">
<!-- Media queries -->
<link href="mediaqueries.css" rel="stylesheet">
<!-- Mobile viewport -->
<meta name="viewport" content="width=device-width,initial-scale=1">
<!-- JS -->
<!-- good old IE support https://github.com/scottjehl/Respond -->
<script src="respond.min.js"></script>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body>
<div id="wrapper">
<header class="row">
<hgroup>
<h1 class="col">Scripted Pixels presents a 24 column responsive grid</small></h1>
<h2 class="col" >With the help of <a href="http://webdesign.tutsplus.com/tutorials/htmlcss-tutorials/a-basic-responsive-grid-plus-handy-css3-media-query-reporter/" target="_blank">WebDesigntuts+</a>, <a href="http://responsive.gs/" target="_blank">Responsive.gs</a> & <a href="http://meyerweb.com/eric/tools/css/reset/" target="_blank">Meyer reset</a></h2>
</hgroup>
</header>
<div class="row span_24" id="whatiswhat">
<p>The red blocks represent the 24 columns in this grid template.</p>
<p>You can use these as a guide to see where your content will go.</p>
<p>They will, of course, look FUGLY on mobile as you'll see when you resize the browser!</p>
</div>
<div id="demo">
<!-- Row of columns -->
<div class="row span_24">
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
<div class="col span_1"></div>
</div><!-- .row -->
<div class="row span_24">
<div class="col span_1"></div>
<div class="col span_23"></div>
</div><!-- .row -->
<div class="row span_24">
<div class="col span_2"></div>
<div class="col span_22"></div>
</div><!-- .row -->
<div class="row span_24">
<div class="col span_4"></div>
<div class="col span_20"></div>
</div><!-- .row -->
<div class="row span_24">
<div class="col span_5"></div>
<div class="col span_19"></div>
</div><!-- .row -->
<div class="row span_24">
<div class="col span_6"></div>
<div class="col span_18"></div>
</div><!-- .row -->
<div class="row span_24">
<div class="col span_7"></div>
<div class="col span_17"></div>
</div><!-- .row -->
<div class="row span_24">
<div class="col span_8"></div>
<div class="col span_16"></div>
</div><!-- .row -->
<div class="row span_24">
<div class="col span_9"></div>
<div class="col span_15"></div>
</div><!-- .row -->
<div class="row span_24">
<div class="col span_10"></div>
<div class="col span_14"></div>
</div><!-- .row -->
<div class="row span_24">
<div class="col span_11"></div>
<div class="col span_13"></div>
</div><!-- .row -->
<div class="row span_24">
<div class="col span_12"></div>
<div class="col span_12"></div>
</div><!-- .row -->
</div> <!-- DEMO -->
<!-- Row of columns -->
<div class="row span_24">
<div class="col span_12">
<h2>Half</h2>
<p>Etiam porta sem malesuada magna mollis euismod. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.</p>
</div>
<div class="col span_12">
<h2>Half</h2>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
</div>
</div><!-- .row -->
<!-- Row of columns -->
<div class="row span_24">
<div class="col span_8">
<h2>Third</h2>
<p>Etiam porta sem malesuada magna mollis euismod. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.</p>
</div>
<div class="col span_8">
<h2>Third</h2>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
</div>
<div class="col span_8">
<h2>Third</h2>
<p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
</div>
</div><!-- .row -->
<!-- Row of columns -->
<div class="row span_24">
<div class="col span_6">
<h2>Quater</h2>
<p>Etiam porta sem malesuada magna mollis euismod. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.</p>
</div>
<div class="col span_6">
<h2>Quater</h2>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
</div>
<div class="col span_6">
<h2>Quater</h2>
<p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
</div>
<div class="col span_6">
<h2>Quater</h2>
<p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
</div>
</div><!-- .row -->
<!-- Row of columns - FORMS -->
<div class="row span_24">
<form>
<fieldset>
<legend>RWD Form</legend>
<input type="text" />
<input type="textarea" />
<button name="Submit" />Hit me</button>
</fieldset>
</form>
</div>
<!-- added some spacing for under the form to ensure the bottom text doesn't cover the form -->
<br />
<br />
<br />
<br />
<!-- End main content area -->
<!-- Site Footer -->
<footer class="clearfix">
<p>developed by <a href="http://www.scriptedpixels.co.uk/">Scripted Pixels Ltd</a></p>
</footer>
</div> <!-- wrapper -->
<!-- let's see who's looking at this shall we -->
<script type="text/javascript">
// add your G analytiks here
</script>
</body>
</html>