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