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 |
|
31 |
|
32 |
.navigation-style{ |
33 |
width: 960px; |
34 |
line-height: 30px; |
35 |
position: relative; |
36 |
font-family: Arial,Helvetica,sans-serif; |
37 |
font-size: 12px; |
38 |
float: left; |
39 |
margin-top: 25px; |
40 |
height: 43px; |
41 |
background: none repeat scroll 0% 0% #000; |
42 |
} |
43 |
li { |
44 |
width:auto; |
45 |
color: rgb(255, 255, 255); |
46 |
font-size: 16px; |
47 |
line-height: 41px; |
48 |
padding: 0px 30px; |
49 |
text-decoration: none; |
50 |
border-right: 1px solid rgb(119, 106, 162); |
51 |
display: inline-block; |
52 |
font-family: Helvetica,Arial,Verdana,sans-serif; |
53 |
} |
54 |
li:hover a{ |
55 |
color:red; |
56 |
font-family: Helvetica,Arial,Verdana,sans-serif; |
57 |
font-size: 16px; |
58 |
line-height: 41px; |
59 |
padding: 0px 2px; |
60 |
text-decoration: none; |
61 |
display: inline-block; |
62 |
|
63 |
|
64 |
} |
65 |
|
66 |
|
67 |
.contentholder { |
68 |
float: left; |
69 |
width: 964px; |
70 |
padding: 35px 0px 0px; |
71 |
} |
72 |
.first { |
73 |
margin-left: 0px; |
74 |
padding-left: 0px; |
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 li > ul li{ |
89 |
// background:!important none repeat scroll 0% 0% rgb(255, 255, 255); |
90 |
border-bottom: 1px dotted 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 |
/* |
101 |
* Remove text-shadow in selection highlight: h5bp.com/i |
102 |
* These selection rule sets have to be separate. |
103 |
* Customize the background color to match your design. |
104 |
*/ |
105 |
|
106 |
::-moz-selection { |
107 |
background: #b3d4fc; |
108 |
text-shadow: none; |
109 |
} |
110 |
|
111 |
::selection { |
112 |
background: #b3d4fc; |
113 |
text-shadow: none; |
114 |
} |
115 |
|
116 |
/* |
117 |
* A better looking default horizontal rule |
118 |
*/ |
119 |
|
120 |
hr { |
121 |
display: block; |
122 |
height: 1px; |
123 |
border: 0; |
124 |
border-top: 1px solid #ccc; |
125 |
margin: 1em 0; |
126 |
padding: 0; |
127 |
} |
128 |
|
129 |
/* |
130 |
* Remove the gap between images, videos, audio and canvas and the bottom of |
131 |
* their containers: h5bp.com/i/440 |
132 |
*/ |
133 |
|
134 |
audio, |
135 |
canvas, |
136 |
img, |
137 |
video { |
138 |
vertical-align: middle; |
139 |
} |
140 |
|
141 |
/* |
142 |
* Remove default fieldset styles. |
143 |
*/ |
144 |
|
145 |
fieldset { |
146 |
border: 0; |
147 |
margin: 0; |
148 |
padding: 0; |
149 |
} |
150 |
|
151 |
/* |
152 |
* Allow only vertical resizing of textareas. |
153 |
*/ |
154 |
|
155 |
textarea { |
156 |
resize: vertical; |
157 |
} |
158 |
|
159 |
/* ========================================================================== |
160 |
Browse Happy prompt |
161 |
========================================================================== */ |
162 |
|
163 |
.browsehappy { |
164 |
margin: 0.2em 0; |
165 |
background: #ccc; |
166 |
color: #000; |
167 |
padding: 0.2em 0; |
168 |
} |
169 |
|
170 |
/* ========================================================================== |
171 |
Author's custom styles |
172 |
========================================================================== */ |
173 |
|
174 |
|
175 |
/* ========================================================================== |
176 |
Helper classes |
177 |
========================================================================== */ |
178 |
|
179 |
/* |
180 |
* Image replacement |
181 |
*/ |
182 |
|
183 |
.ir { |
184 |
background-color: transparent; |
185 |
border: 0; |
186 |
overflow: hidden; |
187 |
/* IE 6/7 fallback */ |
188 |
*text-indent: -9999px; |
189 |
} |
190 |
|
191 |
.ir:before { |
192 |
content: ""; |
193 |
display: block; |
194 |
width: 0; |
195 |
height: 150%; |
196 |
} |
197 |
|
198 |
/* |
199 |
* Hide from both screenreaders and browsers: h5bp.com/u |
200 |
*/ |
201 |
|
202 |
.hidden { |
203 |
display: none !important; |
204 |
visibility: hidden; |
205 |
} |
206 |
|
207 |
/* |
208 |
* Hide only visually, but have it available for screenreaders: h5bp.com/v |
209 |
*/ |
210 |
|
211 |
.visuallyhidden { |
212 |
border: 0; |
213 |
clip: rect(0 0 0 0); |
214 |
height: 1px; |
215 |
margin: -1px; |
216 |
overflow: hidden; |
217 |
padding: 0; |
218 |
position: absolute; |
219 |
width: 1px; |
220 |
} |
221 |
|
222 |
/* |
223 |
* Extends the .visuallyhidden class to allow the element to be focusable |
224 |
* when navigated to via the keyboard: h5bp.com/p |
225 |
*/ |
226 |
|
227 |
.visuallyhidden.focusable:active, |
228 |
.visuallyhidden.focusable:focus { |
229 |
clip: auto; |
230 |
height: auto; |
231 |
margin: 0; |
232 |
overflow: visible; |
233 |
position: static; |
234 |
width: auto; |
235 |
} |
236 |
|
237 |
/* |
238 |
* Hide visually and from screenreaders, but maintain layout |
239 |
*/ |
240 |
|
241 |
.invisible { |
242 |
visibility: hidden; |
243 |
} |
244 |
|
245 |
/* |
246 |
* Clearfix: contain floats |
247 |
* |
248 |
* For modern browsers |
249 |
* 1. The space content is one way to avoid an Opera bug when the |
250 |
* `contenteditable` attribute is included anywhere else in the document. |
251 |
* Otherwise it causes space to appear at the top and bottom of elements |
252 |
* that receive the `clearfix` class. |
253 |
* 2. The use of `table` rather than `block` is only necessary if using |
254 |
* `:before` to contain the top-margins of child elements. |
255 |
*/ |
256 |
|
257 |
.clearfix:before, |
258 |
.clearfix:after { |
259 |
content: " "; /* 1 */ |
260 |
display: table; /* 2 */ |
261 |
} |
262 |
|
263 |
.clearfix:after { |
264 |
clear: both; |
265 |
} |
266 |
|
267 |
/* |
268 |
* For IE 6/7 only |
269 |
* Include this rule to trigger hasLayout and contain floats. |
270 |
*/ |
271 |
|
272 |
.clearfix { |
273 |
*zoom: 1; |
274 |
} |
275 |
|
276 |
/* ========================================================================== |
277 |
EXAMPLE Media Queries for Responsive Design. |
278 |
These examples override the primary ('mobile first') styles. |
279 |
Modify as content requires. |
280 |
========================================================================== */ |
281 |
|
282 |
@media only screen and (min-width: 35em) { |
283 |
/* Style adjustments for viewports that meet the condition */ |
284 |
} |
285 |
|
286 |
@media print, |
287 |
(-o-min-device-pixel-ratio: 5/4), |
288 |
(-webkit-min-device-pixel-ratio: 1.25), |
289 |
(min-resolution: 120dpi) { |
290 |
/* Style adjustments for high resolution devices */ |
291 |
} |
292 |
|
293 |
/* ========================================================================== |
294 |
Print styles. |
295 |
Inlined to avoid required HTTP connection: h5bp.com/r |
296 |
========================================================================== */ |
297 |
|
298 |
@media print { |
299 |
* { |
300 |
background: transparent !important; |
301 |
color: #000 !important; /* Black prints faster: h5bp.com/s */ |
302 |
box-shadow: none !important; |
303 |
text-shadow: none !important; |
304 |
} |
305 |
|
306 |
a, |
307 |
a:visited { |
308 |
text-decoration: underline; |
309 |
} |
310 |
|
311 |
a[href]:after { |
312 |
content: " (" attr(href) ")"; |
313 |
} |
314 |
|
315 |
abbr[title]:after { |
316 |
content: " (" attr(title) ")"; |
317 |
} |
318 |
|
319 |
/* |
320 |
* Don't show links for images, or javascript/internal links |
321 |
*/ |
322 |
|
323 |
.ir a:after, |
324 |
a[href^="javascript:"]:after, |
325 |
a[href^="#"]:after { |
326 |
content: ""; |
327 |
} |
328 |
|
329 |
pre, |
330 |
blockquote { |
331 |
border: 1px solid #999; |
332 |
page-break-inside: avoid; |
333 |
} |
334 |
|
335 |
thead { |
336 |
display: table-header-group; /* h5bp.com/t */ |
337 |
} |
338 |
|
339 |
tr, |
340 |
img { |
341 |
page-break-inside: avoid; |
342 |
} |
343 |
|
344 |
img { |
345 |
max-width: 100% !important; |
346 |
} |
347 |
|
348 |
@page { |
349 |
margin: 0.5cm; |
350 |
} |
351 |
|
352 |
p, |
353 |
h2, |
354 |
h3 { |
355 |
orphans: 3; |
356 |
widows: 3; |
357 |
} |
358 |
|
359 |
h2, |
360 |
h3 { |
361 |
page-break-after: avoid; |
362 |
} |
363 |
} |