admin-notifications.css
5 years ago
cff-admin-style.css
5 years ago
cff-blocks.css
6 years ago
cff-style.css
5 years ago
cff-style.min.css
6 years ago
font-awesome.min.css
5 years ago
cff-style.css
893 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: 8px 0; |
| 36 | background: rgba(255,255,255,0.5); |
| 37 | border: none; |
| 38 | -webkit-box-sizing: border-box; |
| 39 | -moz-box-sizing: border-box; |
| 40 | box-sizing: border-box; |
| 41 | } |
| 42 | #cff .cff-item.cff-box:first-child{ |
| 43 | margin-top: 0; |
| 44 | } |
| 45 | #cff .cff-item.cff-box:last-child{ |
| 46 | margin-bottom: 0; |
| 47 | } |
| 48 | #cff .cff-item.cff-shadow{ |
| 49 | box-shadow: 0 0 10px 0 rgba(0,0,0,0.15); |
| 50 | -moz-box-shadow: 0 0 10px 0 rgba(0,0,0,0.15); |
| 51 | -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0.15); |
| 52 | } |
| 53 | /* Feed Header */ |
| 54 | .cff-header{ |
| 55 | width: 100%; |
| 56 | margin: 0 0 15px 0; |
| 57 | padding: 0; |
| 58 | line-height: 1; |
| 59 | -webkit-box-sizing: border-box; |
| 60 | -moz-box-sizing: border-box; |
| 61 | box-sizing: border-box; |
| 62 | } |
| 63 | .cff-header .fa, |
| 64 | .cff-header svg{ |
| 65 | margin: 0 10px 0 0; |
| 66 | padding: 0; |
| 67 | } |
| 68 | /*************** |
| 69 | Custom FB Header |
| 70 | ***************/ |
| 71 | .cff-visual-header { |
| 72 | margin-bottom: 24px !important; |
| 73 | } |
| 74 | /* Cover and like counter */ |
| 75 | .cff-visual-header .cff-header-hero { |
| 76 | width: 100%; |
| 77 | height: 300px; |
| 78 | position: relative; |
| 79 | overflow: hidden; |
| 80 | } |
| 81 | .cff-visual-header .cff-header-hero img{ |
| 82 | width: 100%; |
| 83 | display: none; |
| 84 | } |
| 85 | .cff-visual-header .cff-likes-box { |
| 86 | position: absolute; |
| 87 | bottom: 10px; |
| 88 | right: 10px; |
| 89 | padding: 5px; |
| 90 | background: #eee; |
| 91 | line-height: 1; |
| 92 | border-radius: 2px; |
| 93 | color: #445790; |
| 94 | } |
| 95 | .cff-visual-header .cff-likes-box .cff-square-logo { |
| 96 | float: left; |
| 97 | display: inline-block; |
| 98 | line-height: 0; |
| 99 | } |
| 100 | .cff-visual-header .cff-likes-box .cff-square-logo svg { |
| 101 | width: 18px; |
| 102 | vertical-align: top; |
| 103 | } |
| 104 | .cff-visual-header .cff-likes-box .cff-likes-count { |
| 105 | float: left; |
| 106 | display: inline-block; |
| 107 | margin-left: 8px; |
| 108 | vertical-align: top; |
| 109 | font-size: 15px; |
| 110 | line-height: 20px; |
| 111 | } |
| 112 | |
| 113 | /* Avatar and text */ |
| 114 | .cff-visual-header .cff-header-inner-wrap { |
| 115 | position: relative; |
| 116 | display: block; |
| 117 | text-decoration: none !important; |
| 118 | } |
| 119 | .cff-visual-header .cff-header-inner-wrap a { |
| 120 | color: inherit !important; |
| 121 | border: 0; |
| 122 | } |
| 123 | .cff-visual-header .cff-header-img img { |
| 124 | display: block; |
| 125 | width: 100px; |
| 126 | border-radius: 3px; |
| 127 | padding: 0; |
| 128 | margin: 0; |
| 129 | } |
| 130 | .cff-visual-header.cff-has-cover .cff-header-img img { |
| 131 | border: 2px solid #fff; |
| 132 | } |
| 133 | .cff-visual-header .cff-header-img { |
| 134 | position: absolute; |
| 135 | display: inline-block; |
| 136 | line-height: 1; |
| 137 | } |
| 138 | .cff-visual-header.cff-has-cover .cff-header-img { |
| 139 | top: -25px; |
| 140 | left: 10px; |
| 141 | } |
| 142 | |
| 143 | .cff-visual-header .cff-header-text { |
| 144 | display: inline-block; |
| 145 | float: left; |
| 146 | margin: 20px 0 0 120px; |
| 147 | } |
| 148 | #cff .cff-visual-header .cff-header-text h3, |
| 149 | .cff-visual-header .cff-header-text h3{ |
| 150 | display: inline-block; |
| 151 | width: auto; |
| 152 | margin: 0 8px 0 0; |
| 153 | padding: 0; |
| 154 | font-size: 1.2em; |
| 155 | line-height: 1.2em; |
| 156 | } |
| 157 | .cff-visual-header .cff-header-text{ |
| 158 | padding-top: 10px; |
| 159 | margin: 0; |
| 160 | } |
| 161 | .cff-visual-header.cff-has-name { |
| 162 | min-height: 100px; |
| 163 | } |
| 164 | .cff-visual-header.cff-has-cover.cff-has-name .cff-header-text { |
| 165 | min-height: 75px; |
| 166 | } |
| 167 | .cff-visual-header.cff-has-name .cff-header-text { |
| 168 | margin-left: 120px; |
| 169 | } |
| 170 | .cff-visual-header.cff-has-cover.cff-has-name .cff-header-text{ |
| 171 | margin-left: 125px; |
| 172 | } |
| 173 | .cff-visual-header.cff-has-name .cff-header-text{ |
| 174 | padding-top: 30px; |
| 175 | } |
| 176 | .cff-visual-header.cff-has-name.cff-has-about .cff-header-text, |
| 177 | .cff-visual-header.cff-has-name.cff-has-cover .cff-header-text{ |
| 178 | padding-top: 10px; |
| 179 | } |
| 180 | #cff .cff-visual-header .cff-header-inner-wrap .cff-bio, |
| 181 | .cff-visual-header .cff-header-inner-wrap .cff-bio { |
| 182 | display: block; |
| 183 | width: 100%; |
| 184 | clear: both; |
| 185 | margin: 3px 0 0 0; |
| 186 | padding: 0; |
| 187 | line-height: 1.2em; |
| 188 | } |
| 189 | .cff-visual-header .cff-header-name{ |
| 190 | float: left; |
| 191 | padding: 0 5px 2px 0; |
| 192 | } |
| 193 | .cff-visual-header .cff-bio-info { |
| 194 | font-size: .9em; |
| 195 | line-height: 1.7; |
| 196 | } |
| 197 | .cff-visual-header .cff-bio-info svg { |
| 198 | display: inline-block; |
| 199 | width: 1em; |
| 200 | vertical-align: middle; |
| 201 | position: relative; |
| 202 | top: -2px; |
| 203 | } |
| 204 | .cff-posts-count svg { |
| 205 | padding-right: 3px; |
| 206 | } |
| 207 | |
| 208 | .cff-header-text:after, |
| 209 | .cff-header-inner-wrap:after{ |
| 210 | display: table; |
| 211 | clear: both; |
| 212 | content: " "; |
| 213 | } |
| 214 | /******************/ |
| 215 | /*** TYPOGRAPHY ***/ |
| 216 | /******************/ |
| 217 | /*See more/less links*/ |
| 218 | #cff .cff-less{ |
| 219 | display: none; |
| 220 | } |
| 221 | /* Links */ |
| 222 | #cff.cff-default-styles a { |
| 223 | text-decoration: none; |
| 224 | } |
| 225 | #cff.cff-default-styles a:hover, |
| 226 | #cff.cff-default-styles a:focus { |
| 227 | text-decoration: underline; |
| 228 | } |
| 229 | #cff .cff-post-text-link{ |
| 230 | display: block; |
| 231 | } |
| 232 | /* Post titles and body text */ |
| 233 | #cff h3, #cff h4, #cff h5, #cff h6, #cff p, #cff .cff-post-desc{ |
| 234 | float: left; |
| 235 | width: 100%; |
| 236 | clear: both; |
| 237 | padding: 0; |
| 238 | margin: 5px 0; |
| 239 | white-space: pre; |
| 240 | white-space: pre-wrap; |
| 241 | white-space: pre-line; |
| 242 | white-space: -pre-wrap; |
| 243 | white-space: -o-pre-wrap; |
| 244 | white-space: -moz-pre-wrap; |
| 245 | white-space: -hp-pre-wrap; |
| 246 | word-wrap: break-word; |
| 247 | } |
| 248 | #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{ |
| 249 | line-height: 1.4; |
| 250 | } |
| 251 | /* Date */ |
| 252 | #cff .cff-date{ |
| 253 | float: left; |
| 254 | min-width: 50px; |
| 255 | width: auto; |
| 256 | } |
| 257 | #cff.cff-default-styles .cff-date{ |
| 258 | font-size: 11px; |
| 259 | } |
| 260 | /************/ |
| 261 | /***AUTHOR***/ |
| 262 | /************/ |
| 263 | #cff .cff-author{ |
| 264 | float: left; |
| 265 | clear: both; |
| 266 | margin: 0 0 15px 0; |
| 267 | padding: 0; |
| 268 | line-height: 1.2; |
| 269 | width: 100%; |
| 270 | } |
| 271 | #cff .cff-author a{ |
| 272 | text-decoration: none; |
| 273 | border: none; |
| 274 | } |
| 275 | #cff .cff-author-img{ |
| 276 | float: left; |
| 277 | width: 40px; |
| 278 | height: 40px; |
| 279 | margin: 0 0 0 -100% !important; |
| 280 | font-size: 0; |
| 281 | background: #eee; |
| 282 | |
| 283 | background: url('../img/cff-avatar.png') no-repeat; |
| 284 | border-radius: 50%; |
| 285 | } |
| 286 | #cff .cff-author img{ |
| 287 | float: left; |
| 288 | margin: 0 !important; |
| 289 | padding: 0 !important; |
| 290 | border: none !important; |
| 291 | font-size: 0; |
| 292 | border-radius: 50%; |
| 293 | } |
| 294 | #cff .cff-author .cff-author-text span.cff-page-name{ |
| 295 | display: table-cell; |
| 296 | vertical-align: middle; |
| 297 | height: 40px; |
| 298 | margin: 0; |
| 299 | font-weight: bold; |
| 300 | |
| 301 | /* For when there's no date immediately under author: */ |
| 302 | padding-left: 50px; |
| 303 | float: none; |
| 304 | } |
| 305 | #cff .cff-author .cff-story{ |
| 306 | font-weight: normal; |
| 307 | } |
| 308 | #cff.cff-default-styles .cff-author a{ |
| 309 | text-decoration: none; |
| 310 | } |
| 311 | #cff .cff-author.cff-no-author-info .cff-date{ |
| 312 | margin-top: 12px !important; |
| 313 | } |
| 314 | #cff .cff-author.cff-no-author-info .cff-author-img{ |
| 315 | width: 40px; |
| 316 | height: 40px; |
| 317 | background: url('../img/cff-avatar.png') no-repeat; |
| 318 | } |
| 319 | |
| 320 | /* Author Date */ |
| 321 | #cff .cff-author .cff-author-text{ |
| 322 | float: left; |
| 323 | width: 100%; |
| 324 | } |
| 325 | #cff .cff-author .cff-page-name, |
| 326 | #cff .cff-author .cff-date{ |
| 327 | float: left; |
| 328 | clear: both; |
| 329 | width: auto; |
| 330 | margin: 0 0 0 50px !important; |
| 331 | } |
| 332 | #cff.cff-default-styles .cff-author .cff-author-text *{ |
| 333 | font-weight: bold; |
| 334 | line-height: 1.2; |
| 335 | } |
| 336 | #cff .cff-author .cff-date{ |
| 337 | color: #9197a3; |
| 338 | font-size: 11px; |
| 339 | margin-top: 2px !important; |
| 340 | margin-bottom: 0px !important; |
| 341 | } |
| 342 | #cff.cff-default-styles .cff-author .cff-date{ |
| 343 | font-weight: normal; |
| 344 | } |
| 345 | #cff .cff-author .cff-page-name.cff-author-date{ |
| 346 | float: left; |
| 347 | padding: 3px 0 0 0; |
| 348 | font-size: 14px; |
| 349 | } |
| 350 | |
| 351 | /*************/ |
| 352 | /*** MEDIA ***/ |
| 353 | /*************/ |
| 354 | .cff-media-link .fa, |
| 355 | /*#cff .cff-media-link a,*/ |
| 356 | #cff .cff-cta-link a { |
| 357 | display: inline-block; |
| 358 | width: auto; |
| 359 | padding: 5px 7px 5px 6px; |
| 360 | /*padding: 5px 10px;*/ |
| 361 | margin-right: 6px; |
| 362 | border: 1px solid #eee; |
| 363 | border: 1px solid rgba(0,0,0,0.1); |
| 364 | border-radius: 3px; |
| 365 | background: rgba(0,0,0,0.02); |
| 366 | } |
| 367 | .cff-media-link .fa:hover, |
| 368 | /*#cff .cff-media-link a:hover,*/ |
| 369 | #cff .cff-cta-link a:hover { |
| 370 | background: #f9f9f9; |
| 371 | background: rgba(0,0,0,0.03); |
| 372 | text-decoration: none; |
| 373 | } |
| 374 | /* Call to action button */ |
| 375 | #cff .cff-cta-link a { |
| 376 | padding: 5px 15px; |
| 377 | } |
| 378 | |
| 379 | |
| 380 | #cff .cff-break-word{ |
| 381 | word-break: break-all; |
| 382 | } |
| 383 | /* Link */ |
| 384 | #cff .cff-expand{ |
| 385 | display: none; |
| 386 | } |
| 387 | #cff.cff-default-styles .cff-expand a{ |
| 388 | font-size: 11px; |
| 389 | font-weight: normal; |
| 390 | } |
| 391 | /*Link image*/ |
| 392 | #cff .cff-shared-link{ |
| 393 | float: left; |
| 394 | clear: both; |
| 395 | width: 100%; |
| 396 | padding: 5px 10px; |
| 397 | margin: 10px 0 5px 0; |
| 398 | |
| 399 | /* IE8 */ |
| 400 | background: #f9f9f9; |
| 401 | border: 1px solid #d9d9d9; |
| 402 | |
| 403 | background: rgba(0,0,0,0.02); |
| 404 | border: 1px solid rgba(0,0,0,0.07); |
| 405 | |
| 406 | -webkit-box-sizing: border-box; |
| 407 | -moz-box-sizing: border-box; |
| 408 | box-sizing: border-box; |
| 409 | } |
| 410 | #cff .cff-no-styles{ |
| 411 | background: none; |
| 412 | border: none; |
| 413 | padding: 0; |
| 414 | } |
| 415 | #cff .cff-link{ |
| 416 | float: left; |
| 417 | clear: both; |
| 418 | max-width: 20%; |
| 419 | margin: 10px 0 0 0; |
| 420 | } |
| 421 | #cff .cff-link img{ |
| 422 | max-width: 100%; |
| 423 | } |
| 424 | /*Link text*/ |
| 425 | #cff .cff-link-title{ |
| 426 | float: left; |
| 427 | clear: both; |
| 428 | width: 100%; |
| 429 | display: block; |
| 430 | } |
| 431 | #cff.cff-default-styles .cff-link-title{ |
| 432 | font-weight: bold; |
| 433 | } |
| 434 | #cff p.cff-link-title{ |
| 435 | margin: 5px 0 0 0; |
| 436 | } |
| 437 | #cff .cff-text-link{ |
| 438 | float: left; |
| 439 | clear: none; |
| 440 | width: 72%; |
| 441 | margin-left: 3%; |
| 442 | padding: 0 0 5px 0; |
| 443 | } |
| 444 | #cff .cff-link-caption{ |
| 445 | margin: 0; |
| 446 | } |
| 447 | #cff.cff-default-styles .cff-link-caption{ |
| 448 | font-size: 12px; |
| 449 | } |
| 450 | #cff .cff-text-link.cff-no-image{ |
| 451 | width: 100%; |
| 452 | margin-left: 0; |
| 453 | } |
| 454 | #cff .cff-post-desc{ |
| 455 | margin: 5px 0 0 0; |
| 456 | } |
| 457 | /* Feed events */ |
| 458 | #cff .cff-details{ |
| 459 | float: left; |
| 460 | clear: none; |
| 461 | width: 100%; |
| 462 | margin: 0; |
| 463 | padding: 0; |
| 464 | } |
| 465 | #cff .cff-details h5{ |
| 466 | margin: 0 0 5px 0; |
| 467 | } |
| 468 | #cff.cff-default-styles .cff-details h5{ |
| 469 | padding: 0; |
| 470 | font-size: 16px; |
| 471 | } |
| 472 | #cff.cff-default-styles .cff-details p{ |
| 473 | font-size: 14px; |
| 474 | } |
| 475 | #cff .cff-timeline-event .cff-timeline-event-title, |
| 476 | #cff .cff-timeline-event .cff-date, |
| 477 | #cff .cff-timeline-event .cff-where, |
| 478 | #cff .cff-timeline-event .cff-info{ |
| 479 | display: block; |
| 480 | width: 100%; |
| 481 | clear: both; |
| 482 | } |
| 483 | #cff .cff-details .cff-info{ |
| 484 | padding: 10px 0 0 0; |
| 485 | } |
| 486 | #cff.cff-default-styles .cff-details .cff-info{ |
| 487 | line-height: 1.2; |
| 488 | } |
| 489 | /* Video */ |
| 490 | #cff .cff-desc-wrap{ |
| 491 | float: left; |
| 492 | width: 100%; |
| 493 | } |
| 494 | |
| 495 | /* Note */ |
| 496 | #cff .cff-note-title{ |
| 497 | display: block; |
| 498 | font-weight: bold; |
| 499 | padding-bottom: 5px; |
| 500 | } |
| 501 | |
| 502 | /* View on Facebook / View Link text */ |
| 503 | #cff .cff-post-links{ |
| 504 | float: left; |
| 505 | clear: none; |
| 506 | padding: 5px 0 0 0; |
| 507 | margin: 0; |
| 508 | } |
| 509 | #cff.cff-default-styles .cff-post-links{ |
| 510 | font-size: 11px; |
| 511 | } |
| 512 | |
| 513 | #cff .cff-post-links.cff-left{ |
| 514 | float: left; |
| 515 | margin: 8px 0; |
| 516 | } |
| 517 | #cff.cff-default-styles .cff-post-links a{ |
| 518 | font-size: 11px; |
| 519 | } |
| 520 | #cff .cff-post-links a:first-child{ |
| 521 | padding-left: 0; |
| 522 | margin: 0; |
| 523 | } |
| 524 | #cff .cff-dot{ |
| 525 | padding: 0 5px; |
| 526 | } |
| 527 | |
| 528 | /* Share tooltip*/ |
| 529 | #cff .cff-share-container{ |
| 530 | position: relative; |
| 531 | display: inline; |
| 532 | } |
| 533 | #cff .cff-share-tooltip{ |
| 534 | display: none; |
| 535 | position: absolute; |
| 536 | z-index: 1000; |
| 537 | bottom: 22px; |
| 538 | right: -40px; |
| 539 | width: 110px; |
| 540 | padding: 3px 5px 4px 5px; |
| 541 | margin: 0; |
| 542 | background: #333; |
| 543 | color: #eee; |
| 544 | font-size: 12px; |
| 545 | line-height: 1.3; |
| 546 | |
| 547 | -moz-border-radius: 4px; |
| 548 | -webkit-border-radius: 4px; |
| 549 | border-radius: 4px; |
| 550 | |
| 551 | -webkit-box-sizing: border-box; |
| 552 | -moz-box-sizing: border-box; |
| 553 | box-sizing: border-box; |
| 554 | } |
| 555 | #cff .cff-share-tooltip .fa-play{ |
| 556 | position: absolute; |
| 557 | font-size: 8px; |
| 558 | bottom: -6px; |
| 559 | left: 50%; |
| 560 | margin-left: -3px; |
| 561 | color: #333; |
| 562 | } |
| 563 | #cff .cff-share-tooltip a .fa, |
| 564 | #cff .cff-share-tooltip a svg{ |
| 565 | font-size: 16px; |
| 566 | margin: 0; |
| 567 | padding: 5px; |
| 568 | } |
| 569 | #cff .cff-share-tooltip a{ |
| 570 | display: block; |
| 571 | float: left; |
| 572 | margin: 0 !important; |
| 573 | padding: 0 !important; |
| 574 | color: #eee !important; |
| 575 | opacity: 0; |
| 576 | |
| 577 | -moz-border-radius: 4px; |
| 578 | -webkit-border-radius: 4px; |
| 579 | border-radius: 4px; |
| 580 | } |
| 581 | #cff .cff-share-tooltip a:hover{ |
| 582 | color: #fff !important; |
| 583 | } |
| 584 | #cff .cff-share-tooltip .cff-facebook-icon:hover{ background: #3b5998; } |
| 585 | #cff .cff-share-tooltip .cff-twitter-icon:hover{ background: #00aced; } |
| 586 | #cff .cff-share-tooltip .cff-google-icon:hover{ background: #dd4b39; } |
| 587 | #cff .cff-share-tooltip .cff-linkedin-icon:hover{ background: #007bb6; } |
| 588 | #cff .cff-share-tooltip .cff-pinterest-icon:hover{ background: #cb2027; } |
| 589 | #cff .cff-share-tooltip .cff-email-icon:hover{ background: #dd4b39; } |
| 590 | /* Fade in icons */ |
| 591 | #cff .cff-share-tooltip a.cff-show{ |
| 592 | opacity: 1; |
| 593 | transition: opacity 0.2s ease; |
| 594 | } |
| 595 | |
| 596 | /* Like box */ |
| 597 | .cff-likebox{ |
| 598 | float: left; |
| 599 | width: 100%; |
| 600 | position: relative; |
| 601 | margin: 20px 0 0 0; |
| 602 | } |
| 603 | .cff-likebox .fb_iframe_widget{ |
| 604 | width: 100%; |
| 605 | } |
| 606 | .cff-likebox .fb_iframe_widget span{ |
| 607 | width: 100% !important; |
| 608 | } |
| 609 | .cff-likebox .fb_iframe_widget iframe{ |
| 610 | margin: 0; |
| 611 | position: relative; |
| 612 | top: 0; |
| 613 | left: 0; |
| 614 | width: 100% !important; |
| 615 | height: 100%; |
| 616 | } |
| 617 | /*Like box is not inside of #cff*/ |
| 618 | .cff-likebox.cff-top.cff-outside{ |
| 619 | margin-bottom: 10px; |
| 620 | } |
| 621 | .cff-likebox.cff-bottom.cff-outside{ |
| 622 | margin-top: 10px; |
| 623 | } |
| 624 | /*********************/ |
| 625 | /*** STYLE OPTIONS ***/ |
| 626 | /*********************/ |
| 627 | #cff.cff-fixed-height{ |
| 628 | overflow: hidden; |
| 629 | overflow-y: auto; |
| 630 | padding: 5px 10px; |
| 631 | |
| 632 | -webkit-box-sizing: border-box; |
| 633 | -moz-box-sizing: border-box; |
| 634 | box-sizing: border-box; |
| 635 | } |
| 636 | |
| 637 | #cff .cff-error-msg{ |
| 638 | display: none; |
| 639 | position: relative; |
| 640 | font-size: 12px; |
| 641 | font-family: sans-serif; |
| 642 | padding: 8px 12px; |
| 643 | border: 1px solid #ddd; |
| 644 | margin-bottom: 10px; |
| 645 | clear: both; |
| 646 | |
| 647 | -webkit-border-radius: 3px; |
| 648 | -moz-border-radius: 3px; |
| 649 | -ms-border-radius: 3px; |
| 650 | -o-border-radius: 3px; |
| 651 | border-radius: 3px; |
| 652 | } |
| 653 | #cff .cff-error-msg p{ |
| 654 | float: none; |
| 655 | } |
| 656 | #cff .cff-error-msg .cff_notice_dismiss{ |
| 657 | position: absolute; |
| 658 | top: 4px; |
| 659 | right: 8px; |
| 660 | } |
| 661 | #cff #cff-error-reason{ |
| 662 | display: none; |
| 663 | padding: 5px 0 0 0; |
| 664 | clear: both; |
| 665 | } |
| 666 | |
| 667 | /* Credit link */ |
| 668 | #cff.cff-default-styles .cff-credit{ |
| 669 | font-size: 11px; |
| 670 | } |
| 671 | #cff.cff-default-styles .cff-credit a{ |
| 672 | text-decoration: none; |
| 673 | } |
| 674 | #cff .cff-credit img{ |
| 675 | float: left; |
| 676 | margin: -2px 5px 0 0; |
| 677 | } |
| 678 | #cff .cff-credit .fa{ |
| 679 | padding-right: 5px; |
| 680 | font-size: 13px; |
| 681 | } |
| 682 | |
| 683 | /* Accessibility */ |
| 684 | .cff-screenreader{ |
| 685 | text-indent: -9999px !important; |
| 686 | display: block !important; |
| 687 | width: 0 !important; |
| 688 | height: 0 !important; |
| 689 | line-height: 0 !important; |
| 690 | } |
| 691 | |
| 692 | /* On mobile make the min-width 100% */ |
| 693 | @media all and (max-width: 640px){ |
| 694 | #cff.cff-width-resp{ |
| 695 | width: 100% !important; |
| 696 | } |
| 697 | .cff-wrapper .cff-visual-header .cff-header-img img { |
| 698 | width: 80px; |
| 699 | } |
| 700 | .cff-wrapper .cff-visual-header.cff-has-name .cff-header-text { |
| 701 | margin-left: 95px; |
| 702 | } |
| 703 | .cff-wrapper .cff-visual-header.cff-has-cover.cff-has-name .cff-header-text { |
| 704 | margin-left: 105px; |
| 705 | } |
| 706 | } |
| 707 | |
| 708 | /* Stops emojis from floating to the left of sentences */ |
| 709 | #cff .cff-comment .cff-comment-text img, |
| 710 | #cff img.emoji, |
| 711 | #cff-lightbox-wrapper .cff-comment .cff-comment-text img, |
| 712 | #cff-lightbox-wrapper img.emoji{ |
| 713 | float: none; |
| 714 | max-width: 100%; |
| 715 | } |
| 716 | #cff .cff-linebreak{ |
| 717 | display: block; |
| 718 | height: 5px; |
| 719 | } |
| 720 | |
| 721 | /* Masonry */ |
| 722 | #cff.cff-masonry .cff-item.cff-box{ |
| 723 | margin-left: 1.5%; |
| 724 | margin-right: 1.5%; |
| 725 | } |
| 726 | #cff.cff-masonry { |
| 727 | box-sizing: border-box; |
| 728 | } |
| 729 | #cff.cff-masonry .cff-item:first-child, |
| 730 | #cff.cff-masonry .cff-item { |
| 731 | padding-top: 20px; |
| 732 | margin-top: 0; |
| 733 | } |
| 734 | #cff.cff-masonry .cff-item, |
| 735 | #cff.cff-masonry .cff-likebox{ |
| 736 | float: none; |
| 737 | display: inline-block; |
| 738 | width: 30.3%; |
| 739 | margin: 0 1.5%; |
| 740 | margin-bottom: 20px; |
| 741 | } |
| 742 | #cff.cff-masonry.cff-opaque-comments .cff-item{ |
| 743 | z-index: 1; |
| 744 | } |
| 745 | #cff.cff-masonry.masonry-2-desktop .cff-item{ |
| 746 | width: 47%; |
| 747 | margin: 0 1.5%; |
| 748 | } |
| 749 | #cff.cff-masonry.masonry-4-desktop .cff-item{ |
| 750 | width: 22%; |
| 751 | margin: 0 1.5%; |
| 752 | } |
| 753 | #cff.cff-masonry.masonry-5-desktop .cff-item{ |
| 754 | width: 17%; |
| 755 | margin: 0 1.5%; |
| 756 | } |
| 757 | #cff.cff-masonry.masonry-6-desktop .cff-item{ |
| 758 | width: 13.516%; |
| 759 | margin: 0 1.5%; |
| 760 | } |
| 761 | #cff.cff-masonry .cff-comments-box { |
| 762 | position: relative; |
| 763 | z-index: 999; |
| 764 | } |
| 765 | #cff.cff-masonry .cff-comment-attachment, |
| 766 | #cff.cff-masonry .cff-comment-replies-box { |
| 767 | max-width: 100%; |
| 768 | } |
| 769 | /* Load more button */ |
| 770 | #cff.cff-masonry .cff-load-more{ |
| 771 | display: block; |
| 772 | float: left; |
| 773 | clear: both; |
| 774 | /*position: absolute; |
| 775 | bottom: -40px;*/ |
| 776 | } |
| 777 | @media (max-width: 780px){ |
| 778 | #cff.cff-masonry .cff-item, /* 3 cols */ |
| 779 | #cff.cff-masonry.masonry-2-desktop .cff-item, |
| 780 | #cff.cff-masonry.masonry-4-desktop .cff-item, |
| 781 | #cff.cff-masonry.masonry-5-desktop .cff-item, |
| 782 | #cff.cff-masonry.masonry-6-desktop .cff-item, |
| 783 | #cff.cff-masonry .cff-likebox{ |
| 784 | width: 100%; |
| 785 | margin: 0; |
| 786 | } |
| 787 | #cff.cff-masonry.masonry-2-mobile .cff-item{ |
| 788 | width: 47%; |
| 789 | margin-left: 1.5%; |
| 790 | margin-right: 1.5%; |
| 791 | } |
| 792 | } |
| 793 | |
| 794 | /* --- Begin Pure CSS Masonry Columns Layout --- */ |
| 795 | #cff.cff-masonry.cff-masonry-css { |
| 796 | width: 100%; |
| 797 | overflow: hidden; |
| 798 | margin-bottom: 20px; |
| 799 | } |
| 800 | #cff.cff-masonry.cff-masonry-css { |
| 801 | -webkit-column-gap: 20px; |
| 802 | -moz-column-gap: 20px; |
| 803 | column-gap: 20px; |
| 804 | -webkit-column-fill: auto; |
| 805 | column-fill: unset; |
| 806 | |
| 807 | -webkit-column-count: 3; |
| 808 | -moz-column-count: 3; |
| 809 | column-count: 3; |
| 810 | margin: 0; |
| 811 | } |
| 812 | /* --- Widths & Media --- */ |
| 813 | #cff.cff-masonry.cff-masonry-css.masonry-2-desktop { |
| 814 | -webkit-column-count: 2; |
| 815 | -moz-column-count: 2; |
| 816 | column-count: 2; |
| 817 | margin: 0; |
| 818 | } |
| 819 | #cff.cff-masonry.cff-masonry-css.masonry-4-desktop { |
| 820 | -webkit-column-count: 4; |
| 821 | -moz-column-count: 4; |
| 822 | column-count: 4; |
| 823 | margin: 0; |
| 824 | } |
| 825 | #cff.cff-masonry.cff-masonry-css.masonry-5-desktop { |
| 826 | -webkit-column-count: 5; |
| 827 | -moz-column-count: 5; |
| 828 | column-count: 5; |
| 829 | margin: 0; |
| 830 | } |
| 831 | #cff.cff-masonry.cff-masonry-css.masonry-6-desktop { |
| 832 | -webkit-column-count: 6; |
| 833 | -moz-column-count: 6; |
| 834 | column-count: 6; |
| 835 | margin: 0; |
| 836 | } |
| 837 | #cff.cff-masonry.cff-masonry-css .cff-item, |
| 838 | #cff.cff-masonry.cff-masonry-css.masonry-2-desktop .cff-item, |
| 839 | #cff.cff-masonry.cff-masonry-css.masonry-4-desktop .cff-item, |
| 840 | #cff.cff-masonry.cff-masonry-css.masonry-5-desktop .cff-item, |
| 841 | #cff.cff-masonry.cff-masonry-css.masonry-6-desktop .cff-item, |
| 842 | #cff.cff-masonry.cff-masonry-css .cff-likebox { |
| 843 | float: none; |
| 844 | display: inline-block; |
| 845 | width: 100%; |
| 846 | margin: 0 0 12px 0; |
| 847 | } |
| 848 | #cff.cff-masonry.cff-masonry-css .cff-likebox { |
| 849 | width: 99.5%; |
| 850 | } |
| 851 | /* Load more button */ |
| 852 | #cff.cff-masonry.cff-masonry-css .cff-load-more{ |
| 853 | margin: 0 0 10px 0; |
| 854 | position: relative; |
| 855 | bottom: 0; |
| 856 | } |
| 857 | @media only screen and ( max-width: 780px ) { |
| 858 | #cff.cff-masonry.cff-masonry-css, |
| 859 | #cff.cff-masonry.cff-masonry-css.masonry-2-desktop, |
| 860 | #cff.cff-masonry.cff-masonry-css.masonry-4-desktop, |
| 861 | #cff.cff-masonry.cff-masonry-css.masonry-5-desktop, |
| 862 | #cff.cff-masonry.cff-masonry-css.masonry-6-desktop { |
| 863 | -webkit-column-count: 1; |
| 864 | -moz-column-count: 1; |
| 865 | column-count: 1; |
| 866 | } |
| 867 | #cff.cff-masonry.cff-masonry-css.masonry-2-mobile { |
| 868 | -webkit-column-count: 2; |
| 869 | -moz-column-count: 2; |
| 870 | column-count: 2; |
| 871 | margin: 0; |
| 872 | } |
| 873 | #cff.cff-masonry.cff-masonry-css.masonry-2-mobile .cff-item, |
| 874 | #cff.cff-masonry.cff-masonry-css.masonry-2-mobile { |
| 875 | width: 100%; |
| 876 | } |
| 877 | } |
| 878 | /* --- End Pure CSS Masonry Columns Layout --- */ |
| 879 | |
| 880 | /* Disable masonry layout in 1 col mobile */ |
| 881 | #cff.cff-disable-masonry{ |
| 882 | height: auto !important; |
| 883 | } |
| 884 | #cff.cff-disable-masonry .cff-item, |
| 885 | #cff.cff-disable-masonry .cff-likebox{ |
| 886 | position: relative !important; |
| 887 | top: auto !important; |
| 888 | } |
| 889 | |
| 890 | /* Num Mobile Hiding */ |
| 891 | .cff-num-diff-hide { |
| 892 | display: none !important; |
| 893 | } |