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 |
|
157 |
.heading { |
158 |
border-bottom:1px solid #262525; |
159 |
} |
160 |
|
161 |
#message { |
162 |
padding-left: 15px; |
163 |
padding-right: -15px; |
164 |
} |
165 |
|
166 |
|
167 |
.menu-toggle { |
168 |
font-size:18px; |
169 |
color:#000; |
170 |
} |
171 |
.menu-icon { |
172 |
margin-left: -30px; |
173 |
} |
174 |
.main_icon { |
175 |
margin-right:20px; |
176 |
} |
177 |
|
178 |
.personal-info,.server-stats { |
179 |
list-style: none; |
180 |
padding-left: 0; |
181 |
} |
182 |
|
183 |
.progress { |
184 |
|
185 |
height: 5px; |
186 |
} |
187 |
|
188 |
h5 { |
189 |
color: #000; |
190 |
} |
191 |
|
192 |
.radio, .checkbox { |
193 |
color:#000; |
194 |
margin-left: 10px; |
195 |
} |
196 |
.radio label, .checkbox label { |
197 |
font-size:14px; |
198 |
} |
199 |
|
200 |
.sidebar-wrapper { |
201 |
/*transform*/ |
202 |
|
203 |
-webkit-transform: translateZ(0); |
204 |
-moz-transform: translateZ(0); |
205 |
-o-transform: translateZ(0); |
206 |
-ms-transform: translateZ(0); |
207 |
transform: translateZ(0); |
208 |
margin-left: -250px; |
209 |
left: 20px; |
210 |
margin-top:0px; |
211 |
width: 265px; |
212 |
background: #f0f0f0; |
213 |
position: fixed; |
214 |
height: auto; |
215 |
-ms-overflow-y: auto; |
216 |
overflow-y: auto; |
217 |
|
218 |
|
219 |
z-index: 10000; |
220 |
-webkit-transition: all .4s ease 0s; |
221 |
-moz-transition: all .4s ease 0s; |
222 |
-o-transition: all .4s ease 0s; |
223 |
-ms-transition: all .4s ease 0s; |
224 |
transition: all .4s ease 0s; |
225 |
} |
226 |
|
227 |
.sidebar-link a{ |
228 |
color:#262525; |
229 |
padding-left:10px; |
230 |
font-size:16px; |
231 |
} |
232 |
.sidebar-link a:hover{ |
233 |
color:#262525; |
234 |
} |
235 |
.sidebar-heading { |
236 |
color:#1e9e04; |
237 |
padding-left:10px; |
238 |
font-size:18px; |
239 |
|
240 |
} |
241 |
.row { |
242 |
margin-left: 0; |
243 |
margin-right: 0; |
244 |
} |
245 |
/* main navigation image style */ |
246 |
.default { |
247 |
width:50px; |
248 |
} |
249 |
#navpos { |
250 |
margin-left:15%; |
251 |
padding-left:3%; |
252 |
} |
253 |
/* main navigation image style end */ |
254 |
|
255 |
|
256 |
/* |
257 |
* Remove the gap between images, videos, audio and canvas and the bottom of |
258 |
* their containers: h5bp.com/i/440 |
259 |
*/ |
260 |
|
261 |
audio, |
262 |
canvas, |
263 |
img, |
264 |
video { |
265 |
vertical-align: middle; |
266 |
} |
267 |
|
268 |
/* |
269 |
* Remove default fieldset styles. |
270 |
*/ |
271 |
|
272 |
fieldset { |
273 |
border: 0; |
274 |
margin: 0; |
275 |
padding: 0; |
276 |
} |
277 |
|
278 |
/* |
279 |
* Allow only vertical resizing of textareas. |
280 |
*/ |
281 |
|
282 |
textarea { |
283 |
resize: vertical; |
284 |
} |
285 |
|
286 |
/* ========================================================================== |
287 |
Browse Happy prompt |
288 |
========================================================================== */ |
289 |
|
290 |
.browsehappy { |
291 |
margin: 0.2em 0; |
292 |
background: #ccc; |
293 |
color: #000; |
294 |
padding: 0.2em 0; |
295 |
} |
296 |
|
297 |
/* ========================================================================== |
298 |
Author's custom styles |
299 |
========================================================================== */ |
300 |
|
301 |
|
302 |
/* ========================================================================== |
303 |
Helper classes |
304 |
========================================================================== */ |
305 |
|
306 |
/* |
307 |
* Image replacement |
308 |
*/ |
309 |
|
310 |
.ir { |
311 |
background-color: transparent; |
312 |
border: 0; |
313 |
overflow: hidden; |
314 |
/* IE 6/7 fallback */ |
315 |
*text-indent: -9999px; |
316 |
} |
317 |
|
318 |
.ir:before { |
319 |
content: ""; |
320 |
display: block; |
321 |
width: 0; |
322 |
height: 150%; |
323 |
} |
324 |
|
325 |
/* |
326 |
* Hide from both screenreaders and browsers: h5bp.com/u |
327 |
*/ |
328 |
|
329 |
.hidden { |
330 |
display: none !important; |
331 |
visibility: hidden; |
332 |
} |
333 |
|
334 |
/* |
335 |
* Hide only visually, but have it available for screenreaders: h5bp.com/v |
336 |
*/ |
337 |
|
338 |
.visuallyhidden { |
339 |
border: 0; |
340 |
clip: rect(0 0 0 0); |
341 |
height: 1px; |
342 |
margin: -1px; |
343 |
overflow: hidden; |
344 |
padding: 0; |
345 |
position: absolute; |
346 |
width: 1px; |
347 |
} |
348 |
|
349 |
/* |
350 |
* Extends the .visuallyhidden class to allow the element to be focusable |
351 |
* when navigated to via the keyboard: h5bp.com/p |
352 |
*/ |
353 |
|
354 |
.visuallyhidden.focusable:active, |
355 |
.visuallyhidden.focusable:focus { |
356 |
clip: auto; |
357 |
height: auto; |
358 |
margin: 0; |
359 |
overflow: visible; |
360 |
position: static; |
361 |
width: auto; |
362 |
} |
363 |
|
364 |
/* |
365 |
* Hide visually and from screenreaders, but maintain layout |
366 |
*/ |
367 |
|
368 |
.invisible { |
369 |
visibility: hidden; |
370 |
} |
371 |
|
372 |
/* |
373 |
* Clearfix: contain floats |
374 |
* |
375 |
* For modern browsers |
376 |
* 1. The space content is one way to avoid an Opera bug when the |
377 |
* `contenteditable` attribute is included anywhere else in the document. |
378 |
* Otherwise it causes space to appear at the top and bottom of elements |
379 |
* that receive the `clearfix` class. |
380 |
* 2. The use of `table` rather than `block` is only necessary if using |
381 |
* `:before` to contain the top-margins of child elements. |
382 |
*/ |
383 |
|
384 |
.clearfix:before, |
385 |
.clearfix:after { |
386 |
content: " "; /* 1 */ |
387 |
display: table; /* 2 */ |
388 |
} |
389 |
|
390 |
.clearfix:after { |
391 |
clear: both; |
392 |
} |
393 |
|
394 |
/* |
395 |
* For IE 6/7 only |
396 |
* Include this rule to trigger hasLayout and contain floats. |
397 |
*/ |
398 |
|
399 |
.clearfix { |
400 |
*zoom: 1; |
401 |
} |
402 |
|
403 |
/* ========================================================================== |
404 |
EXAMPLE Media Queries for Responsive Design. |
405 |
These examples override the primary ('mobile first') styles. |
406 |
Modify as content requires. |
407 |
========================================================================== */ |
408 |
|
409 |
@media only screen and (min-width: 35em) { |
410 |
/* Style adjustments for viewports that meet the condition */ |
411 |
} |
412 |
|
413 |
@media print, |
414 |
(-o-min-device-pixel-ratio: 5/4), |
415 |
(-webkit-min-device-pixel-ratio: 1.25), |
416 |
(min-resolution: 120dpi) { |
417 |
/* Style adjustments for high resolution devices */ |
418 |
} |
419 |
|
420 |
/* ========================================================================== |
421 |
Print styles. |
422 |
Inlined to avoid required HTTP connection: h5bp.com/r |
423 |
========================================================================== */ |
424 |
|
425 |
@media print { |
426 |
* { |
427 |
background: transparent !important; |
428 |
color: #000 !important; /* Black prints faster: h5bp.com/s */ |
429 |
box-shadow: none !important; |
430 |
text-shadow: none !important; |
431 |
} |
432 |
|
433 |
a, |
434 |
a:visited { |
435 |
text-decoration: underline; |
436 |
} |
437 |
|
438 |
a[href]:after { |
439 |
content: " (" attr(href) ")"; |
440 |
} |
441 |
|
442 |
abbr[title]:after { |
443 |
content: " (" attr(title) ")"; |
444 |
} |
445 |
|
446 |
/* |
447 |
* Don't show links for images, or javascript/internal links |
448 |
*/ |
449 |
|
450 |
.ir a:after, |
451 |
a[href^="javascript:"]:after, |
452 |
a[href^="#"]:after { |
453 |
content: ""; |
454 |
} |
455 |
|
456 |
pre, |
457 |
blockquote { |
458 |
border: 1px solid #999; |
459 |
page-break-inside: avoid; |
460 |
} |
461 |
|
462 |
thead { |
463 |
display: table-header-group; /* h5bp.com/t */ |
464 |
} |
465 |
|
466 |
tr, |
467 |
img { |
468 |
page-break-inside: avoid; |
469 |
} |
470 |
|
471 |
img { |
472 |
max-width: 100% !important; |
473 |
} |
474 |
|
475 |
@page { |
476 |
margin: 0.5cm; |
477 |
} |
478 |
|
479 |
p, |
480 |
h2, |
481 |
h3 { |
482 |
orphans: 3; |
483 |
widows: 3; |
484 |
} |
485 |
|
486 |
h2, |
487 |
h3 { |
488 |
page-break-after: avoid; |
489 |
} |
490 |
} |