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