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 |
} |
74 |
|
75 |
#main-icons { |
76 |
margin-top: 30px; |
77 |
} |
78 |
|
79 |
a, a:hover, a:active{ |
80 |
color:#262525; |
81 |
} |
82 |
/*.navbar-default { |
83 |
background-color:#262525; |
84 |
} |
85 |
.navbar-default .navbar-nav > .active > a { |
86 |
background-color:none; |
87 |
}*/ |
88 |
.navbar-inverse .navbar-brand { |
89 |
color:#1e9e04; |
90 |
} |
91 |
.navbar-inverse .navbar-brand a:hover { |
92 |
color:#262525; |
93 |
} |
94 |
.navbar-inverse .navbar-nav > li > a { |
95 |
color:#1e9e04; |
96 |
} |
97 |
|
98 |
/* side menu css */ |
99 |
|
100 |
#page-content-wrapper { |
101 |
visibility: hidden; |
102 |
} |
103 |
|
104 |
@media (max-width:767px) { |
105 |
.wrapper { |
106 |
padding-left: 70px; |
107 |
} |
108 |
.sidebar-wrapper { |
109 |
left: 70px; |
110 |
} |
111 |
|
112 |
.wrapper.active { |
113 |
padding-left: 150px; |
114 |
} |
115 |
|
116 |
.wrapper.active .sidebar-wrapper { |
117 |
left: 150px; |
118 |
width: 150px; |
119 |
} |
120 |
|
121 |
} |
122 |
|
123 |
.sidebar-wrapper .row { |
124 |
margin: 10px 0; |
125 |
} |
126 |
|
127 |
.link_disabled { |
128 |
pointer-events: none; |
129 |
cursor: none; |
130 |
color: gray; |
131 |
} |
132 |
|
133 |
@media (max-width:450px) { |
134 |
.thumbnail { |
135 |
height: 350px; |
136 |
} |
137 |
|
138 |
.caption_heading { |
139 |
height: 100px; |
140 |
} |
141 |
|
142 |
} |
143 |
/* -------------end ----------- */ |
144 |
.wrapper.active { |
145 |
padding-left: 0px; |
146 |
// border-right:2px solid #000; |
147 |
// margin-left:90px; |
148 |
} |
149 |
|
150 |
.wrapper.active .sidebar-wrapper { |
151 |
left: 250px; |
152 |
border-right:1px solid #00FFFF; |
153 |
|
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 |
|
217 |
|
218 |
z-index: 10000; |
219 |
-webkit-transition: all .4s ease 0s; |
220 |
-moz-transition: all .4s ease 0s; |
221 |
-o-transition: all .4s ease 0s; |
222 |
-ms-transition: all .4s ease 0s; |
223 |
transition: all .4s ease 0s; |
224 |
} |
225 |
|
226 |
.sidebar-link a{ |
227 |
color:#262525; |
228 |
padding-left:10px; |
229 |
font-size:16px; |
230 |
} |
231 |
.sidebar-link a:hover{ |
232 |
color:#262525; |
233 |
} |
234 |
.sidebar-heading { |
235 |
color:#1e9e04; |
236 |
padding-left:10px; |
237 |
font-size:18px; |
238 |
|
239 |
} |
240 |
.row { |
241 |
margin-left: 0; |
242 |
margin-right: 0; |
243 |
} |
244 |
|
245 |
/* |
246 |
* Remove the gap between images, videos, audio and canvas and the bottom of |
247 |
* their containers: h5bp.com/i/440 |
248 |
*/ |
249 |
|
250 |
audio, |
251 |
canvas, |
252 |
img, |
253 |
video { |
254 |
vertical-align: middle; |
255 |
} |
256 |
|
257 |
/* |
258 |
* Remove default fieldset styles. |
259 |
*/ |
260 |
|
261 |
fieldset { |
262 |
border: 0; |
263 |
margin: 0; |
264 |
padding: 0; |
265 |
} |
266 |
|
267 |
/* |
268 |
* Allow only vertical resizing of textareas. |
269 |
*/ |
270 |
|
271 |
textarea { |
272 |
resize: vertical; |
273 |
} |
274 |
|
275 |
/* ========================================================================== |
276 |
Browse Happy prompt |
277 |
========================================================================== */ |
278 |
|
279 |
.browsehappy { |
280 |
margin: 0.2em 0; |
281 |
background: #ccc; |
282 |
color: #000; |
283 |
padding: 0.2em 0; |
284 |
} |
285 |
|
286 |
/* ========================================================================== |
287 |
Author's custom styles |
288 |
========================================================================== */ |
289 |
|
290 |
|
291 |
/* ========================================================================== |
292 |
Helper classes |
293 |
========================================================================== */ |
294 |
|
295 |
/* |
296 |
* Image replacement |
297 |
*/ |
298 |
|
299 |
.ir { |
300 |
background-color: transparent; |
301 |
border: 0; |
302 |
overflow: hidden; |
303 |
/* IE 6/7 fallback */ |
304 |
*text-indent: -9999px; |
305 |
} |
306 |
|
307 |
.ir:before { |
308 |
content: ""; |
309 |
display: block; |
310 |
width: 0; |
311 |
height: 150%; |
312 |
} |
313 |
|
314 |
/* |
315 |
* Hide from both screenreaders and browsers: h5bp.com/u |
316 |
*/ |
317 |
|
318 |
.hidden { |
319 |
display: none !important; |
320 |
visibility: hidden; |
321 |
} |
322 |
|
323 |
/* |
324 |
* Hide only visually, but have it available for screenreaders: h5bp.com/v |
325 |
*/ |
326 |
|
327 |
.visuallyhidden { |
328 |
border: 0; |
329 |
clip: rect(0 0 0 0); |
330 |
height: 1px; |
331 |
margin: -1px; |
332 |
overflow: hidden; |
333 |
padding: 0; |
334 |
position: absolute; |
335 |
width: 1px; |
336 |
} |
337 |
|
338 |
/* |
339 |
* Extends the .visuallyhidden class to allow the element to be focusable |
340 |
* when navigated to via the keyboard: h5bp.com/p |
341 |
*/ |
342 |
|
343 |
.visuallyhidden.focusable:active, |
344 |
.visuallyhidden.focusable:focus { |
345 |
clip: auto; |
346 |
height: auto; |
347 |
margin: 0; |
348 |
overflow: visible; |
349 |
position: static; |
350 |
width: auto; |
351 |
} |
352 |
|
353 |
/* |
354 |
* Hide visually and from screenreaders, but maintain layout |
355 |
*/ |
356 |
|
357 |
.invisible { |
358 |
visibility: hidden; |
359 |
} |
360 |
|
361 |
/* |
362 |
* Clearfix: contain floats |
363 |
* |
364 |
* For modern browsers |
365 |
* 1. The space content is one way to avoid an Opera bug when the |
366 |
* `contenteditable` attribute is included anywhere else in the document. |
367 |
* Otherwise it causes space to appear at the top and bottom of elements |
368 |
* that receive the `clearfix` class. |
369 |
* 2. The use of `table` rather than `block` is only necessary if using |
370 |
* `:before` to contain the top-margins of child elements. |
371 |
*/ |
372 |
|
373 |
.clearfix:before, |
374 |
.clearfix:after { |
375 |
content: " "; /* 1 */ |
376 |
display: table; /* 2 */ |
377 |
} |
378 |
|
379 |
.clearfix:after { |
380 |
clear: both; |
381 |
} |
382 |
|
383 |
/* |
384 |
* For IE 6/7 only |
385 |
* Include this rule to trigger hasLayout and contain floats. |
386 |
*/ |
387 |
|
388 |
.clearfix { |
389 |
*zoom: 1; |
390 |
} |
391 |
|
392 |
/* ========================================================================== |
393 |
EXAMPLE Media Queries for Responsive Design. |
394 |
These examples override the primary ('mobile first') styles. |
395 |
Modify as content requires. |
396 |
========================================================================== */ |
397 |
|
398 |
@media only screen and (min-width: 35em) { |
399 |
/* Style adjustments for viewports that meet the condition */ |
400 |
} |
401 |
|
402 |
@media print, |
403 |
(-o-min-device-pixel-ratio: 5/4), |
404 |
(-webkit-min-device-pixel-ratio: 1.25), |
405 |
(min-resolution: 120dpi) { |
406 |
/* Style adjustments for high resolution devices */ |
407 |
} |
408 |
|
409 |
/* ========================================================================== |
410 |
Print styles. |
411 |
Inlined to avoid required HTTP connection: h5bp.com/r |
412 |
========================================================================== */ |
413 |
|
414 |
@media print { |
415 |
* { |
416 |
background: transparent !important; |
417 |
color: #000 !important; /* Black prints faster: h5bp.com/s */ |
418 |
box-shadow: none !important; |
419 |
text-shadow: none !important; |
420 |
} |
421 |
|
422 |
a, |
423 |
a:visited { |
424 |
text-decoration: underline; |
425 |
} |
426 |
|
427 |
a[href]:after { |
428 |
content: " (" attr(href) ")"; |
429 |
} |
430 |
|
431 |
abbr[title]:after { |
432 |
content: " (" attr(title) ")"; |
433 |
} |
434 |
|
435 |
/* |
436 |
* Don't show links for images, or javascript/internal links |
437 |
*/ |
438 |
|
439 |
.ir a:after, |
440 |
a[href^="javascript:"]:after, |
441 |
a[href^="#"]:after { |
442 |
content: ""; |
443 |
} |
444 |
|
445 |
pre, |
446 |
blockquote { |
447 |
border: 1px solid #999; |
448 |
page-break-inside: avoid; |
449 |
} |
450 |
|
451 |
thead { |
452 |
display: table-header-group; /* h5bp.com/t */ |
453 |
} |
454 |
|
455 |
tr, |
456 |
img { |
457 |
page-break-inside: avoid; |
458 |
} |
459 |
|
460 |
img { |
461 |
max-width: 100% !important; |
462 |
} |
463 |
|
464 |
@page { |
465 |
margin: 0.5cm; |
466 |
} |
467 |
|
468 |
p, |
469 |
h2, |
470 |
h3 { |
471 |
orphans: 3; |
472 |
widows: 3; |
473 |
} |
474 |
|
475 |
h2, |
476 |
h3 { |
477 |
page-break-after: avoid; |
478 |
} |
479 |
} |