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