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