29b5b86 by Anon Ray at 2013-10-03 |
1 |
/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */ |
|
2 |
|
3ce3fe9 by Anon Ray at 2012-11-23 |
3 |
/* |
|
4 |
* What follows is the result of much research on cross-browser styling. |
|
5 |
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal, |
|
6 |
* Kroc Camen, and the H5BP dev community and team. |
|
7 |
*/ |
|
8 |
|
|
9 |
/* ========================================================================== |
|
10 |
Base styles: opinionated defaults |
|
11 |
========================================================================== */ |
|
12 |
|
|
13 |
html, |
|
14 |
button, |
|
15 |
input, |
|
16 |
select, |
|
17 |
textarea { |
|
18 |
color: #222; |
|
19 |
} |
|
20 |
|
29b5b86 by Anon Ray at 2013-10-03 |
21 |
html { |
3ce3fe9 by Anon Ray at 2012-11-23 |
22 |
font-size: 1em; |
|
23 |
line-height: 1.4; |
|
24 |
} |
b55ea75 by Pradeep at 2014-01-17 |
25 |
body { |
|
26 |
margin: 0; |
|
27 |
padding: 0; |
c13499d by Pradeep at 2014-01-27 |
28 |
font-family:'Roboto', sans-serif; |
7036d3a by Pradeep at 2014-01-27 |
29 |
|
b55ea75 by Pradeep at 2014-01-17 |
30 |
} |
0960a4b by Pradeep at 2014-01-20 |
31 |
.container { |
f13e670 by Pradeep at 2014-01-20 |
32 |
margin-right:0; |
0960a4b by Pradeep at 2014-01-20 |
33 |
} |
|
34 |
.navigation-style { |
b55ea75 by Pradeep at 2014-01-17 |
35 |
position: relative; |
|
36 |
font-size: 12px; |
420b88b by Anon Ray at 2014-01-24 |
37 |
margin-top: 15px; |
ae71bed by Pradeep at 2014-01-23 |
38 |
height: 41px; |
4ffa311 by Pradeep at 2014-01-23 |
39 |
background: none repeat scroll 0% 0% #000; |
b55ea75 by Pradeep at 2014-01-17 |
40 |
} |
0960a4b by Pradeep at 2014-01-20 |
41 |
.navigation-style li { |
b55ea75 by Pradeep at 2014-01-17 |
42 |
width:auto; |
0960a4b by Pradeep at 2014-01-20 |
43 |
color:red; |
b55ea75 by Pradeep at 2014-01-17 |
44 |
font-size: 16px; |
|
45 |
line-height: 41px; |
|
46 |
padding: 0px 30px; |
|
47 |
text-decoration: none; |
|
48 |
display: inline-block; |
c13499d by Pradeep at 2014-01-27 |
49 |
|
b55ea75 by Pradeep at 2014-01-17 |
50 |
} |
0960a4b by Pradeep at 2014-01-20 |
51 |
|
|
52 |
.navigation-style li a { |
|
53 |
width:auto; |
ae71bed by Pradeep at 2014-01-23 |
54 |
color:white; |
0960a4b by Pradeep at 2014-01-20 |
55 |
} |
|
56 |
|
|
57 |
.navigation-style li:hover a{ |
b55ea75 by Pradeep at 2014-01-17 |
58 |
text-decoration: none; |
|
59 |
display: inline-block; |
|
60 |
} |
|
61 |
|
|
62 |
|
|
63 |
.contentholder { |
|
64 |
float: left; |
|
65 |
width: 964px; |
|
66 |
padding: 35px 0px 0px; |
|
67 |
} |
|
68 |
.first { |
|
69 |
margin-left: 0px; |
|
70 |
padding-left: 0px; |
0960a4b by Pradeep at 2014-01-20 |
71 |
margin-top:-46px; |
b55ea75 by Pradeep at 2014-01-17 |
72 |
} |
|
73 |
.contentblockleft { |
|
74 |
float: left; |
|
75 |
width: 400px; |
|
76 |
margin-right: 40px; |
|
77 |
} |
|
78 |
hr { |
|
79 |
color:blue; |
|
80 |
} |
|
81 |
.contentblockright { |
|
82 |
float: right; |
|
83 |
width: 400px |
|
84 |
} |
acfef7f by Bhanu Prakash at 2014-01-23 |
85 |
|
f65e1fa by Bhanu at 2014-01-27 |
86 |
|
eb35726 by Bhanu at 2014-01-27 |
87 |
/* home page content design */ |
1bb519a by Bhanu at 2014-01-23 |
88 |
|
eb35726 by Bhanu at 2014-01-27 |
89 |
.content-head1 { |
|
90 |
color:#000000; |
f956c9d by Bhanu at 2014-02-04 |
91 |
border-bottom: 1px dotted #C00000 ; |
eb35726 by Bhanu at 2014-01-27 |
92 |
width:80%; |
1b9c792 by Bhanu at 2014-01-28 |
93 |
/*font-family: sans-serif, roboto;*/ |
eb35726 by Bhanu at 2014-01-27 |
94 |
font-size: 24px; |
1b9c792 by Bhanu at 2014-01-28 |
95 |
padding: 1em 0.1em 0.1em 0em; |
|
96 |
margin: 0.2em 0.1em 0.8em 0em; |
78a76c4 by Anon Ray at 2014-01-27 |
97 |
} |
920441b by Bhanu at 2014-01-28 |
98 |
|
9a0b0b0 by Anon Ray at 2014-01-24 |
99 |
.navigation-style.col-md-10 { |
|
100 |
padding-left: 0; |
|
101 |
padding-right: 0; |
b2d8633 by Bhanu at 2014-01-23 |
102 |
} |
|
103 |
|
|
104 |
.col-md-4 p { |
9a0b0b0 by Anon Ray at 2014-01-24 |
105 |
width: 85% |
b2d8633 by Bhanu at 2014-01-23 |
106 |
} |
|
107 |
|
f65e1fa by Bhanu at 2014-01-27 |
108 |
|
eb35726 by Bhanu at 2014-01-27 |
109 |
.col-md-2 { |
|
110 |
width: 23% |
|
111 |
} |
|
112 |
|
b2d8633 by Bhanu at 2014-01-23 |
113 |
|
eb35726 by Bhanu at 2014-01-27 |
114 |
.content-head2 { |
|
115 |
color:#000000; |
f956c9d by Bhanu at 2014-02-04 |
116 |
border-bottom: 1px dotted #C00000 ; |
eb35726 by Bhanu at 2014-01-27 |
117 |
width:80%; |
1b9c792 by Bhanu at 2014-01-28 |
118 |
/*font-family: sans-serif, roboto;*/ |
eb35726 by Bhanu at 2014-01-27 |
119 |
font-size: 24px; |
1b9c792 by Bhanu at 2014-01-28 |
120 |
padding: 1em 0.1em 0.1em 0em; |
|
121 |
margin: 0.2em 0.1em 0.8em 0em; |
acfef7f by Bhanu Prakash at 2014-01-23 |
122 |
} |
|
123 |
|
eb35726 by Bhanu at 2014-01-27 |
124 |
/* content styling for other pages */ |
|
125 |
|
|
126 |
.main-head { |
|
127 |
color:#000000; |
1b9c792 by Bhanu at 2014-01-28 |
128 |
/*font-family: sans-serif, roboto;*/ |
eb35726 by Bhanu at 2014-01-27 |
129 |
font-size: 24px; |
|
130 |
padding: 5px 1px 2px 0px; |
|
131 |
margin: 5px 1px 8px 1px; |
c50fbe7 by Bhanu at 2014-01-29 |
132 |
text-align: left; |
|
133 |
border-bottom: 1px #c00000 dotted; |
eb35726 by Bhanu at 2014-01-27 |
134 |
} |
|
135 |
.subcontent-head { |
|
136 |
color:#000000; |
1b9c792 by Bhanu at 2014-01-28 |
137 |
/*font-family: sans-serif, roboto;*/ |
eb35726 by Bhanu at 2014-01-27 |
138 |
font-size: 18px; |
|
139 |
padding: 5px 1px 2px 0px; |
|
140 |
margin: 5px 1px 8px 1px; |
|
141 |
text-align: left; |
|
142 |
} |
1bb519a by Bhanu at 2014-01-23 |
143 |
|
c4a801d by Bhanu at 2014-01-29 |
144 |
.col-md-6 { |
|
145 |
width: 58%; |
|
146 |
margin-left: 0.3em; |
|
147 |
} |
b2d8633 by Bhanu at 2014-01-23 |
148 |
|
c50fbe7 by Bhanu at 2014-01-29 |
149 |
#header-banner { |
|
150 |
padding: 1em 0em 1em 0em; |
|
151 |
margin: 1em 0em 1em -1em; |
|
152 |
} |
|
153 |
|
fcf892e by Bhanu at 2014-01-31 |
154 |
.block { |
|
155 |
line-height: 150%; |
|
156 |
padding: 10px 0px 5px 2px; |
|
157 |
margin: 10px 0px 5px 2px; |
|
158 |
text-align: justify; |
|
159 |
font-size: 14px; |
|
160 |
color: #000000; |
|
161 |
} |
|
162 |
|
|
163 |
.underblock { |
|
164 |
line-height: 125%; |
|
165 |
font-size: 14px; |
|
166 |
text-align: justify; |
|
167 |
} |
|
168 |
|
|
169 |
|
|
170 |
.block em { |
|
171 |
vertical-align: super; |
|
172 |
} |
|
173 |
|
|
174 |
a:link { |
|
175 |
color: #c00000; |
|
176 |
} |
|
177 |
|
|
178 |
a:hover { |
|
179 |
color: #000000; |
|
180 |
} |
c50fbe7 by Bhanu at 2014-01-29 |
181 |
|
b2d8633 by Bhanu at 2014-01-23 |
182 |
|
0960a4b by Pradeep at 2014-01-20 |
183 |
ul.dropdown-menu li { |
4ffa311 by Pradeep at 2014-01-23 |
184 |
/* background:!important none repeat scroll 0% 0% rgb(255, 255, 255);*/ |
|
185 |
/* border-bottom: 1px inset rgb(188, 181, 215);*/ |
b55ea75 by Pradeep at 2014-01-17 |
186 |
filter: none; |
|
187 |
font-size: 14px; |
|
188 |
display: block; |
|
189 |
border-right:none; |
|
190 |
line-height: 1px; |
|
191 |
padding: 6px; |
|
192 |
margin:0px 0px 0px 0px; |
|
193 |
color: rgb(0, 0, 0); |
|
194 |
} |
0960a4b by Pradeep at 2014-01-20 |
195 |
ul.dropdown-menu { |
|
196 |
margin:0; |
|
197 |
font-size:smaller; |
ae71bed by Pradeep at 2014-01-23 |
198 |
background-color:#c00000; |
0960a4b by Pradeep at 2014-01-20 |
199 |
} |
|
200 |
.dropdown-menu li a { |
7036d3a by Pradeep at 2014-01-27 |
201 |
padding: 3px 20px; |
3aa2c83 by Pradeep at 2014-01-27 |
202 |
width:100%; |
0960a4b by Pradeep at 2014-01-20 |
203 |
} |
ae71bed by Pradeep at 2014-01-23 |
204 |
li.maintab:hover { |
|
205 |
background-color:#c00000; |
|
206 |
color:yellow; |
|
207 |
} |
0960a4b by Pradeep at 2014-01-20 |
208 |
.navigation-style ul li a:hover { |
|
209 |
color: white; |
|
210 |
text-decoration: none; |
|
211 |
} |
4ffa311 by Pradeep at 2014-01-23 |
212 |
.dropdown-menu > li > a:hover { |
|
213 |
background-color:#000; |
|
214 |
} |
|
215 |
.dropdown-menu > li > a:focus { |
|
216 |
background-color:#c00000; |
|
217 |
} |
0960a4b by Pradeep at 2014-01-20 |
218 |
|
|
219 |
/*testing hover */ |
ae71bed by Pradeep at 2014-01-23 |
220 |
body{margin-top:0px; |
|
221 |
overflow-y:scroll; |
622cf04 by Pradeep at 2014-01-23 |
222 |
} |
0960a4b by Pradeep at 2014-01-20 |
223 |
.glyphicon { margin-right:10px; } |
|
224 |
.panel-body { padding:0px; } |
|
225 |
.panel-body table tr td { padding-left: 15px } |
|
226 |
.panel-body .table {margin-bottom: 0px; } |
|
227 |
|
4ffa311 by Pradeep at 2014-01-23 |
228 |
|
|
229 |
|
0960a4b by Pradeep at 2014-01-20 |
230 |
.col-sm-3 col-md-3{ |
|
231 |
margin:0px 0px 0px -30px; |
|
232 |
} |
f956c9d by Bhanu at 2014-02-04 |
233 |
|
0960a4b by Pradeep at 2014-01-20 |
234 |
.panel panel-default { |
|
235 |
width:700px; |
|
236 |
} |
f956c9d by Bhanu at 2014-02-04 |
237 |
|
0960a4b by Pradeep at 2014-01-20 |
238 |
li.a { |
|
239 |
color:#000; |
|
240 |
border-right:none; |
|
241 |
list-style-type:square; |
|
242 |
} |
f956c9d by Bhanu at 2014-02-04 |
243 |
|
0960a4b by Pradeep at 2014-01-20 |
244 |
.header-color{ |
|
245 |
color:red; |
|
246 |
} |
f956c9d by Bhanu at 2014-02-04 |
247 |
|
ae71bed by Pradeep at 2014-01-23 |
248 |
.well { |
c50fbe7 by Bhanu at 2014-01-29 |
249 |
background-color:#f7f7f7; |
f956c9d by Bhanu at 2014-02-04 |
250 |
border-radius: 0px; |
0960a4b by Pradeep at 2014-01-20 |
251 |
} |
f956c9d by Bhanu at 2014-02-04 |
252 |
|
ae71bed by Pradeep at 2014-01-23 |
253 |
/* Site Map style */ |
|
254 |
.dropdown-large { |
|
255 |
position: static !important; |
|
256 |
} |
|
257 |
.dropdown-menu-large { |
|
258 |
margin-left: 16px; |
|
259 |
margin-right: 16px; |
|
260 |
padding: 20px 0px; |
|
261 |
} |
|
262 |
.dropdown-menu-large > li > ul { |
|
263 |
padding: 0; |
|
264 |
margin: 0; |
|
265 |
} |
|
266 |
.dropdown-menu-large > li > ul > li { |
|
267 |
list-style: none; |
|
268 |
} |
|
269 |
.dropdown-menu-large > li > ul > li > a { |
|
270 |
display: block; |
|
271 |
padding: 3px 20px; |
|
272 |
clear: both; |
|
273 |
font-weight: normal; |
|
274 |
line-height: 1.428571429; |
|
275 |
color: #333333; |
|
276 |
white-space: normal; |
|
277 |
} |
|
278 |
.dropdown-menu-large > li ul > li > a:hover, |
|
279 |
.dropdown-menu-large > li ul > li > a:focus { |
|
280 |
text-decoration: none; |
|
281 |
color: #262626; |
|
282 |
background-color: #f5f5f5; |
|
283 |
} |
|
284 |
.dropdown-menu-large .disabled > a, |
|
285 |
.dropdown-menu-large .disabled > a:hover, |
|
286 |
.dropdown-menu-large .disabled > a:focus { |
|
287 |
color: #999999; |
|
288 |
} |
|
289 |
.dropdown-menu-large .disabled > a:hover, |
|
290 |
.dropdown-menu-large .disabled > a:focus { |
|
291 |
text-decoration: none; |
|
292 |
background-color: transparent; |
|
293 |
background-image: none; |
|
294 |
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); |
|
295 |
cursor: not-allowed; |
|
296 |
} |
|
297 |
.dropdown-menu-large .dropdown-header { |
|
298 |
color: #428bca; |
|
299 |
font-size: 18px; |
|
300 |
} |
|
301 |
@media (max-width: 768px) { |
|
302 |
.dropdown-menu-large { |
|
303 |
margin-left: 0 ; |
|
304 |
margin-right: 0 ; |
|
305 |
} |
|
306 |
.dropdown-menu-large > li { |
|
307 |
margin-bottom: 30px; |
|
308 |
} |
|
309 |
.dropdown-menu-large > li:last-child { |
|
310 |
margin-bottom: 0; |
|
311 |
} |
|
312 |
.dropdown-menu-large .dropdown-header { |
|
313 |
padding: 3px 15px !important; |
|
314 |
} |
|
315 |
} |
|
316 |
/* style map styles end */ |
c13499d by Pradeep at 2014-01-27 |
317 |
/*dropsown sub menu css */ |
|
318 |
|
|
319 |
.dropdown-submenu { |
|
320 |
position: relative; |
|
321 |
} |
|
322 |
|
|
323 |
.dropdown-submenu>.dropdown-menu { |
|
324 |
top: 0; |
|
325 |
left: 100%; |
|
326 |
margin-top: -6px; |
|
327 |
margin-left: -1px; |
|
328 |
-webkit-border-radius: 0 6px 6px 6px; |
|
329 |
-moz-border-radius: 0 6px 6px; |
|
330 |
border-radius: 0 6px 6px 6px; |
|
331 |
} |
|
332 |
|
|
333 |
.dropdown-submenu:hover>.dropdown-menu { |
|
334 |
display: block; |
|
335 |
} |
|
336 |
|
|
337 |
.dropdown-submenu>a:after { |
|
338 |
display: block; |
|
339 |
content: " "; |
|
340 |
float: right; |
|
341 |
width: 0; |
|
342 |
height: 0; |
|
343 |
border-color: transparent; |
|
344 |
border-style: solid; |
|
345 |
border-width: 5px 0 5px 5px; |
|
346 |
border-left-color: #ccc; |
|
347 |
margin-top: 5px; |
|
348 |
margin-right: -10px; |
|
349 |
} |
|
350 |
|
|
351 |
.dropdown-submenu:hover>a:after { |
|
352 |
border-left-color: #fff; |
|
353 |
} |
|
354 |
|
|
355 |
.dropdown-submenu.pull-left { |
|
356 |
float: none; |
|
357 |
} |
0960a4b by Pradeep at 2014-01-20 |
358 |
|
c13499d by Pradeep at 2014-01-27 |
359 |
.dropdown-submenu.pull-left>.dropdown-menu { |
|
360 |
left: -100%; |
|
361 |
margin-left: 10px; |
|
362 |
-webkit-border-radius: 6px 0 6px 6px; |
|
363 |
-moz-border-radius: 6px 0 6px 6px; |
|
364 |
border-radius: 6px 0 6px 6px; |
|
365 |
} |
|
366 |
/* drop down menu css ends here */ |
0960a4b by Pradeep at 2014-01-20 |
367 |
|
|
368 |
|
3ce3fe9 by Anon Ray at 2012-11-23 |
369 |
/* |
|
370 |
* Remove text-shadow in selection highlight: h5bp.com/i |
29b5b86 by Anon Ray at 2013-10-03 |
371 |
* These selection rule sets have to be separate. |
3ce3fe9 by Anon Ray at 2012-11-23 |
372 |
* Customize the background color to match your design. |
|
373 |
*/ |
|
374 |
|
|
375 |
::-moz-selection { |
|
376 |
background: #b3d4fc; |
|
377 |
text-shadow: none; |
|
378 |
} |
|
379 |
|
|
380 |
::selection { |
|
381 |
background: #b3d4fc; |
|
382 |
text-shadow: none; |
|
383 |
} |
|
384 |
|
|
385 |
/* |
|
386 |
* A better looking default horizontal rule |
|
387 |
*/ |
|
388 |
|
|
389 |
hr { |
|
390 |
display: block; |
|
391 |
height: 1px; |
|
392 |
border: 0; |
|
393 |
border-top: 1px solid #ccc; |
|
394 |
margin: 1em 0; |
|
395 |
padding: 0; |
|
396 |
} |
|
397 |
|
|
398 |
/* |
29b5b86 by Anon Ray at 2013-10-03 |
399 |
* Remove the gap between images, videos, audio and canvas and the bottom of |
|
400 |
* their containers: h5bp.com/i/440 |
3ce3fe9 by Anon Ray at 2012-11-23 |
401 |
*/ |
|
402 |
|
29b5b86 by Anon Ray at 2013-10-03 |
403 |
audio, |
|
404 |
canvas, |
|
405 |
img, |
|
406 |
video { |
3ce3fe9 by Anon Ray at 2012-11-23 |
407 |
vertical-align: middle; |
|
408 |
} |
|
409 |
|
|
410 |
/* |
|
411 |
* Remove default fieldset styles. |
|
412 |
*/ |
|
413 |
|
|
414 |
fieldset { |
|
415 |
border: 0; |
|
416 |
margin: 0; |
|
417 |
padding: 0; |
|
418 |
} |
|
419 |
|
|
420 |
/* |
|
421 |
* Allow only vertical resizing of textareas. |
|
422 |
*/ |
|
423 |
|
|
424 |
textarea { |
|
425 |
resize: vertical; |
|
426 |
} |
|
427 |
|
|
428 |
/* ========================================================================== |
29b5b86 by Anon Ray at 2013-10-03 |
429 |
Browse Happy prompt |
3ce3fe9 by Anon Ray at 2012-11-23 |
430 |
========================================================================== */ |
|
431 |
|
29b5b86 by Anon Ray at 2013-10-03 |
432 |
.browsehappy { |
3ce3fe9 by Anon Ray at 2012-11-23 |
433 |
margin: 0.2em 0; |
|
434 |
background: #ccc; |
|
435 |
color: #000; |
|
436 |
padding: 0.2em 0; |
|
437 |
} |
|
438 |
|
|
439 |
/* ========================================================================== |
|
440 |
Author's custom styles |
|
441 |
========================================================================== */ |
|
442 |
|
d296833 by Anon Ray at 2013-05-20 |
443 |
|
3ce3fe9 by Anon Ray at 2012-11-23 |
444 |
/* ========================================================================== |
|
445 |
Helper classes |
|
446 |
========================================================================== */ |
|
447 |
|
|
448 |
/* |
|
449 |
* Image replacement |
|
450 |
*/ |
|
451 |
|
|
452 |
.ir { |
|
453 |
background-color: transparent; |
|
454 |
border: 0; |
|
455 |
overflow: hidden; |
|
456 |
/* IE 6/7 fallback */ |
|
457 |
*text-indent: -9999px; |
|
458 |
} |
|
459 |
|
|
460 |
.ir:before { |
|
461 |
content: ""; |
|
462 |
display: block; |
|
463 |
width: 0; |
29b5b86 by Anon Ray at 2013-10-03 |
464 |
height: 150%; |
3ce3fe9 by Anon Ray at 2012-11-23 |
465 |
} |
|
466 |
|
|
467 |
/* |
|
468 |
* Hide from both screenreaders and browsers: h5bp.com/u |
|
469 |
*/ |
|
470 |
|
|
471 |
.hidden { |
|
472 |
display: none !important; |
|
473 |
visibility: hidden; |
|
474 |
} |
|
475 |
|
|
476 |
/* |
|
477 |
* Hide only visually, but have it available for screenreaders: h5bp.com/v |
|
478 |
*/ |
|
479 |
|
|
480 |
.visuallyhidden { |
|
481 |
border: 0; |
|
482 |
clip: rect(0 0 0 0); |
|
483 |
height: 1px; |
|
484 |
margin: -1px; |
|
485 |
overflow: hidden; |
|
486 |
padding: 0; |
|
487 |
position: absolute; |
|
488 |
width: 1px; |
|
489 |
} |
|
490 |
|
|
491 |
/* |
|
492 |
* Extends the .visuallyhidden class to allow the element to be focusable |
|
493 |
* when navigated to via the keyboard: h5bp.com/p |
|
494 |
*/ |
|
495 |
|
|
496 |
.visuallyhidden.focusable:active, |
|
497 |
.visuallyhidden.focusable:focus { |
|
498 |
clip: auto; |
|
499 |
height: auto; |
|
500 |
margin: 0; |
|
501 |
overflow: visible; |
|
502 |
position: static; |
|
503 |
width: auto; |
|
504 |
} |
|
505 |
|
|
506 |
/* |
|
507 |
* Hide visually and from screenreaders, but maintain layout |
|
508 |
*/ |
|
509 |
|
|
510 |
.invisible { |
|
511 |
visibility: hidden; |
|
512 |
} |
|
513 |
|
|
514 |
/* |
|
515 |
* Clearfix: contain floats |
|
516 |
* |
|
517 |
* For modern browsers |
|
518 |
* 1. The space content is one way to avoid an Opera bug when the |
|
519 |
* `contenteditable` attribute is included anywhere else in the document. |
|
520 |
* Otherwise it causes space to appear at the top and bottom of elements |
|
521 |
* that receive the `clearfix` class. |
|
522 |
* 2. The use of `table` rather than `block` is only necessary if using |
|
523 |
* `:before` to contain the top-margins of child elements. |
|
524 |
*/ |
|
525 |
|
|
526 |
.clearfix:before, |
|
527 |
.clearfix:after { |
|
528 |
content: " "; /* 1 */ |
|
529 |
display: table; /* 2 */ |
|
530 |
} |
|
531 |
|
|
532 |
.clearfix:after { |
|
533 |
clear: both; |
|
534 |
} |
|
535 |
|
|
536 |
/* |
|
537 |
* For IE 6/7 only |
|
538 |
* Include this rule to trigger hasLayout and contain floats. |
|
539 |
*/ |
|
540 |
|
|
541 |
.clearfix { |
|
542 |
*zoom: 1; |
|
543 |
} |
|
544 |
|
|
545 |
/* ========================================================================== |
|
546 |
EXAMPLE Media Queries for Responsive Design. |
29b5b86 by Anon Ray at 2013-10-03 |
547 |
These examples override the primary ('mobile first') styles. |
3ce3fe9 by Anon Ray at 2012-11-23 |
548 |
Modify as content requires. |
|
549 |
========================================================================== */ |
|
550 |
|
|
551 |
@media only screen and (min-width: 35em) { |
|
552 |
/* Style adjustments for viewports that meet the condition */ |
|
553 |
} |
|
554 |
|
29b5b86 by Anon Ray at 2013-10-03 |
555 |
@media print, |
|
556 |
(-o-min-device-pixel-ratio: 5/4), |
|
557 |
(-webkit-min-device-pixel-ratio: 1.25), |
|
558 |
(min-resolution: 120dpi) { |
3ce3fe9 by Anon Ray at 2012-11-23 |
559 |
/* Style adjustments for high resolution devices */ |
|
560 |
} |
|
561 |
|
|
562 |
/* ========================================================================== |
|
563 |
Print styles. |
|
564 |
Inlined to avoid required HTTP connection: h5bp.com/r |
|
565 |
========================================================================== */ |
|
566 |
|
|
567 |
@media print { |
|
568 |
* { |
|
569 |
background: transparent !important; |
|
570 |
color: #000 !important; /* Black prints faster: h5bp.com/s */ |
29b5b86 by Anon Ray at 2013-10-03 |
571 |
box-shadow: none !important; |
3ce3fe9 by Anon Ray at 2012-11-23 |
572 |
text-shadow: none !important; |
|
573 |
} |
|
574 |
|
|
575 |
a, |
|
576 |
a:visited { |
|
577 |
text-decoration: underline; |
|
578 |
} |
|
579 |
|
|
580 |
a[href]:after { |
|
581 |
content: " (" attr(href) ")"; |
|
582 |
} |
|
583 |
|
|
584 |
abbr[title]:after { |
|
585 |
content: " (" attr(title) ")"; |
|
586 |
} |
|
587 |
|
|
588 |
/* |
|
589 |
* Don't show links for images, or javascript/internal links |
|
590 |
*/ |
|
591 |
|
|
592 |
.ir a:after, |
|
593 |
a[href^="javascript:"]:after, |
|
594 |
a[href^="#"]:after { |
|
595 |
content: ""; |
|
596 |
} |
|
597 |
|
|
598 |
pre, |
|
599 |
blockquote { |
|
600 |
border: 1px solid #999; |
|
601 |
page-break-inside: avoid; |
|
602 |
} |
|
603 |
|
|
604 |
thead { |
|
605 |
display: table-header-group; /* h5bp.com/t */ |
|
606 |
} |
|
607 |
|
|
608 |
tr, |
|
609 |
img { |
|
610 |
page-break-inside: avoid; |
|
611 |
} |
|
612 |
|
|
613 |
img { |
|
614 |
max-width: 100% !important; |
|
615 |
} |
|
616 |
|
|
617 |
@page { |
|
618 |
margin: 0.5cm; |
|
619 |
} |
|
620 |
|
|
621 |
p, |
|
622 |
h2, |
|
623 |
h3 { |
|
624 |
orphans: 3; |
|
625 |
widows: 3; |
|
626 |
} |
|
627 |
|
|
628 |
h2, |
|
629 |
h3 { |
|
630 |
page-break-after: avoid; |
|
631 |
} |
|
632 |
} |