| 1 |
/* =Infinity Styles |
| 2 |
-------------------------------------------------------------- */ |
| 3 |
|
| 4 |
.infinite-wrap { |
| 5 |
} |
| 6 |
.infinite-loader { |
| 7 |
color: #000; |
| 8 |
display: block; |
| 9 |
height: 28px; |
| 10 |
text-indent: -9999px; |
| 11 |
} |
| 12 |
#infinite-handle span { |
| 13 |
background: #333; |
| 14 |
border-radius: 1px; |
| 15 |
color: #eee; |
| 16 |
cursor: pointer; |
| 17 |
font-size: 13px; |
| 18 |
padding: 6px 16px; |
| 19 |
} |
| 20 |
|
| 21 |
/** |
| 22 |
* Using a highly-specific rule to make sure that all button styles |
| 23 |
* will be reset |
| 24 |
*/ |
| 25 |
#infinite-handle span button, |
| 26 |
#infinite-handle span button:hover, |
| 27 |
#infinite-handle span button:focus { |
| 28 |
display: inline; |
| 29 |
position: static; |
| 30 |
padding: 0; |
| 31 |
margin: 0; |
| 32 |
border: none; |
| 33 |
line-height: inherit; |
| 34 |
background: transparent; |
| 35 |
color: inherit; |
| 36 |
cursor: inherit; |
| 37 |
font-size: inherit; |
| 38 |
font-weight: inherit; |
| 39 |
font-family: inherit; |
| 40 |
} |
| 41 |
|
| 42 |
/** |
| 43 |
* This is used to avoid unnecessary inner button spacing in Firefox |
| 44 |
*/ |
| 45 |
#infinite-handle span button::-moz-focus-inner { |
| 46 |
margin: 0; |
| 47 |
padding: 0; |
| 48 |
border: none; |
| 49 |
} |
| 50 |
|
| 51 |
/** |
| 52 |
* For smaller viewports, remove the down-arrow icon and turn |
| 53 |
* the button into a block element, spanning the content's full width. |
| 54 |
*/ |
| 55 |
@media (max-width: 800px) { |
| 56 |
#infinite-handle span:before { |
| 57 |
display: none; |
| 58 |
} |
| 59 |
#infinite-handle span { |
| 60 |
display: block; |
| 61 |
} |
| 62 |
} |
| 63 |
|
| 64 |
/** |
| 65 |
* Footer |
| 66 |
*/ |
| 67 |
#infinite-footer { |
| 68 |
position: fixed; |
| 69 |
bottom: -50px; |
| 70 |
left: 0; |
| 71 |
width: 100%; |
| 72 |
} |
| 73 |
#infinite-footer a { |
| 74 |
text-decoration: none; |
| 75 |
} |
| 76 |
#infinite-footer .blog-info a:hover, |
| 77 |
#infinite-footer .blog-credits a:hover { |
| 78 |
color: #444; |
| 79 |
text-decoration: underline; |
| 80 |
} |
| 81 |
#infinite-footer .container { |
| 82 |
background: rgba( 255, 255, 255, 0.8 ); |
| 83 |
border-color: #ccc; |
| 84 |
border-color: rgba( 0, 0, 0, 0.1 ); |
| 85 |
border-style: solid; |
| 86 |
border-width: 1px 0 0; |
| 87 |
-moz-box-sizing: border-box; |
| 88 |
box-sizing: border-box; |
| 89 |
margin: 0 auto; |
| 90 |
overflow: hidden; |
| 91 |
padding: 1px 20px; |
| 92 |
width: 780px; |
| 93 |
} |
| 94 |
#infinite-footer .blog-info, |
| 95 |
#infinite-footer .blog-credits { |
| 96 |
-moz-box-sizing: border-box; |
| 97 |
-webkit-box-sizing: border-box; |
| 98 |
box-sizing: border-box; |
| 99 |
line-height: 25px; |
| 100 |
} |
| 101 |
#infinite-footer .blog-info { |
| 102 |
float: left; |
| 103 |
overflow: hidden; |
| 104 |
text-align: left; |
| 105 |
text-overflow: ellipsis; |
| 106 |
white-space: nowrap; |
| 107 |
width: 40%; |
| 108 |
} |
| 109 |
#infinite-footer .blog-credits { |
| 110 |
font-weight: normal; |
| 111 |
float: right; |
| 112 |
width: 60%; |
| 113 |
} |
| 114 |
#infinite-footer .blog-info a { |
| 115 |
color: #111; |
| 116 |
font-size: 14px; |
| 117 |
font-weight: bold; |
| 118 |
} |
| 119 |
#infinite-footer .blog-credits { |
| 120 |
color: #888; |
| 121 |
font-size: 12px; |
| 122 |
text-align: right; |
| 123 |
} |
| 124 |
#infinite-footer .blog-credits a { |
| 125 |
color: #666; |
| 126 |
} |
| 127 |
|
| 128 |
/** |
| 129 |
* Hooks to infinity-end body class to restore footer |
| 130 |
*/ |
| 131 |
.infinity-end.neverending #infinite-footer { |
| 132 |
display: none; |
| 133 |
} |
| 134 |
|
| 135 |
/** |
| 136 |
* Responsive structure for the footer |
| 137 |
*/ |
| 138 |
@media (max-width: 640px) { |
| 139 |
#infinite-footer .container { |
| 140 |
-moz-box-sizing: border-box; |
| 141 |
-webkit-box-sizing: border-box; |
| 142 |
box-sizing: border-box; |
| 143 |
width: 100%; |
| 144 |
} |
| 145 |
#infinite-footer .blog-info { |
| 146 |
width: 30%; |
| 147 |
} |
| 148 |
#infinite-footer .blog-credits { |
| 149 |
width: 70%; |
| 150 |
} |
| 151 |
#infinite-footer .blog-info a, |
| 152 |
#infinite-footer .blog-credits { |
| 153 |
font-size: 10px; |
| 154 |
} |
| 155 |
} |
| 156 |
|
| 157 |
/** |
| 158 |
* No fixed footer on small viewports |
| 159 |
*/ |
| 160 |
@media ( max-width: 640px ) { |
| 161 |
#infinite-footer { |
| 162 |
position: static; |
| 163 |
} |
| 164 |
} |