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