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; |
|
91 |
border-bottom: 1px dotted #5A5656 ; |
|
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; |
|
116 |
border-bottom: 1px dotted #5A5656 ; |
|
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 |
} |
|
233 |
.panel panel-default { |
|
234 |
width:700px; |
|
235 |
} |
|
236 |
li.a { |
|
237 |
color:#000; |
|
238 |
border-right:none; |
|
239 |
list-style-type:square; |
|
240 |
} |
|
241 |
.header-color{ |
|
242 |
color:red; |
|
243 |
} |
ae71bed by Pradeep at 2014-01-23 |
244 |
.well { |
c50fbe7 by Bhanu at 2014-01-29 |
245 |
background-color:#f7f7f7; |
0960a4b by Pradeep at 2014-01-20 |
246 |
} |
ae71bed by Pradeep at 2014-01-23 |
247 |
/* Site Map style */ |
|
248 |
.dropdown-large { |
|
249 |
position: static !important; |
|
250 |
} |
|
251 |
.dropdown-menu-large { |
|
252 |
margin-left: 16px; |
|
253 |
margin-right: 16px; |
|
254 |
padding: 20px 0px; |
|
255 |
} |
|
256 |
.dropdown-menu-large > li > ul { |
|
257 |
padding: 0; |
|
258 |
margin: 0; |
|
259 |
} |
|
260 |
.dropdown-menu-large > li > ul > li { |
|
261 |
list-style: none; |
|
262 |
} |
|
263 |
.dropdown-menu-large > li > ul > li > a { |
|
264 |
display: block; |
|
265 |
padding: 3px 20px; |
|
266 |
clear: both; |
|
267 |
font-weight: normal; |
|
268 |
line-height: 1.428571429; |
|
269 |
color: #333333; |
|
270 |
white-space: normal; |
|
271 |
} |
|
272 |
.dropdown-menu-large > li ul > li > a:hover, |
|
273 |
.dropdown-menu-large > li ul > li > a:focus { |
|
274 |
text-decoration: none; |
|
275 |
color: #262626; |
|
276 |
background-color: #f5f5f5; |
|
277 |
} |
|
278 |
.dropdown-menu-large .disabled > a, |
|
279 |
.dropdown-menu-large .disabled > a:hover, |
|
280 |
.dropdown-menu-large .disabled > a:focus { |
|
281 |
color: #999999; |
|
282 |
} |
|
283 |
.dropdown-menu-large .disabled > a:hover, |
|
284 |
.dropdown-menu-large .disabled > a:focus { |
|
285 |
text-decoration: none; |
|
286 |
background-color: transparent; |
|
287 |
background-image: none; |
|
288 |
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); |
|
289 |
cursor: not-allowed; |
|
290 |
} |
|
291 |
.dropdown-menu-large .dropdown-header { |
|
292 |
color: #428bca; |
|
293 |
font-size: 18px; |
|
294 |
} |
|
295 |
@media (max-width: 768px) { |
|
296 |
.dropdown-menu-large { |
|
297 |
margin-left: 0 ; |
|
298 |
margin-right: 0 ; |
|
299 |
} |
|
300 |
.dropdown-menu-large > li { |
|
301 |
margin-bottom: 30px; |
|
302 |
} |
|
303 |
.dropdown-menu-large > li:last-child { |
|
304 |
margin-bottom: 0; |
|
305 |
} |
|
306 |
.dropdown-menu-large .dropdown-header { |
|
307 |
padding: 3px 15px !important; |
|
308 |
} |
|
309 |
} |
|
310 |
/* style map styles end */ |
c13499d by Pradeep at 2014-01-27 |
311 |
/*dropsown sub menu css */ |
|
312 |
|
|
313 |
.dropdown-submenu { |
|
314 |
position: relative; |
|
315 |
} |
|
316 |
|
|
317 |
.dropdown-submenu>.dropdown-menu { |
|
318 |
top: 0; |
|
319 |
left: 100%; |
|
320 |
margin-top: -6px; |
|
321 |
margin-left: -1px; |
|
322 |
-webkit-border-radius: 0 6px 6px 6px; |
|
323 |
-moz-border-radius: 0 6px 6px; |
|
324 |
border-radius: 0 6px 6px 6px; |
|
325 |
} |
|
326 |
|
|
327 |
.dropdown-submenu:hover>.dropdown-menu { |
|
328 |
display: block; |
|
329 |
} |
|
330 |
|
|
331 |
.dropdown-submenu>a:after { |
|
332 |
display: block; |
|
333 |
content: " "; |
|
334 |
float: right; |
|
335 |
width: 0; |
|
336 |
height: 0; |
|
337 |
border-color: transparent; |
|
338 |
border-style: solid; |
|
339 |
border-width: 5px 0 5px 5px; |
|
340 |
border-left-color: #ccc; |
|
341 |
margin-top: 5px; |
|
342 |
margin-right: -10px; |
|
343 |
} |
|
344 |
|
|
345 |
.dropdown-submenu:hover>a:after { |
|
346 |
border-left-color: #fff; |
|
347 |
} |
|
348 |
|
|
349 |
.dropdown-submenu.pull-left { |
|
350 |
float: none; |
|
351 |
} |
0960a4b by Pradeep at 2014-01-20 |
352 |
|
c13499d by Pradeep at 2014-01-27 |
353 |
.dropdown-submenu.pull-left>.dropdown-menu { |
|
354 |
left: -100%; |
|
355 |
margin-left: 10px; |
|
356 |
-webkit-border-radius: 6px 0 6px 6px; |
|
357 |
-moz-border-radius: 6px 0 6px 6px; |
|
358 |
border-radius: 6px 0 6px 6px; |
|
359 |
} |
|
360 |
/* drop down menu css ends here */ |
0960a4b by Pradeep at 2014-01-20 |
361 |
|
|
362 |
|
3ce3fe9 by Anon Ray at 2012-11-23 |
363 |
/* |
|
364 |
* Remove text-shadow in selection highlight: h5bp.com/i |
29b5b86 by Anon Ray at 2013-10-03 |
365 |
* These selection rule sets have to be separate. |
3ce3fe9 by Anon Ray at 2012-11-23 |
366 |
* Customize the background color to match your design. |
|
367 |
*/ |
|
368 |
|
|
369 |
::-moz-selection { |
|
370 |
background: #b3d4fc; |
|
371 |
text-shadow: none; |
|
372 |
} |
|
373 |
|
|
374 |
::selection { |
|
375 |
background: #b3d4fc; |
|
376 |
text-shadow: none; |
|
377 |
} |
|
378 |
|
|
379 |
/* |
|
380 |
* A better looking default horizontal rule |
|
381 |
*/ |
|
382 |
|
|
383 |
hr { |
|
384 |
display: block; |
|
385 |
height: 1px; |
|
386 |
border: 0; |
|
387 |
border-top: 1px solid #ccc; |
|
388 |
margin: 1em 0; |
|
389 |
padding: 0; |
|
390 |
} |
|
391 |
|
|
392 |
/* |
29b5b86 by Anon Ray at 2013-10-03 |
393 |
* Remove the gap between images, videos, audio and canvas and the bottom of |
|
394 |
* their containers: h5bp.com/i/440 |
3ce3fe9 by Anon Ray at 2012-11-23 |
395 |
*/ |
|
396 |
|
29b5b86 by Anon Ray at 2013-10-03 |
397 |
audio, |
|
398 |
canvas, |
|
399 |
img, |
|
400 |
video { |
3ce3fe9 by Anon Ray at 2012-11-23 |
401 |
vertical-align: middle; |
|
402 |
} |
|
403 |
|
|
404 |
/* |
|
405 |
* Remove default fieldset styles. |
|
406 |
*/ |
|
407 |
|
|
408 |
fieldset { |
|
409 |
border: 0; |
|
410 |
margin: 0; |
|
411 |
padding: 0; |
|
412 |
} |
|
413 |
|
|
414 |
/* |
|
415 |
* Allow only vertical resizing of textareas. |
|
416 |
*/ |
|
417 |
|
|
418 |
textarea { |
|
419 |
resize: vertical; |
|
420 |
} |
|
421 |
|
|
422 |
/* ========================================================================== |
29b5b86 by Anon Ray at 2013-10-03 |
423 |
Browse Happy prompt |
3ce3fe9 by Anon Ray at 2012-11-23 |
424 |
========================================================================== */ |
|
425 |
|
29b5b86 by Anon Ray at 2013-10-03 |
426 |
.browsehappy { |
3ce3fe9 by Anon Ray at 2012-11-23 |
427 |
margin: 0.2em 0; |
|
428 |
background: #ccc; |
|
429 |
color: #000; |
|
430 |
padding: 0.2em 0; |
|
431 |
} |
|
432 |
|
|
433 |
/* ========================================================================== |
|
434 |
Author's custom styles |
|
435 |
========================================================================== */ |
|
436 |
|
d296833 by Anon Ray at 2013-05-20 |
437 |
|
3ce3fe9 by Anon Ray at 2012-11-23 |
438 |
/* ========================================================================== |
|
439 |
Helper classes |
|
440 |
========================================================================== */ |
|
441 |
|
|
442 |
/* |
|
443 |
* Image replacement |
|
444 |
*/ |
|
445 |
|
|
446 |
.ir { |
|
447 |
background-color: transparent; |
|
448 |
border: 0; |
|
449 |
overflow: hidden; |
|
450 |
/* IE 6/7 fallback */ |
|
451 |
*text-indent: -9999px; |
|
452 |
} |
|
453 |
|
|
454 |
.ir:before { |
|
455 |
content: ""; |
|
456 |
display: block; |
|
457 |
width: 0; |
29b5b86 by Anon Ray at 2013-10-03 |
458 |
height: 150%; |
3ce3fe9 by Anon Ray at 2012-11-23 |
459 |
} |
|
460 |
|
|
461 |
/* |
|
462 |
* Hide from both screenreaders and browsers: h5bp.com/u |
|
463 |
*/ |
|
464 |
|
|
465 |
.hidden { |
|
466 |
display: none !important; |
|
467 |
visibility: hidden; |
|
468 |
} |
|
469 |
|
|
470 |
/* |
|
471 |
* Hide only visually, but have it available for screenreaders: h5bp.com/v |
|
472 |
*/ |
|
473 |
|
|
474 |
.visuallyhidden { |
|
475 |
border: 0; |
|
476 |
clip: rect(0 0 0 0); |
|
477 |
height: 1px; |
|
478 |
margin: -1px; |
|
479 |
overflow: hidden; |
|
480 |
padding: 0; |
|
481 |
position: absolute; |
|
482 |
width: 1px; |
|
483 |
} |
|
484 |
|
|
485 |
/* |
|
486 |
* Extends the .visuallyhidden class to allow the element to be focusable |
|
487 |
* when navigated to via the keyboard: h5bp.com/p |
|
488 |
*/ |
|
489 |
|
|
490 |
.visuallyhidden.focusable:active, |
|
491 |
.visuallyhidden.focusable:focus { |
|
492 |
clip: auto; |
|
493 |
height: auto; |
|
494 |
margin: 0; |
|
495 |
overflow: visible; |
|
496 |
position: static; |
|
497 |
width: auto; |
|
498 |
} |
|
499 |
|
|
500 |
/* |
|
501 |
* Hide visually and from screenreaders, but maintain layout |
|
502 |
*/ |
|
503 |
|
|
504 |
.invisible { |
|
505 |
visibility: hidden; |
|
506 |
} |
|
507 |
|
|
508 |
/* |
|
509 |
* Clearfix: contain floats |
|
510 |
* |
|
511 |
* For modern browsers |
|
512 |
* 1. The space content is one way to avoid an Opera bug when the |
|
513 |
* `contenteditable` attribute is included anywhere else in the document. |
|
514 |
* Otherwise it causes space to appear at the top and bottom of elements |
|
515 |
* that receive the `clearfix` class. |
|
516 |
* 2. The use of `table` rather than `block` is only necessary if using |
|
517 |
* `:before` to contain the top-margins of child elements. |
|
518 |
*/ |
|
519 |
|
|
520 |
.clearfix:before, |
|
521 |
.clearfix:after { |
|
522 |
content: " "; /* 1 */ |
|
523 |
display: table; /* 2 */ |
|
524 |
} |
|
525 |
|
|
526 |
.clearfix:after { |
|
527 |
clear: both; |
|
528 |
} |
|
529 |
|
|
530 |
/* |
|
531 |
* For IE 6/7 only |
|
532 |
* Include this rule to trigger hasLayout and contain floats. |
|
533 |
*/ |
|
534 |
|
|
535 |
.clearfix { |
|
536 |
*zoom: 1; |
|
537 |
} |
|
538 |
|
|
539 |
/* ========================================================================== |
|
540 |
EXAMPLE Media Queries for Responsive Design. |
29b5b86 by Anon Ray at 2013-10-03 |
541 |
These examples override the primary ('mobile first') styles. |
3ce3fe9 by Anon Ray at 2012-11-23 |
542 |
Modify as content requires. |
|
543 |
========================================================================== */ |
|
544 |
|
|
545 |
@media only screen and (min-width: 35em) { |
|
546 |
/* Style adjustments for viewports that meet the condition */ |
|
547 |
} |
|
548 |
|
29b5b86 by Anon Ray at 2013-10-03 |
549 |
@media print, |
|
550 |
(-o-min-device-pixel-ratio: 5/4), |
|
551 |
(-webkit-min-device-pixel-ratio: 1.25), |
|
552 |
(min-resolution: 120dpi) { |
3ce3fe9 by Anon Ray at 2012-11-23 |
553 |
/* Style adjustments for high resolution devices */ |
|
554 |
} |
|
555 |
|
|
556 |
/* ========================================================================== |
|
557 |
Print styles. |
|
558 |
Inlined to avoid required HTTP connection: h5bp.com/r |
|
559 |
========================================================================== */ |
|
560 |
|
|
561 |
@media print { |
|
562 |
* { |
|
563 |
background: transparent !important; |
|
564 |
color: #000 !important; /* Black prints faster: h5bp.com/s */ |
29b5b86 by Anon Ray at 2013-10-03 |
565 |
box-shadow: none !important; |
3ce3fe9 by Anon Ray at 2012-11-23 |
566 |
text-shadow: none !important; |
|
567 |
} |
|
568 |
|
|
569 |
a, |
|
570 |
a:visited { |
|
571 |
text-decoration: underline; |
|
572 |
} |
|
573 |
|
|
574 |
a[href]:after { |
|
575 |
content: " (" attr(href) ")"; |
|
576 |
} |
|
577 |
|
|
578 |
abbr[title]:after { |
|
579 |
content: " (" attr(title) ")"; |
|
580 |
} |
|
581 |
|
|
582 |
/* |
|
583 |
* Don't show links for images, or javascript/internal links |
|
584 |
*/ |
|
585 |
|
|
586 |
.ir a:after, |
|
587 |
a[href^="javascript:"]:after, |
|
588 |
a[href^="#"]:after { |
|
589 |
content: ""; |
|
590 |
} |
|
591 |
|
|
592 |
pre, |
|
593 |
blockquote { |
|
594 |
border: 1px solid #999; |
|
595 |
page-break-inside: avoid; |
|
596 |
} |
|
597 |
|
|
598 |
thead { |
|
599 |
display: table-header-group; /* h5bp.com/t */ |
|
600 |
} |
|
601 |
|
|
602 |
tr, |
|
603 |
img { |
|
604 |
page-break-inside: avoid; |
|
605 |
} |
|
606 |
|
|
607 |
img { |
|
608 |
max-width: 100% !important; |
|
609 |
} |
|
610 |
|
|
611 |
@page { |
|
612 |
margin: 0.5cm; |
|
613 |
} |
|
614 |
|
|
615 |
p, |
|
616 |
h2, |
|
617 |
h3 { |
|
618 |
orphans: 3; |
|
619 |
widows: 3; |
|
620 |
} |
|
621 |
|
|
622 |
h2, |
|
623 |
h3 { |
|
624 |
page-break-after: avoid; |
|
625 |
} |
|
626 |
} |