-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevice-based-grid.html
328 lines (322 loc) · 17.7 KB
/
device-based-grid.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
<!DOCTYPE html>
<html lang="en">
<!--[if IEMobile 7]><html class="iem7 oldie" lang="en"><![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="ie7 oldie" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="ie8 oldie" lang="en"><![endif]-->
<!--[if (IE 9)&!(IEMobile)]><html class="ie9" lang="en"><![endif]-->
<!--[[if (gt IE 9)|(gt IEMobile 7)]><![endif]-->
<!--
* UBC CLF (Common Look and Feel) v7.0.4
* Copyright 2012-2013 The University of British Columbia
* UBC Communications and Marketing
* http://brand.ubc.ca/clf
*/
-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>The University of British Columbia</title>
<meta name="viewport" content="width=device-width">
<meta name="description" content="">
<meta name="author" content="">
<!-- Stylesheets -->
<link href="//cdn.ubc.ca/clf/7.0.4/css-dev/ubc-clf-full.min.css" rel="stylesheet">
<link href="css/unit.css" rel="stylesheet">
<!--[if lte IE 7]>
<link href="//cdn.ubc.ca/clf/7.0.4/css/font-awesome-ie7.css" rel="stylesheet">
<![endif]-->
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Fav and touch icons -->
<link rel="shortcut icon" href="//cdn.ubc.ca/clf/7.0.4/img/favicon.ico">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="//cdn.ubc.ca/clf/7.0.4/img/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="//cdn.ubc.ca/clf/7.0.4/img/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="//cdn.ubc.ca/clf/7.0.4/img/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="//cdn.ubc.ca/clf/7.0.4/img/apple-touch-icon-57-precomposed.png">
<style type="text/css">
@media (max-width: 979px) and (min-width: 768px) {
.row-fluid .span6-tablet {
width: 48.61878453038674%;
}
.clearfix:before,
.clearfix:after {
content: " ";
display: table;
}
.clearfix:after {
clear: both;
}
}
</style>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXXX-X']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div class="container">
<!-- UBC Global Utility Menu -->
<div class="collapse expand" id="ubc7-global-menu">
<div id="ubc7-search" class="expand">
<div id="ubc7-search-box">
<form class="form-search" method="get" action="//www.ubc.ca/search/refine/" role="search">
<input type="text" name="q" placeholder="Search this website" class="input-xlarge search-query">
<input type="hidden" name="label" value="Search UBC" />
<input type="hidden" name="site" value="*.ubc.ca" />
<button type="submit" class="btn">Search</button>
</form>
</div>
</div>
<div id="ubc7-global-header" class="expand">
<!-- Global Utility Header from CDN -->
</div>
</div>
<!-- End of UBC Global Utility Menu -->
<!-- UBC Header -->
<header id="ubc7-header" class="row-fluid expand" role="banner">
<div class="span1">
<div id="ubc7-logo">
<a href="//www.ubc.ca" title="The University of British Columbia (UBC)">The University of British Columbia</a>
</div>
</div>
<div class="span2">
<div id="ubc7-apom">
<a href="//cdn.ubc.ca/clf/ref/aplaceofmind" title="UBC a place of mind">UBC - A Place of Mind</a>
</div>
</div>
<div class="span9" id="ubc7-wordmark-block">
<div id="ubc7-wordmark">
<a href="//www.ubc.ca" title="The University of British Columbia (UBC)">The University of British Columbia</a>
<span class="ubc7-campus" id="ubc7-vancouver-campus">Vancouver campus</span>
</div>
<div id="ubc7-global-utility">
<button type="button" data-toggle="collapse" data-target="#ubc7-global-menu"><span>UBC Search</span></button>
<noscript><a id="ubc7-global-utility-no-script" href="//www.ubc.ca/" title="UBC Search">UBC Search</a></noscript>
</div>
</div>
</header>
<!-- End of UBC Header -->
<!-- UBC Unit Identifier -->
<div id="ubc7-unit" class="row-fluid expand">
<div class="span12">
<!-- Mobile Menu Icon -->
<div class="navbar">
<a class="btn btn-navbar" data-toggle="collapse" data-target="#ubc7-unit-navigation">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
</div>
<!-- Read more about Unit Name Treatment on http://brand.ubc.ca/clf -->
<!-- No Faculty Treatment --><!--<div id="ubc7-unit-name" class="ubc7-single-element"> -->
<div id="ubc7-unit-name">
<a href="/" title="Unit Name"><span id="ubc7-unit-faculty">Faculty Name</span><span id="ubc7-unit-identifier">Unit Name</span></a>
</div>
</div>
</div>
<!-- End of UBC Unit Identifier -->
<!-- UBC Unit Navigation -->
<div id="ubc7-unit-menu" class="navbar expand" role="navigation">
<div class="navbar-inner expand">
<div class="container">
<div class="nav-collapse collapse" id="ubc7-unit-navigation">
<ul class="nav">
<li class="active"><a href="/" title="Home">Home</a></li>
<li><a href="#" title="First Link">First Link</a></li>
<li><a href="#" title="Second Link">Second Link</a></li>
<li><a href="#" title="Third Link">Third Link</a></li>
<li class="dropdown">
<div class="btn-group">
<a class="btn" href="#">Split dropdown</a>
<button class="btn dropdown-toggle" data-toggle="dropdown"><span class="ubc7-arrow blue down-arrow"></span></button>
<ul class="dropdown-menu">
<li><a href="#" title="Action">Action</a></li>
<li><a href="#" title="Another Action">Another action</a></li>
<li><a href="#" title="Something else">Something else</a></li>
<li class="nav-header">Navigation header</li>
<li><a href="#" title="Separated link">Separated link</a></li>
<li><a href="#" title="One more">One more separated link</a></li>
</ul>
</div>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Basic dropdown <div class="ubc7-arrow down-arrow"></div></a>
<ul class="dropdown-menu">
<li><a href="#" title="Action">Action</a></li>
<li><a href="#" title="Another Action">Another action</a></li>
<li><a href="#" title="Something else">Something else</a></li>
<li class="nav-header">Navigation header</li>
<li><a href="#" title="Separated link">Separated link</a></li>
<li><a href="#" title="One more">One more separated link</a></li>
</ul>
</li>
</ul>
</div><!-- /.nav-collapse -->
</div>
</div><!-- /navbar-inner -->
</div><!-- /navbar -->
<!-- End of UBC Unit Navigation -->
<!-- UBC Unit Breadcrumbs -->
<ul class="breadcrumb expand">
<li>
<a href="#" title="Faculty Name">Faculty Name</a> <span class="divider">/</span>
</li>
<li>
<a href="#" title="Unit Name">Unit Name</a> <span class="divider">/</span>
</li>
<li class="active">Page Name</li>
</ul>
<!-- End of UBC Unit Breadcrumbs -->
<!-- Content Area -->
<div class="content expand" role="main">
<div class="row-fluid expand">
<div class="span3 docs-sidebar span6-tablet" role="navigation">
<h3>Simple side navigation</h3>
<ul class="nav nav-list bootstrap-sidenav docs-sidenav affix-top">
<li><a href="#"><div class="ubc7-arrow right-arrow"></div> First link</a></li>
<li><a href="#"><div class="ubc7-arrow right-arrow"></div> Second link</a></li>
<li><a href="#"><div class="ubc7-arrow right-arrow"></div> Third link</a></li>
<li><a href="#"><div class="ubc7-arrow right-arrow"></div> Fourth link</a></li>
<li><a href="#"><div class="ubc7-arrow right-arrow"></div> Fifth link</a></li>
<li><a href="#"><div class="ubc7-arrow right-arrow"></div> Sixth link</a></li>
<li><a href="#"><div class="ubc7-arrow right-arrow"></div> Seventh link</a></li>
<li><a href="#"><div class="ubc7-arrow right-arrow"></div> Eighth link</a></li>
</ul>
<p><i class="icon-info-sign"></i> Are you kidding? I need a more <a href="full-template-bw.html">complex side navigation</a>.</p>
</div>
<div class="span6 span6-tablet">
<h1>Changing column span for tablet</h1>
<p>Creating extra class and apply different column grid for tablet</p>
<p>Example: Columns on this page will be 50% for tablet dimension</p>
<div class="well">
@media (max-width: 979px) and (min-width: 768px) {<br />
.row-fluid .span6-tablet {<br />
width: 48.61878453038674%;<br />
}<br />
}
</div>
<h3>Your columns don't clear quite right as one is taller than the other. To fix that, use a combination of a .clearfix and our <a href="http://clf.ubc.ca/design-specifications/#responsive-classes">responsive utility classes</a>.</h3>
<div class="well">
.clearfix:before,<br />
.clearfix:after {<br />
content: " ";<br />
display: table;<br />
}<br />
.clearfix:after {<br />
clear: both;<br />
}
</div>
</div>
<div class="clearfix visible-tablet"></div>
<div class="span3 span6-tablet">
<img src="http://clf.ubc.ca/_assets/images/placeholder.png" alt="Pretty picture placeholder" />
<p> </p>
<blockquote class="pull-right">
<small>Awesome Awesomeson doing something amazing</small>
</blockquote>
</div>
</div>
</div>
<!-- End of Content Area -->
<!-- Footer Area Unit Menu - Mobile Only -->
<div id="ubc7-unit-alternate-navigation" class="navbar expand visible-phone" role="navigation">
<div class="navbar-inner expand">
<div class="container">
<div class="nav-collapse collapse">
<ul class="nav">
<li class="active"><a href="#" title="Home">Home</a></li>
<li><a href="#" title="First Link">First Link</a></li>
<li><a href="#" title="Second Link">Second Link</a></li>
<li><a href="#" title="Third Link">Third Link</a></li>
<li class="dropdown">
<div class="btn-group">
<a class="btn" href="#">Split dropdown</a>
<button class="btn dropdown-toggle" data-toggle="dropdown"><span class="ubc7-arrow blue down-arrow"></span></button>
<ul class="dropdown-menu">
<li><a href="#" title="Action">Action</a></li>
<li><a href="#" title="Another Action">Another action</a></li>
<li><a href="#" title="Something else">Something else</a></li>
<li class="nav-header">Navigation header</li>
<li><a href="#" title="Separated link">Separated link</a></li>
<li><a href="#" title="One more">One more separated link</a></li>
</ul>
</div>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Basic dropdown <div class="ubc7-arrow down-arrow"></div></a>
<ul class="dropdown-menu">
<li><a href="#" title="Action">Action</a></li>
<li><a href="#" title="Another Action">Another action</a></li>
<li><a href="#" title="Something else">Something else</a></li>
<li class="nav-header">Navigation header</li>
<li><a href="#" title="Separated link">Separated link</a></li>
<li><a href="#" title="One more">One more separated link</a></li>
</ul>
</li>
</ul>
</div><!-- /.nav-collapse -->
</div>
</div><!-- /navbar-inner -->
</div><!-- /navbar -->
<!-- End of Footer Area Unit Menu -->
<footer id="ubc7-footer" class="expand" role="contentinfo">
<div class="row-fluid expand" id="ubc7-unit-footer">
<div class="span10" id="ubc7-unit-address">
<div id="ubc7-address-unit-name">Unit Name</div>
<div id="ubc7-address-campus">Vancouver Campus | Okanagan Campus</div>
<div id="ubc7-address-street">1234 Street Name</div>
<div id="ubc7-address-location">
<span id="ubc7-address-city">Vancouver | Kelowna</span>, <span id="ubc7-address-province" title="British Columbia">BC</span> <span id="ubc7-address-country">Canada</span> <span id="ubc7-address-postal">V0V 0V0</span>
</div>
<div id="ubc7-address-phone">Tel XXX XXX XXXX</div>
<div id="ubc7-address-email">E-mail [email protected]</div>
</div>
<div class="span2">
<strong>Find us on</strong>
<div id="ubc7-unit-social-icons">
<a href="#"><i class="icon-facebook-sign"></i></a>
<a href="#"><i class="icon-twitter-sign"></i></a>
<a href="#"><i class="icon-google-plus-sign"></i></a>
<a href="#"><i class="icon-youtube"></i></a><br>
<a href="#"><i class="icon-vimeo"></i></a>
<a href="#"><i class="icon-skype"></i></a>
<a href="#"><i class="icon-wordpress"></i></a>
<a href="#"><i class="icon-flickr"></i></a>
</div>
</div>
</div>
<div class="row-fluid expand ubc7-back-to-top">
<div class="span2">
<a href="#" title="Back to top">Back to top <div class="ubc7-arrow up-arrow grey"></div></a>
</div>
</div>
<div class="row-fluid expand" id="ubc7-global-footer">
<div class="span5" id="ubc7-signature"><a href="//www.ubc.ca/" title="The University of British Columbia (UBC)">The University of British Columbia</a></div>
<div class="span7" id="ubc7-footer-menu">
</div>
</div>
<div class="row-fluid expand" id="ubc7-minimal-footer">
<div class="span12">
<ul>
<li><a href="//cdn.ubc.ca/clf/ref/emergency" title="Emergency Procedures">Emergency Procedures</a> <span class="divider">|</span></li>
<li><a href="//cdn.ubc.ca/clf/ref/terms" title="Terms of Use">Terms of Use</a> <span class="divider">|</span></li>
<li><a href="//cdn.ubc.ca/clf/ref/copyright" title="UBC Copyright">Copyright</a> <span class="divider">|</span></li>
<li><a href="//cdn.ubc.ca/clf/ref/accessibility" title="Accessibility">Accessibility</a></li>
</ul>
</div>
</div>
</footer>
</div> <!-- /container -->
<!-- Placed javascript at the end for faster loading -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="//cdn.ubc.ca/clf/7.0.4/js/ubc-clf.min.js"></script>
</body>
</html>