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