| @@ -1,0 +1,51 @@ | ||
| 1 | +/* =Infinity Styles | |
| 2 | +-------------------------------------------------------------- */ | |
| 3 | +.infinite-scroll #main::after { | |
| 4 | + clear: both; | |
| 5 | + content: ""; | |
| 6 | + display: block; | |
| 7 | +} | |
| 8 | + | |
| 9 | +.infinite-scroll #content { | |
| 10 | + margin-bottom: 40px; | |
| 11 | +} | |
| 12 | + | |
| 13 | +.infinite-scroll.neverending #content { | |
| 14 | + margin-bottom: 70px; | |
| 15 | +} | |
| 16 | + | |
| 17 | +.infinite-scroll .infinite-wrap { | |
| 18 | + border-top: none; | |
| 19 | + padding-top: 0; | |
| 20 | +} | |
| 21 | + | |
| 22 | +.infinite-scroll .infinite-wrap .hentry:last-child { | |
| 23 | + border-bottom: 1px solid #dcdcde; | |
| 24 | +} | |
| 25 | + | |
| 26 | +.infinite-scroll .infinite-wrap:last-of-type .hentry:last-child { | |
| 27 | + border-bottom: none; | |
| 28 | +} | |
| 29 | + | |
| 30 | +/** | |
| 31 | + * Elements to hide: | |
| 32 | + * (footer widgets, post navigation, regular footer) | |
| 33 | + */ | |
| 34 | +.infinite-scroll.neverending #colophon #supplementary, | |
| 35 | +.infinite-scroll #nav-below, | |
| 36 | +.infinite-scroll.neverending #colophon { | |
| 37 | + display: none; | |
| 38 | +} | |
| 39 | + | |
| 40 | +/* Hooks to infinity-end body class to restore footer */ | |
| 41 | +.infinity-end.neverending #colophon { | |
| 42 | + display: block; | |
| 43 | +} | |
| 44 | + | |
| 45 | +/* For responsive CSS */ | |
| 46 | +@media (max-width: 800px) { | |
| 47 | + | |
| 48 | + .infinite-scroll #infinite-handle { | |
| 49 | + padding-bottom: 40px; | |
| 50 | + } | |
| 51 | +} | |