1 |
/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */ |
2 |
|
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 |
|
21 |
html { |
22 |
font-size: 1em; |
23 |
line-height: 1.4; |
24 |
} |
25 |
|
26 |
.navigation-style { |
27 |
position: relative; |
28 |
margin-top: -20px; |
29 |
height: 41px; |
30 |
background: none repeat scroll 0% 0% rgb(1, 55, 40); |
31 |
|
32 |
padding-left:150px; |
33 |
|
34 |
} |
35 |
.navigation-style > ul > li { |
36 |
font-size:18px; |
37 |
padding:0px 45px; |
38 |
} |
39 |
.navigation-style li { |
40 |
width:auto; |
41 |
color:red; |
42 |
font-size: 16px; |
43 |
line-height: 41px; |
44 |
padding: 0px 30px; |
45 |
text-decoration: none; |
46 |
display: inline-block; |
47 |
font-size:16px; |
48 |
|
49 |
} |
50 |
|
51 |
.navigation-style li a { |
52 |
width:auto; |
53 |
color:white; |
54 |
font-size:18px; |
55 |
} |
56 |
|
57 |
.navigation-style li:hover a{ |
58 |
text-decoration: none; |
59 |
display: inline-block; |
60 |
} |
61 |
hr { |
62 |
color:blue; |
63 |
} |
64 |
.contentblockright { |
65 |
float: right; |
66 |
width: 400px |
67 |
} |
68 |
|
69 |
|
70 |
/* home page content design */ |
71 |
#khmdl-carousel .carousel-inner>.item>img { |
72 |
height: 400px |
73 |
} |
74 |
|
75 |
.content-head1 { |
76 |
color:#000000; |
77 |
border-bottom: 1px dotted #C00000 ; |
78 |
width:80%; |
79 |
/*font-family: sans-serif, roboto;*/ |
80 |
font-size: 24px; |
81 |
padding: 1em 0.1em 0.1em 0em; |
82 |
margin: 0.2em 0.1em 0.8em 0em; |
83 |
} |
84 |
|
85 |
|
86 |
.content-head2 { |
87 |
color:#000000; |
88 |
border-bottom: 1px dotted #C00000 ; |
89 |
width:80%; |
90 |
/*font-family: sans-serif, roboto;*/ |
91 |
font-size: 24px; |
92 |
padding: 1em 0.1em 0.1em 0em; |
93 |
margin: 0.2em 0.1em 0.8em 0em; |
94 |
} |
95 |
.media |
96 |
{ |
97 |
/*box-shadow:0px 0px 4px -2px #000;*/ |
98 |
margin: 20px 0; |
99 |
padding:30px; |
100 |
} |
101 |
.dp |
102 |
{ |
103 |
border:10px solid #eee; |
104 |
transition: all 0.2s ease-in-out; |
105 |
width:175px; |
106 |
height:175px; |
107 |
} |
108 |
.dp:hover |
109 |
{ |
110 |
border:2px solid #eee; |
111 |
transform:rotate(360deg); |
112 |
-ms-transform:rotate(360deg); |
113 |
-webkit-transform:rotate(360deg); |
114 |
/*-webkit-font-smoothing:antialiased;*/ |
115 |
} |
116 |
/* content styling for other pages */ |
117 |
|
118 |
.main-head { |
119 |
color:#000000; |
120 |
/*font-family: sans-serif, roboto;*/ |
121 |
font-size: 24px; |
122 |
padding: 5px 1px 2px 0px; |
123 |
margin: 5px 1px 8px 1px; |
124 |
text-align: left; |
125 |
border-bottom: 1px #c00000 dotted; |
126 |
} |
127 |
.subcontent-head { |
128 |
color:#000000; |
129 |
/*font-family: sans-serif, roboto;*/ |
130 |
font-size: 18px; |
131 |
padding: 5px 1px 2px 0px; |
132 |
margin: 5px 1px 8px 1px; |
133 |
text-align: left; |
134 |
} |
135 |
|
136 |
.col-md-6 { |
137 |
width: 58%; |
138 |
margin-left: 0.3em; |
139 |
} |
140 |
.my-col-9 { |
141 |
width: 75%; |
142 |
float: left; |
143 |
clear: both; |
144 |
position: relative; |
145 |
} |
146 |
.my-col-3 { |
147 |
width: 25%; |
148 |
float: left; |
149 |
clear: both; |
150 |
position: relative; |
151 |
} |
152 |
#header-bx .col-md-9, #header-box .col-md-3 { |
153 |
padding: 0; |
154 |
font-size: 46px; |
155 |
font-style: italic; |
156 |
text-shadow: 0px 0px 20px #222; |
157 |
} |
158 |
|
159 |
.block { |
160 |
line-height: 150%; |
161 |
padding: 10px 0px 5px 2px; |
162 |
margin: 10px 0px 5px 2px; |
163 |
text-align: justify; |
164 |
font-size: 14px; |
165 |
color: #000000; |
166 |
} |
167 |
|
168 |
.underblock { |
169 |
line-height: 125%; |
170 |
font-size: 14px; |
171 |
text-align: justify; |
172 |
} |
173 |
|
174 |
|
175 |
.block em { |
176 |
vertical-align: super; |
177 |
} |
178 |
|
179 |
a:link { |
180 |
color: #c00000; |
181 |
} |
182 |
|
183 |
a:hover |
184 |
{ |
185 |
color: #000000; |
186 |
} |
187 |
|
188 |
|
189 |
ul.dropdown-menu li { |
190 |
/* background:!important none repeat scroll 0% 0% rgb(255, 255, 255);*/ |
191 |
/* border-bottom: 1px inset rgb(188, 181, 215);*/ |
192 |
filter: none; |
193 |
font-size: 14px; |
194 |
display: block; |
195 |
border-right:none; |
196 |
line-height: 1px; |
197 |
padding: 6px; |
198 |
margin:0px 0px 0px 0px; |
199 |
color: #3f3b42 ; |
200 |
} |
201 |
ul.dropdown-menu { |
202 |
margin:0; |
203 |
font-size:smaller; |
204 |
background-color:rgb(1, 55, 49) ; |
205 |
} |
206 |
.dropdown-menu li a { |
207 |
padding: 3px 20px; |
208 |
width:100%; |
209 |
} |
210 |
li.maintab:hover { |
211 |
background-color:#3F3B42; |
212 |
color:yellow; |
213 |
} |
214 |
.navigation-style ul li a:hover { |
215 |
color: white; |
216 |
text-decoration: none; |
217 |
} |
218 |
.dropdown-menu > li > a:hover { |
219 |
background-color:#3f3b42; |
220 |
} |
221 |
.dropdown-menu > li > a:focus { |
222 |
background-color:#c00000; |
223 |
} |
224 |
.dropdown-menu |
225 |
{ |
226 |
background-color:rgb(1, 55, 40); |
227 |
} |
228 |
/*testing hover */ |
229 |
|
230 |
.panel-body { padding:0px;} |
231 |
.panel-body table tr td { padding-left: 15px } |
232 |
.panel-body .table {margin-bottom: 0px; } |
233 |
|
234 |
li.a { |
235 |
color:#000; |
236 |
border-right:none; |
237 |
list-style-type:square; |
238 |
} |
239 |
.header-color{ |
240 |
color:red; |
241 |
} |
242 |
|
243 |
.well { |
244 |
background-color:#f7f7f7; |
245 |
border-radius: 0px; |
246 |
} |
247 |
|
248 |
.col-md-4 { |
249 |
padding:0px 10px 0px 0px; |
250 |
width:14%; |
251 |
margin-left:15%; |
252 |
margin-top:2%; |
253 |
text-align:center; |
254 |
} |
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; |
263 |
width: auto; |
264 |
|
265 |
} |
266 |
.col-lg-12 { |
267 |
list-style:none; |
268 |
} |
269 |
.dropdown-menu-large > li > ul { |
270 |
padding: 0; |
271 |
margin: 0; |
272 |
} |
273 |
.dropdown-menu-large > li > ul > li { |
274 |
list-style: none; |
275 |
} |
276 |
.dropdown-menu-large > li > ul > li > a { |
277 |
display: block; |
278 |
padding: 3px 20px; |
279 |
clear: both; |
280 |
font-weight: normal; |
281 |
line-height: 1.428571429; |
282 |
// color: white; |
283 |
white-space: normal; |
284 |
} |
285 |
|
286 |
|
287 |
.dropdown-menu-large > li ul > li > a:hover { |
288 |
text-decoration: none; |
289 |
background-color: #3f3b42; |
290 |
} |
291 |
.dropdown-menu-large > li ul > li > a:focus { |
292 |
text-decoration: none; |
293 |
color: #262626; |
294 |
*/background-color: #f5f5f5;*/ |
295 |
/head} |
296 |
.dropdown-menu-large .disabled > a, |
297 |
.dropdown-menu-large .disabled > a:hover, |
298 |
.dropdown-menu-large .disabled > a:focus { |
299 |
color: #999999; |
300 |
} |
301 |
.dropdown-menu-large .disabled > a:hover, |
302 |
.dropdown-menu-large .disabled > a:focus { |
303 |
text-decoration: none; |
304 |
background-color: transparent; |
305 |
background-image: none; |
306 |
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); |
307 |
cursor: not-allowed; |
308 |
} |
309 |
.dropdown-menu-large .dropdown-header { |
310 |
color: white ; |
311 |
font-size: 18px; |
312 |
} |
313 |
@media (max-width: 768px) { |
314 |
.dropdown-menu-large { |
315 |
margin-left: 0 ; |
316 |
margin-right: 0 ; |
317 |
} |
318 |
.dropdown-menu-large > li { |
319 |
margin-bottom: 30px; |
320 |
} |
321 |
.dropdown-menu-large > li:last-child { |
322 |
margin-bottom: 0; |
323 |
} |
324 |
.dropdown-menu-large .dropdown-header { |
325 |
padding: 3px 15px !important; |
326 |
} |
327 |
} |
328 |
/* style map styles end */ |
329 |
/*dropsown sub menu css */ |
330 |
|
331 |
.dropdown-submenu { |
332 |
position: relative; |
333 |
} |
334 |
|
335 |
.dropdown-submenu>.dropdown-menu { |
336 |
top: 0; |
337 |
left: 100%; |
338 |
margin-top: -6px; |
339 |
margin-left: -1px; |
340 |
-webkit-border-radius: 0 6px 6px 6px; |
341 |
-moz-border-radius: 0 6px 6px; |
342 |
border-radius: 0 6px 6px 6px; |
343 |
} |
344 |
|
345 |
.dropdown-submenu:hover>.dropdown-menu { |
346 |
display: block; |
347 |
} |
348 |
|
349 |
.dropdown-submenu>a:after { |
350 |
display: block; |
351 |
content: " "; |
352 |
float: right; |
353 |
width: 0; |
354 |
height: 0; |
355 |
border-color: transparent; |
356 |
border-style: solid; |
357 |
border-width: 5px 0 5px 5px; |
358 |
border-left-color: #ccc; |
359 |
margin-top: 5px; |
360 |
margin-right: -10px; |
361 |
} |
362 |
|
363 |
.dropdown-submenu:hover>a:after { |
364 |
border-left-color: #fff; |
365 |
} |
366 |
|
367 |
.dropdown-submenu.pull-left { |
368 |
float: none; |
369 |
} |
370 |
|
371 |
.dropdown-submenu.pull-left>.dropdown-menu { |
372 |
left: -100%; |
373 |
margin-left: 10px; |
374 |
-webkit-border-radius: 6px 0 6px 6px; |
375 |
-moz-border-radius: 6px 0 6px 6px; |
376 |
border-radius: 6px 0 6px 6px; |
377 |
} |
378 |
/* drop down menu css ends here */ |
379 |
|
380 |
/* footer social icons style*/ |
381 |
#footer-container { |
382 |
margin-bottom:20px; |
383 |
} |
384 |
.social-icons { |
385 |
|
386 |
} |
387 |
|
388 |
.panel-default > .panel-heading { |
389 |
background-color: #000; |
390 |
padding: 5px 0px; |
391 |
} |
392 |
|
393 |
.footer-links { |
394 |
margin-top: 1px; |
395 |
} |
396 |
|
397 |
.footer-links a { |
398 |
osition: relative; |
399 |
color:#fff; |
400 |
font-size: 18px; |
401 |
margin-top: 15px; |
402 |
height: 41px; |
403 |
background: none repeat scroll 0% 0% rgb(1, 55, 40); |
404 |
margin:0px 0px 0px 20px; |
405 |
padding:0px 10px; |
406 |
|
407 |
} |
408 |
.footer-links a:hover{ |
409 |
color:white; |
410 |
background-color:#3f3b42; |
411 |
text-decoration:none; |
412 |
} |
413 |
#pageview-counter-wrapper { |
414 |
margin-top: 3px; |
415 |
} |
416 |
#collapse-sitemap .panel-body { |
417 |
background-color:rgb(1, 55, 40); |
418 |
padding-bottom:5px; |
419 |
} |
420 |
|
421 |
#small-footer { |
422 |
font-size:12px; |
423 |
margin-top:10px; |
424 |
} |
425 |
/* footer style ends here */ |
426 |
|
427 |
/* Search box styles */ |
428 |
|
429 |
.input-group { |
430 |
flaot:right; |
431 |
position: relative; |
432 |
display: table; |
433 |
border-collapse: separate; |
434 |
margin-top: 7.5%; |
435 |
} |
436 |
|
437 |
.footer-style { |
438 |
position: relative; |
439 |
font-size: 16px; |
440 |
color:#fff; |
441 |
height: 35px; |
442 |
background: none repeat scroll 0% 0% rgb(1, 55, 40); |
443 |
padding-top:2px; |
444 |
margin-top:4%; |
445 |
} |
446 |
|
447 |
.footer-style li { |
448 |
width:auto; |
449 |
color:red; |
450 |
font-size: 16px; |
451 |
line-height: 35px; |
452 |
padding: 0px 20px; |
453 |
text-decoration: none; |
454 |
display: inline-block; |
455 |
border-right: 1px solid rgb(255, 255, 255); |
456 |
|
457 |
} |
458 |
|
459 |
.footer-style li a { |
460 |
width:auto; |
461 |
color:white; |
462 |
} |
463 |
.dropdown-menu-large > li ul > li > a{ |
464 |
color:white; |
465 |
padding-left: 0px; |
466 |
padding-right: 5px; |
467 |
|
468 |
} |
469 |
|
470 |
.dropdown-menu-large > li ul > li > a:hover{ |
471 |
color:white; |
472 |
} |
473 |
|
474 |
/* |
475 |
* Remove text-shadow in selection highlight: h5bp.com/i |
476 |
* These selection rule sets have to be separate. |
477 |
* Customize the background color to match your design. |
478 |
*/ |
479 |
|
480 |
::-moz-selection { |
481 |
background: #b3d4fc; |
482 |
text-shadow: none; |
483 |
} |
484 |
|
485 |
::selection { |
486 |
background: #b3d4fc; |
487 |
text-shadow: none; |
488 |
} |
489 |
|
490 |
|
491 |
@import url('//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css'); |
492 |
@import url('//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css'); |
493 |
|
494 |
.panel-heading { |
495 |
cursor: pointer; |
496 |
} |
497 |
|
498 |
/* CSS Method for adding Font Awesome Chevron Icons */ |
499 |
.accordion-toggle:after { |
500 |
/* symbol for "opening" panels */ |
501 |
font-family:'FontAwesome'; |
502 |
content:"\f077"; |
503 |
float: right; |
504 |
color: inherit; |
505 |
} |
506 |
.panel-heading.collapsed .accordion-toggle:after { |
507 |
/* symbol for "collapsed" panels */ |
508 |
content:"\f078"; |
509 |
|
510 |
/* |
511 |
* A better looking default horizontal rule |
512 |
*/ |
513 |
|
514 |
hr { |
515 |
display: block; |
516 |
height: 1px; |
517 |
border: 0; |
518 |
border-top: 1px solid #ccc; |
519 |
margin: 1em 0; |
520 |
padding: 0; |
521 |
} |
522 |
|
523 |
/* |
524 |
* Remove the gap between images, videos, audio and canvas and the bottom of |
525 |
* their containers: h5bp.com/i/440 |
526 |
*/ |
527 |
|
528 |
audio, |
529 |
canvas, |
530 |
img, |
531 |
video { |
532 |
vertical-align: middle; |
533 |
} |
534 |
|
535 |
/* |
536 |
* Remove default fieldset styles. |
537 |
*/ |
538 |
|
539 |
fieldset { |
540 |
border: 0; |
541 |
margin: 0; |
542 |
padding: 0; |
543 |
} |
544 |
|
545 |
/* |
546 |
* Allow only vertical resizing of textareas. |
547 |
*/ |
548 |
|
549 |
textarea { |
550 |
resize: vertical; |
551 |
} |
552 |
|
553 |
/* ========================================================================== |
554 |
Browse Happy prompt |
555 |
========================================================================== */ |
556 |
|
557 |
.browsehappy { |
558 |
margin: 0.2em 0; |
559 |
background: #ccc; |
560 |
color: #000; |
561 |
padding: 0.2em 0; |
562 |
} |
563 |
|
564 |
/* ========================================================================== |
565 |
Author's custom styles |
566 |
========================================================================== */ |
567 |
body { |
568 |
padding: 30px 0px; |
569 |
margin: 0; |
570 |
padding: 0; |
571 |
font-family:'Roboto', sans-serif; |
572 |
background-color:#dbdfdd; |
573 |
margin-top:0px; |
574 |
overflow-y:scroll; |
575 |
font-size:18px; |
576 |
} |
577 |
#lightbox .modal-content { |
578 |
display: inline-block; |
579 |
text-align: center; |
580 |
width:136%; |
581 |
} |
582 |
|
583 |
#lightbox .close { |
584 |
opacity: 1; |
585 |
color: rgb(255, 255, 255); |
586 |
background-color: rgb(25, 25, 25); |
587 |
padding: 5px 8px; |
588 |
border-radius: 30px; |
589 |
border: 2px solid rgb(255, 255, 255); |
590 |
position: absolute; |
591 |
top: -15px; |
592 |
right: -55px; |
593 |
|
594 |
z-index:1032; |
595 |
} |
596 |
.head |
597 |
{ |
598 |
font-size: 46px; |
599 |
font-style: italic; |
600 |
text-shadow: 0px 0px 20px #222; |
601 |
} |
602 |
.media-object .dp .img-circle |
603 |
{ |
604 |
width:150px; |
605 |
height:150px; |
606 |
} |
607 |
/* carousel */ |
608 |
#quote-carousel |
609 |
{ |
610 |
padding: 0 10px 30px 10px; |
611 |
margin-top: 30px 0px 0px; |
612 |
|
613 |
} |
614 |
/* Control buttons */ |
615 |
#quote-carousel .carousel-control |
616 |
{ |
617 |
background: none; |
618 |
color: #222; |
619 |
font-size: 2.3em; |
620 |
text-shadow: none; |
621 |
margin-top: 30px; |
622 |
} |
623 |
/* Previous button */ |
624 |
#quote-carousel .carousel-control.left |
625 |
{ |
626 |
left: -12px; |
627 |
background-image:url( ); |
628 |
} |
629 |
/* Next button */ |
630 |
#quote-carousel .carousel-control.right |
631 |
{ |
632 |
right: -12px !important; |
633 |
right: 0px; |
634 |
left: auto; |
635 |
background-repeat: repeat-x; |
636 |
} |
637 |
/* Changes the position of the indicators */ |
638 |
#quote-carousel .carousel-indicators |
639 |
{ |
640 |
right: 50%; |
641 |
top: auto; |
642 |
bottom: 0px; |
643 |
margin-right: -19px; |
644 |
} |
645 |
/* Changes the color of the indicators */ |
646 |
#quote-carousel .carousel-indicators li |
647 |
{ |
648 |
background: #c0c0c0; |
649 |
} |
650 |
#quote-carousel .carousel-indicators .active |
651 |
{ |
652 |
background: #333333; |
653 |
} |
654 |
#quote-carousel img |
655 |
{ |
656 |
width: 250px; |
657 |
height: 100px |
658 |
} |
659 |
/* End carousel */ |
660 |
|
661 |
.item blockquote { |
662 |
border-left: none; |
663 |
margin: 0; |
664 |
|
665 |
} |
666 |
.item blockquote img { |
667 |
margin-bottom: 10px; |
668 |
|
669 |
} |
670 |
.item blockquote p:before { |
671 |
content: "\f10d"; |
672 |
font-family: 'Fontawesome'; |
673 |
float: left; |
674 |
margin-right: 10px; |
675 |
|
676 |
} |
677 |
|
678 |
|
679 |
/** |
680 |
MEDIA QUERIES |
681 |
*/ |
682 |
|
683 |
/* Small devices (tablets, 768px and up) */ |
684 |
@media (min-width: 768px) { |
685 |
#quote-carousel |
686 |
{ |
687 |
margin-bottom: 0; |
688 |
padding: 0 40px 30px 40px; |
689 |
margin-top: 30px; |
690 |
|
691 |
|
692 |
|
693 |
} |
694 |
} |
695 |
/* Small devices (tablets, up to 768px) */ |
696 |
@media (max-width: 768px) { |
697 |
|
698 |
/* Make the indicators larger for easier clicking with fingers/thumb on mobile */ |
699 |
|
700 |
#quote-carousel .carousel-indicators { |
701 |
bottom: -20px !important; |
702 |
} |
703 |
#quote-carousel .carousel-indicators li { |
704 |
display: inline-block; |
705 |
margin: 0px 5px; |
706 |
width: 15px; |
707 |
height: 15px; |
708 |
} |
709 |
|
710 |
#quote-carousel .carousel-indicators li.active { |
711 |
margin: 0px 5px; |
712 |
width: 20px; |
713 |
height: 20px; |
714 |
|
715 |
} |
716 |
|
717 |
.destacados{ |
718 |
padding: 20px 0; |
719 |
text-align: center; |
720 |
|
721 |
} |
722 |
.destacados > div > div{ |
723 |
padding: 10px; |
724 |
border: 1px solid transparent; |
725 |
border-radius: 4px; |
726 |
transition: 0.2s; |
727 |
} |
728 |
.destacados > div:hover > div{ |
729 |
margin-top: -10px; |
730 |
border: 1px solid rgb(200, 200, 200); |
731 |
box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 5px 2px; |
732 |
background: rgba(200, 200, 200, 0.1); |
733 |
transition: 0.5s; |
734 |
} |
735 |
|
736 |
|
737 |
|
738 |
|
739 |
|
740 |
#text |
741 |
{ |
742 |
text-shadow: 0px 4px 7px rgb(29, 104, 96); |
743 |
color: rgb(1, 55, 49); |
744 |
font: 40px tahoma, sans-serif, arial; |
745 |
position:absolute; |
746 |
top: 1%; |
747 |
padding-left: 10px; |
748 |
} |
749 |
|
750 |
/* ========================================================================== |
751 |
Helper classes |
752 |
========================================================================== */ |
753 |
|
754 |
/* |
755 |
* Image replacement |
756 |
*/ |
757 |
|
758 |
.ir { |
759 |
background-color: transparent; |
760 |
border: 0; |
761 |
overflow: hidden; |
762 |
/* IE 6/7 fallback */ |
763 |
*text-indent: -9999px; |
764 |
} |
765 |
|
766 |
.ir:before { |
767 |
content: ""; |
768 |
display: block; |
769 |
width: 0; |
770 |
height: 150%; |
771 |
} |
772 |
|
773 |
/* |
774 |
* Hide from both screenreaders and browsers: h5bp.com/u |
775 |
*/ |
776 |
|
777 |
.hidden { |
778 |
display: none !important; |
779 |
visibility: hidden; |
780 |
} |
781 |
|
782 |
/* |
783 |
* Hide only visually, but have it available for screenreaders: h5bp.com/v |
784 |
*/ |
785 |
|
786 |
.visuallyhidden { |
787 |
border: 0; |
788 |
clip: rect(0 0 0 0); |
789 |
height: 1px; |
790 |
margin: -1px; |
791 |
overflow: hidden; |
792 |
padding: 0; |
793 |
position: absolute; |
794 |
width: 1px; |
795 |
} |
796 |
|
797 |
/* |
798 |
* Extends the .visuallyhidden class to allow the element to be focusable |
799 |
* when navigated to via the keyboard: h5bp.com/p |
800 |
*/ |
801 |
|
802 |
.visuallyhidden.focusable:active, |
803 |
.visuallyhidden.focusable:focus { |
804 |
clip: auto; |
805 |
height: auto; |
806 |
margin: 0; |
807 |
overflow: visible; |
808 |
position: static; |
809 |
width: auto; |
810 |
} |
811 |
|
812 |
/* |
813 |
* Hide visually and from screenreaders, but maintain layout |
814 |
*/ |
815 |
|
816 |
.invisible { |
817 |
visibility: hidden; |
818 |
} |
819 |
|
820 |
/* |
821 |
* Clearfix: contain floats |
822 |
* |
823 |
* For modern browsers |
824 |
* 1. The space content is one way to avoid an Opera bug when the |
825 |
* `contenteditable` attribute is included anywhere else in the document. |
826 |
* Otherwise it causes space to appear at the top and bottom of elements |
827 |
* that receive the `clearfix` class. |
828 |
* 2. The use of `table` rather than `block` is only necessary if using |
829 |
* `:before` to contain the top-margins of child elements. |
830 |
*/ |
831 |
|
832 |
.clearfix:before, |
833 |
.clearfix:after { |
834 |
content: " "; /* 1 */ |
835 |
display: table; /* 2 */ |
836 |
} |
837 |
|
838 |
.clearfix:after { |
839 |
clear: both; |
840 |
} |
841 |
|
842 |
/* |
843 |
* For IE 6/7 only |
844 |
* Include this rule to trigger hasLayout and contain floats. |
845 |
*/ |
846 |
|
847 |
.clearfix { |
848 |
*zoom: 1; |
849 |
} |
850 |
|
851 |
/* ========================================================================== |
852 |
EXAMPLE Media Queries for Responsive Design. |
853 |
These examples override the primary ('mobile first') styles. |
854 |
Modify as content requires. |
855 |
========================================================================== */ |
856 |
|
857 |
@media only screen and (min-width: 35em) { |
858 |
/* Style adjustments for viewports that meet the condition */ |
859 |
} |
860 |
|
861 |
@media print, |
862 |
(-o-min-device-pixel-ratio: 5/4), |
863 |
(-webkit-min-device-pixel-ratio: 1.25), |
864 |
(min-resolution: 120dpi) { |
865 |
/* Style adjustments for high resolution devices */ |
866 |
} |
867 |
|
868 |
/* ========================================================================== |
869 |
Print styles. |
870 |
Inlined to avoid required HTTP connection: h5bp.com/r |
871 |
========================================================================== */ |
872 |
|
873 |
@media print { |
874 |
* { |
875 |
background: transparent !important; |
876 |
color: #000 !important; /* Black prints faster: h5bp.com/s */ |
877 |
box-shadow: none !important; |
878 |
text-shadow: none !important; |
879 |
} |
880 |
|
881 |
a, |
882 |
a:visited { |
883 |
text-decoration: underline; |
884 |
} |
885 |
|
886 |
a[href]:after { |
887 |
content: " (" attr(href) ")"; |
888 |
} |
889 |
|
890 |
abbr[title]:after { |
891 |
content: " (" attr(title) ")"; |
892 |
} |
893 |
|
894 |
/* |
895 |
* Don't show links for images, or javascript/internal links |
896 |
*/ |
897 |
|
898 |
.ir a:after, |
899 |
a[href^="javascript:"]:after, |
900 |
a[href^="#"]:after { |
901 |
content: ""; |
902 |
} |
903 |
|
904 |
pre, |
905 |
blockquote { |
906 |
border: 1px solid #999; |
907 |
page-break-inside: avoid; |
908 |
} |
909 |
|
910 |
thead { |
911 |
display: table-header-group; /* h5bp.com/t */ |
912 |
} |
913 |
|
914 |
tr, |
915 |
img { |
916 |
page-break-inside: avoid; |
917 |
} |
918 |
|
919 |
img { |
920 |
max-width: 100% !important; |
921 |
} |
922 |
|
923 |
@page { |
924 |
margin: 0.5cm; |
925 |
} |
926 |
|
927 |
p, |
928 |
h2, |
929 |
h3 { |
930 |
orphans: 3; |
931 |
widows: 3; |
932 |
} |
933 |
|
934 |
h2, |
935 |
h3 { |
936 |
page-break-after: avoid; |
937 |
} |
938 |
} |
939 |
li .dropdown .maintab: hover ul .dropdown-menu |
940 |
{ display:block; |
941 |
} |