cff-admin-style.css
8 years ago
cff-style.css
8 years ago
cff-style.min.css
8 years ago
font-awesome.min.css
8 years ago
cff-style.css
494 lines
| 1 | /**************/ |
| 2 | /*** LAYOUT ***/ |
| 3 | /**************/ |
| 4 | /* Feed wrapper */ |
| 5 | .cff-wrapper:after{ |
| 6 | content: ""; |
| 7 | display: table; |
| 8 | clear: both; |
| 9 | } |
| 10 | /* Posts container */ |
| 11 | #cff { |
| 12 | float: left; |
| 13 | width: 100%; |
| 14 | margin: 0 auto; |
| 15 | padding: 0; |
| 16 | -webkit-box-sizing: border-box; |
| 17 | -moz-box-sizing: border-box; |
| 18 | box-sizing: border-box; |
| 19 | } |
| 20 | /* Individual post item */ |
| 21 | #cff .cff-item{ |
| 22 | float: left; |
| 23 | width: 100%; |
| 24 | clear: both; |
| 25 | padding: 20px 0 15px 0; |
| 26 | margin: 0; |
| 27 | border-bottom: 1px solid #ddd; |
| 28 | } |
| 29 | #cff .cff-item:first-child{ |
| 30 | padding-top: 0; |
| 31 | } |
| 32 | #cff .cff-item.cff-box, |
| 33 | #cff .cff-item.cff-box:first-child{ |
| 34 | padding: 15px; |
| 35 | margin: 5px 0; |
| 36 | border: none; |
| 37 | -webkit-box-sizing: border-box; |
| 38 | -moz-box-sizing: border-box; |
| 39 | box-sizing: border-box; |
| 40 | } |
| 41 | /* Feed Header */ |
| 42 | .cff-header{ |
| 43 | width: 100%; |
| 44 | margin: 0 0 15px 0; |
| 45 | padding: 0; |
| 46 | line-height: 1; |
| 47 | -webkit-box-sizing: border-box; |
| 48 | -moz-box-sizing: border-box; |
| 49 | box-sizing: border-box; |
| 50 | } |
| 51 | .cff-header .fa, |
| 52 | .cff-header svg{ |
| 53 | margin: 0 10px 0 0; |
| 54 | padding: 0; |
| 55 | } |
| 56 | /******************/ |
| 57 | /*** TYPOGRAPHY ***/ |
| 58 | /******************/ |
| 59 | /*See more/less links*/ |
| 60 | #cff .cff-less{ |
| 61 | display: none; |
| 62 | } |
| 63 | /* Links */ |
| 64 | #cff.cff-default-styles a { |
| 65 | text-decoration: none; |
| 66 | } |
| 67 | #cff.cff-default-styles a:hover, |
| 68 | #cff.cff-default-styles a:focus { |
| 69 | text-decoration: underline; |
| 70 | } |
| 71 | #cff .cff-post-text-link{ |
| 72 | display: block; |
| 73 | } |
| 74 | /* Post titles and body text */ |
| 75 | #cff h3, #cff h4, #cff h5, #cff h6, #cff p, #cff .cff-post-desc{ |
| 76 | float: left; |
| 77 | width: 100%; |
| 78 | clear: both; |
| 79 | padding: 0; |
| 80 | margin: 5px 0; |
| 81 | white-space: pre; |
| 82 | white-space: pre-wrap; |
| 83 | white-space: pre-line; |
| 84 | white-space: -pre-wrap; |
| 85 | white-space: -o-pre-wrap; |
| 86 | white-space: -moz-pre-wrap; |
| 87 | white-space: -hp-pre-wrap; |
| 88 | word-wrap: break-word; |
| 89 | } |
| 90 | #cff.cff-default-styles h3, #cff.cff-default-styles h4, #cff.cff-default-styles h5, #cff.cff-default-styles h6, #cff.cff-default-styles p, #cff.cff-default-styles .cff-post-desc{ |
| 91 | line-height: 1.4; |
| 92 | } |
| 93 | /* Date */ |
| 94 | #cff .cff-date{ |
| 95 | float: left; |
| 96 | min-width: 50px; |
| 97 | width: auto; |
| 98 | } |
| 99 | #cff.cff-default-styles .cff-date{ |
| 100 | font-size: 11px; |
| 101 | } |
| 102 | /************/ |
| 103 | /***AUTHOR***/ |
| 104 | /************/ |
| 105 | #cff .cff-author{ |
| 106 | float: left; |
| 107 | clear: both; |
| 108 | margin: 0 0 15px 0; |
| 109 | padding: 0; |
| 110 | line-height: 1.2; |
| 111 | width: 100%; |
| 112 | } |
| 113 | #cff .cff-author a{ |
| 114 | text-decoration: none; |
| 115 | border: none; |
| 116 | } |
| 117 | #cff .cff-author-img{ |
| 118 | float: left; |
| 119 | width: 40px; |
| 120 | margin: 0 0 0 -100% !important; |
| 121 | font-size: 0; |
| 122 | background: #eee; |
| 123 | } |
| 124 | #cff .cff-author img{ |
| 125 | float: left; |
| 126 | margin: 0 !important; |
| 127 | padding: 0 !important; |
| 128 | border: none !important; |
| 129 | font-size: 0; |
| 130 | background: #eee; |
| 131 | } |
| 132 | #cff .cff-author .cff-author-text span.cff-page-name{ |
| 133 | display: table-cell; |
| 134 | vertical-align: middle; |
| 135 | height: 40px; |
| 136 | margin: 0; |
| 137 | font-weight: bold; |
| 138 | |
| 139 | /* For when there's no date immediately under author: */ |
| 140 | padding-left: 50px; |
| 141 | float: none; |
| 142 | } |
| 143 | #cff .cff-author .cff-story{ |
| 144 | font-weight: normal; |
| 145 | } |
| 146 | #cff.cff-default-styles .cff-author .cff-author-text span{ |
| 147 | font-weight: 1.2; |
| 148 | } |
| 149 | #cff.cff-default-styles .cff-author a{ |
| 150 | text-decoration: none; |
| 151 | } |
| 152 | #cff .cff-author.cff-no-author-info .cff-date{ |
| 153 | margin-top: 14px !important; |
| 154 | } |
| 155 | #cff .cff-author.cff-no-author-info .cff-author-img{ |
| 156 | width: 40px; |
| 157 | height: 40px; |
| 158 | background: url('../img/cff-avatar.png') no-repeat; |
| 159 | } |
| 160 | |
| 161 | /* Author Date */ |
| 162 | #cff .cff-author .cff-author-text{ |
| 163 | float: left; |
| 164 | width: 100%; |
| 165 | } |
| 166 | #cff .cff-author .cff-page-name, |
| 167 | #cff .cff-author .cff-date{ |
| 168 | float: left; |
| 169 | clear: both; |
| 170 | width: auto; |
| 171 | margin: 0 0 0 50px !important; |
| 172 | } |
| 173 | #cff.cff-default-styles .cff-author .cff-author-text *{ |
| 174 | font-weight: bold; |
| 175 | line-height: 1.2; |
| 176 | } |
| 177 | #cff .cff-author .cff-date{ |
| 178 | color: #9197a3; |
| 179 | font-size: 11px; |
| 180 | margin-top: 0px !important; |
| 181 | margin-bottom: 0px !important; |
| 182 | } |
| 183 | #cff.cff-default-styles .cff-author .cff-date{ |
| 184 | font-weight: normal; |
| 185 | } |
| 186 | #cff .cff-author .cff-page-name.cff-author-date{ |
| 187 | float: left; |
| 188 | padding: 2px 0 0 0; |
| 189 | font-size: 14px; |
| 190 | } |
| 191 | |
| 192 | /*************/ |
| 193 | /*** MEDIA ***/ |
| 194 | /*************/ |
| 195 | #cff .cff-break-word{ |
| 196 | word-break: break-all; |
| 197 | } |
| 198 | /* Link */ |
| 199 | #cff .cff-expand{ |
| 200 | display: none; |
| 201 | } |
| 202 | #cff.cff-default-styles .cff-expand a{ |
| 203 | font-size: 11px; |
| 204 | font-weight: normal; |
| 205 | } |
| 206 | /*Link image*/ |
| 207 | #cff .cff-shared-link{ |
| 208 | float: left; |
| 209 | clear: both; |
| 210 | width: 100%; |
| 211 | padding: 5px 10px; |
| 212 | margin: 10px 0 5px 0; |
| 213 | |
| 214 | /* IE8 */ |
| 215 | background: #f9f9f9; |
| 216 | border: 1px solid #d9d9d9; |
| 217 | |
| 218 | background: rgba(0,0,0,0.02); |
| 219 | border: 1px solid rgba(0,0,0,0.07); |
| 220 | |
| 221 | -webkit-box-sizing: border-box; |
| 222 | -moz-box-sizing: border-box; |
| 223 | box-sizing: border-box; |
| 224 | } |
| 225 | #cff .cff-no-styles{ |
| 226 | background: none; |
| 227 | border: none; |
| 228 | padding: 0; |
| 229 | } |
| 230 | #cff .cff-link{ |
| 231 | float: left; |
| 232 | clear: both; |
| 233 | max-width: 20%; |
| 234 | margin: 10px 0 0 0; |
| 235 | } |
| 236 | #cff .cff-link img{ |
| 237 | max-width: 100%; |
| 238 | } |
| 239 | /*Link text*/ |
| 240 | #cff .cff-link-title{ |
| 241 | float: left; |
| 242 | clear: both; |
| 243 | width: 100%; |
| 244 | display: block; |
| 245 | } |
| 246 | #cff.cff-default-styles .cff-link-title{ |
| 247 | font-weight: bold; |
| 248 | } |
| 249 | #cff p.cff-link-title{ |
| 250 | margin: 5px 0 0 0; |
| 251 | } |
| 252 | #cff .cff-text-link{ |
| 253 | float: left; |
| 254 | clear: none; |
| 255 | width: 72%; |
| 256 | margin-left: 3%; |
| 257 | padding: 0 0 5px 0; |
| 258 | } |
| 259 | #cff .cff-link-caption{ |
| 260 | margin: 0; |
| 261 | } |
| 262 | #cff.cff-default-styles .cff-link-caption{ |
| 263 | font-size: 12px; |
| 264 | } |
| 265 | #cff .cff-text-link.cff-no-image{ |
| 266 | width: 100%; |
| 267 | margin-left: 0; |
| 268 | } |
| 269 | #cff .cff-post-desc{ |
| 270 | margin: 5px 0 0 0; |
| 271 | } |
| 272 | /* Feed events */ |
| 273 | #cff .cff-details{ |
| 274 | float: left; |
| 275 | clear: none; |
| 276 | width: 100%; |
| 277 | margin: 0; |
| 278 | padding: 0; |
| 279 | } |
| 280 | #cff .cff-details h5{ |
| 281 | margin: 0 0 5px 0; |
| 282 | } |
| 283 | #cff.cff-default-styles .cff-details h5{ |
| 284 | padding: 0; |
| 285 | font-size: 16px; |
| 286 | } |
| 287 | #cff.cff-default-styles .cff-details p{ |
| 288 | font-size: 14px; |
| 289 | } |
| 290 | #cff .cff-timeline-event .cff-timeline-event-title, |
| 291 | #cff .cff-timeline-event .cff-date, |
| 292 | #cff .cff-timeline-event .cff-where, |
| 293 | #cff .cff-timeline-event .cff-info{ |
| 294 | display: block; |
| 295 | width: 100%; |
| 296 | clear: both; |
| 297 | } |
| 298 | #cff .cff-details .cff-info{ |
| 299 | padding: 10px 0 0 0; |
| 300 | } |
| 301 | #cff.cff-default-styles .cff-details .cff-info{ |
| 302 | line-height: 1.2; |
| 303 | } |
| 304 | /* Video */ |
| 305 | #cff .cff-desc-wrap{ |
| 306 | float: left; |
| 307 | width: 100%; |
| 308 | } |
| 309 | |
| 310 | /* View on Facebook / View Link text */ |
| 311 | #cff .cff-post-links{ |
| 312 | float: left; |
| 313 | clear: none; |
| 314 | padding: 5px 0 0 0; |
| 315 | margin: 0; |
| 316 | } |
| 317 | #cff.cff-default-styles .cff-post-links{ |
| 318 | font-size: 11px; |
| 319 | } |
| 320 | |
| 321 | #cff .cff-post-links.cff-left{ |
| 322 | float: left; |
| 323 | margin: 8px 0; |
| 324 | } |
| 325 | #cff.cff-default-styles .cff-post-links a{ |
| 326 | font-size: 11px; |
| 327 | } |
| 328 | #cff .cff-post-links a:first-child{ |
| 329 | padding-left: 0; |
| 330 | margin: 0; |
| 331 | } |
| 332 | #cff .cff-dot{ |
| 333 | padding: 0 5px; |
| 334 | } |
| 335 | |
| 336 | /* Share tooltip*/ |
| 337 | #cff .cff-share-container{ |
| 338 | position: relative; |
| 339 | display: inline; |
| 340 | } |
| 341 | #cff .cff-share-tooltip{ |
| 342 | display: none; |
| 343 | position: absolute; |
| 344 | z-index: 1000; |
| 345 | bottom: 22px; |
| 346 | right: -54px; |
| 347 | width: 140px; |
| 348 | padding: 5px 5px 4px 5px; |
| 349 | margin: 0; |
| 350 | background: #333; |
| 351 | color: #eee; |
| 352 | font-size: 12px; |
| 353 | line-height: 1.3; |
| 354 | |
| 355 | -webkit-box-sizing: border-box; |
| 356 | -moz-box-sizing: border-box; |
| 357 | box-sizing: border-box; |
| 358 | } |
| 359 | #cff .cff-share-tooltip .fa-play{ |
| 360 | position: absolute; |
| 361 | font-size: 8px; |
| 362 | bottom: -6px; |
| 363 | left: 50%; |
| 364 | margin-left: -3px; |
| 365 | color: #333; |
| 366 | } |
| 367 | #cff .cff-share-tooltip a .fa, |
| 368 | #cff .cff-share-tooltip a svg{ |
| 369 | font-size: 16px; |
| 370 | margin: 0; |
| 371 | padding: 5px; |
| 372 | } |
| 373 | #cff .cff-share-tooltip a{ |
| 374 | display: block; |
| 375 | float: left; |
| 376 | margin: 0 !important; |
| 377 | padding: 0 !important; |
| 378 | color: #eee !important; |
| 379 | |
| 380 | -moz-border-radius: 4px; |
| 381 | -webkit-border-radius: 4px; |
| 382 | border-radius: 4px; |
| 383 | } |
| 384 | #cff .cff-share-tooltip a:hover{ |
| 385 | color: #fff; |
| 386 | } |
| 387 | #cff .cff-share-tooltip .cff-facebook-icon:hover{ background: #3b5998; } |
| 388 | #cff .cff-share-tooltip .cff-twitter-icon:hover{ background: #00aced; } |
| 389 | #cff .cff-share-tooltip .cff-google-icon:hover{ background: #dd4b39; } |
| 390 | #cff .cff-share-tooltip .cff-linkedin-icon:hover{ background: #007bb6; } |
| 391 | #cff .cff-share-tooltip .cff-pinterest-icon:hover{ background: #cb2027; } |
| 392 | #cff .cff-share-tooltip .cff-email-icon:hover{ background: #666; } |
| 393 | |
| 394 | /* Like box */ |
| 395 | .cff-likebox{ |
| 396 | float: left; |
| 397 | width: 100%; |
| 398 | position: relative; |
| 399 | margin: 20px 0 0 0; |
| 400 | } |
| 401 | .cff-likebox .fb_iframe_widget{ |
| 402 | width: 100%; |
| 403 | } |
| 404 | .cff-likebox .fb_iframe_widget span{ |
| 405 | width: 100% !important; |
| 406 | } |
| 407 | .cff-likebox iframe{ |
| 408 | margin: 0; |
| 409 | position: relative; |
| 410 | top: 0; |
| 411 | left: 0; |
| 412 | width: 100% !important; |
| 413 | height: 100%; |
| 414 | } |
| 415 | /*Like box is not inside of #cff*/ |
| 416 | .cff-likebox.cff-top.cff-outside{ |
| 417 | margin-bottom: 10px; |
| 418 | } |
| 419 | .cff-likebox.cff-bottom.cff-outside{ |
| 420 | margin-top: 10px; |
| 421 | } |
| 422 | |
| 423 | /* Clear fix */ |
| 424 | /*.cff-clear:after { |
| 425 | clear: both; |
| 426 | content: "."; |
| 427 | display: block; |
| 428 | height: 0; |
| 429 | visibility: hidden; |
| 430 | } |
| 431 | .cff-clear { |
| 432 | display: inline-block; |
| 433 | display: block; |
| 434 | position: static; |
| 435 | }*/ |
| 436 | /*********************/ |
| 437 | /*** STYLE OPTIONS ***/ |
| 438 | /*********************/ |
| 439 | #cff.cff-fixed-height{ |
| 440 | overflow: hidden; |
| 441 | overflow-y: auto; |
| 442 | padding: 5px 10px; |
| 443 | |
| 444 | -webkit-box-sizing: border-box; |
| 445 | -moz-box-sizing: border-box; |
| 446 | box-sizing: border-box; |
| 447 | } |
| 448 | |
| 449 | #cff .cff-error-msg{ |
| 450 | display: none; |
| 451 | font-size: 12px; |
| 452 | font-family: sans-serif; |
| 453 | } |
| 454 | #cff #cff-error-reason{ |
| 455 | display: none; |
| 456 | padding: 5px 0 0 0; |
| 457 | clear: both; |
| 458 | } |
| 459 | |
| 460 | /* Credit link */ |
| 461 | #cff.cff-default-styles .cff-credit{ |
| 462 | font-size: 11px; |
| 463 | } |
| 464 | #cff.cff-default-styles .cff-credit a{ |
| 465 | text-decoration: none; |
| 466 | } |
| 467 | #cff .cff-credit img{ |
| 468 | float: left; |
| 469 | margin: -2px 5px 0 0; |
| 470 | } |
| 471 | #cff .cff-credit .fa{ |
| 472 | padding-right: 5px; |
| 473 | font-size: 13px; |
| 474 | } |
| 475 | |
| 476 | /* On mobile make the min-width 100% */ |
| 477 | @media all and (max-width: 640px){ |
| 478 | #cff.cff-width-resp{ |
| 479 | width: 100% !important; |
| 480 | } |
| 481 | } |
| 482 | |
| 483 | /* Stops emojis from floating to the left of sentences */ |
| 484 | #cff .cff-comment .cff-comment-text img, |
| 485 | #cff img.emoji, |
| 486 | #cff-lightbox-wrapper .cff-comment .cff-comment-text img, |
| 487 | #cff-lightbox-wrapper img.emoji{ |
| 488 | float: none; |
| 489 | max-width: 100%; |
| 490 | } |
| 491 | #cff .cff-linebreak{ |
| 492 | display: block; |
| 493 | height: 5px; |
| 494 | } |