cff-style.css
235 lines
| 1 | /**************/ |
| 2 | /*** LAYOUT ***/ |
| 3 | /**************/ |
| 4 | /* Feed container */ |
| 5 | #cff { |
| 6 | float: left; |
| 7 | width: 100%; |
| 8 | margin: 0 auto; |
| 9 | -webkit-box-sizing: border-box; |
| 10 | -moz-box-sizing: border-box; |
| 11 | box-sizing: border-box; |
| 12 | } |
| 13 | /* Individual post item */ |
| 14 | #cff .cff-item{ |
| 15 | float: left; |
| 16 | width: 100%; |
| 17 | clear: both; |
| 18 | padding: 20px 0 15px 0; |
| 19 | border-bottom: 1px solid #ddd; |
| 20 | } |
| 21 | #cff .cff-item:first-child{ |
| 22 | padding-top: 0; |
| 23 | } |
| 24 | /* Feed Header */ |
| 25 | .cff-header{ |
| 26 | width: 100%; |
| 27 | margin: 0 0 15px 0; |
| 28 | line-height: 1; |
| 29 | -webkit-box-sizing: border-box; |
| 30 | -moz-box-sizing: border-box; |
| 31 | box-sizing: border-box; |
| 32 | } |
| 33 | .cff-header .fa{ |
| 34 | margin-right: 10px; |
| 35 | } |
| 36 | /******************/ |
| 37 | /*** TYPOGRAPHY ***/ |
| 38 | /******************/ |
| 39 | /*See more/less links*/ |
| 40 | #cff .cff-less{ |
| 41 | display: none; |
| 42 | } |
| 43 | /* Links */ |
| 44 | #cff a { |
| 45 | text-decoration: underline; |
| 46 | } |
| 47 | #cff .cff-post-text-link{ |
| 48 | display: block; |
| 49 | } |
| 50 | /* Post titles and body text */ |
| 51 | #cff h3, #cff h4, #cff h5, #cff h6, #cff p{ |
| 52 | float: left; |
| 53 | width: 100%; |
| 54 | clear: both; |
| 55 | padding: 0; |
| 56 | margin: 5px 0; |
| 57 | line-height: 1.4; |
| 58 | white-space: pre; |
| 59 | white-space: pre-wrap; |
| 60 | white-space: pre-line; |
| 61 | white-space: -pre-wrap; |
| 62 | white-space: -o-pre-wrap; |
| 63 | white-space: -moz-pre-wrap; |
| 64 | white-space: -hp-pre-wrap; |
| 65 | word-wrap: break-word; |
| 66 | } |
| 67 | /* Date */ |
| 68 | #cff .cff-date{ |
| 69 | float: left; |
| 70 | min-width: 50px; |
| 71 | width: auto; |
| 72 | font-size: 11px; |
| 73 | } |
| 74 | /************/ |
| 75 | /***AUTHOR***/ |
| 76 | /************/ |
| 77 | #cff .cff-author{ |
| 78 | float: left; |
| 79 | clear: both; |
| 80 | display: block; |
| 81 | margin-bottom: 15px; |
| 82 | line-height: 1.2; |
| 83 | width: 100%; |
| 84 | } |
| 85 | #cff .cff-author img{ |
| 86 | float: left; |
| 87 | margin-right: 15px; |
| 88 | } |
| 89 | #cff .cff-author span{ |
| 90 | display: table-cell; |
| 91 | vertical-align: middle; |
| 92 | height: 50px; |
| 93 | margin: 0; |
| 94 | font-weight: bold; |
| 95 | } |
| 96 | #cff .cff-author a{ |
| 97 | text-decoration: none; |
| 98 | } |
| 99 | /*************/ |
| 100 | /*** MEDIA ***/ |
| 101 | /*************/ |
| 102 | #cff .cff-break-word{ |
| 103 | word-break: break-all; |
| 104 | } |
| 105 | /* Link */ |
| 106 | #cff .cff-expand{ |
| 107 | display: none; |
| 108 | } |
| 109 | #cff .cff-expand a{ |
| 110 | font-size: 11px; |
| 111 | font-weight: normal; |
| 112 | } |
| 113 | /*Link image*/ |
| 114 | #cff .cff-shared-link{ |
| 115 | float: left; |
| 116 | clear: both; |
| 117 | width: 100%; |
| 118 | } |
| 119 | #cff .cff-link{ |
| 120 | float: left; |
| 121 | clear: both; |
| 122 | max-width: 20%; |
| 123 | margin-top: 10px; |
| 124 | } |
| 125 | #cff .cff-link img{ |
| 126 | max-width: 100%; |
| 127 | } |
| 128 | /*Link text*/ |
| 129 | #cff .cff-text-link{ |
| 130 | float: left; |
| 131 | clear: none; |
| 132 | width: 72%; |
| 133 | margin-left: 3%; |
| 134 | padding: 5px 0 10px 0; |
| 135 | } |
| 136 | #cff .cff-link-caption{ |
| 137 | font-size: 12px; |
| 138 | margin: 0; |
| 139 | } |
| 140 | #cff .cff-text-link.cff-no-image{ |
| 141 | width: 100%; |
| 142 | margin-left: 0; |
| 143 | } |
| 144 | /* Feed events */ |
| 145 | #cff .cff-details{ |
| 146 | float: left; |
| 147 | clear: none; |
| 148 | width: 100%; |
| 149 | padding: 10px 0 0 0; |
| 150 | } |
| 151 | #cff .cff-details h5{ |
| 152 | margin: 0 0 5px 0; |
| 153 | font-size: 16px; |
| 154 | } |
| 155 | #cff .cff-details p{ |
| 156 | font-size: 14px; |
| 157 | } |
| 158 | #cff .cff-details .cff-info{ |
| 159 | padding: 10px 0 0 0; |
| 160 | line-height: 1.2; |
| 161 | } |
| 162 | #cff .cff-details .cff-where, |
| 163 | #cff .cff-details .cff-when{ |
| 164 | /*font-weight: bold;*/ |
| 165 | } |
| 166 | /* Video */ |
| 167 | #cff .cff-desc-wrap{ |
| 168 | float: left; |
| 169 | width: 100%; |
| 170 | } |
| 171 | |
| 172 | /* View on Facebook / View Link text */ |
| 173 | #cff .cff-viewpost-link, |
| 174 | #cff .cff-viewpost-facebook{ |
| 175 | float: right; |
| 176 | clear: none; |
| 177 | padding-top: 4px; |
| 178 | padding-left: 4px; |
| 179 | font-size: 11px; |
| 180 | } |
| 181 | |
| 182 | /* Like box */ |
| 183 | .cff-likebox{ |
| 184 | float: left; |
| 185 | width: 100%; |
| 186 | /*margin-left: -10px;*/ |
| 187 | |
| 188 | position: relative; |
| 189 | } |
| 190 | .cff-likebox .fb_iframe_widget{ |
| 191 | width: 100%; |
| 192 | } |
| 193 | .cff-likebox .fb_iframe_widget span{ |
| 194 | width: 100% !important; |
| 195 | } |
| 196 | .cff-likebox iframe{ |
| 197 | margin: 0; |
| 198 | |
| 199 | position: absolute; |
| 200 | top: 0; |
| 201 | left: 0; |
| 202 | width: 100% !important; |
| 203 | height: 100%; |
| 204 | } |
| 205 | /*Like box is not inside of #cff*/ |
| 206 | .cff-likebox.top.cff-outside{ |
| 207 | margin-bottom: 10px; |
| 208 | } |
| 209 | .cff-likebox.bottom.cff-outside{ |
| 210 | margin-top: 10px; |
| 211 | } |
| 212 | |
| 213 | /* Clear fix */ |
| 214 | .cff-clear:after { |
| 215 | clear: both; |
| 216 | content: "."; |
| 217 | display: block; |
| 218 | height: 0; |
| 219 | visibility: hidden; |
| 220 | } |
| 221 | .cff-clear { |
| 222 | display: inline-block; |
| 223 | display: block; |
| 224 | } |
| 225 | /*********************/ |
| 226 | /*** STYLE OPTIONS ***/ |
| 227 | /*********************/ |
| 228 | #cff.cff-fixed-height{ |
| 229 | overflow: hidden; |
| 230 | overflow-y: auto; |
| 231 | padding: 5px 10px; |
| 232 | -webkit-box-sizing: border-box; |
| 233 | -moz-box-sizing: border-box; |
| 234 | box-sizing: border-box; |
| 235 | } |