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