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