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