wpp.css
81 lines
| 1 | /* |
| 2 | Wordpress Popular Posts plugin stylesheet |
| 3 | Developed by Hector Cabrera |
| 4 | cabrerahector.com | @cabrerahector |
| 5 | |
| 6 | Use the following classes to style your popular posts list as you like. |
| 7 | */ |
| 8 | |
| 9 | /* Styles the "Sorry, no data so far" message */ |
| 10 | .wpp-no-data { |
| 11 | } |
| 12 | |
| 13 | /* UL - Popular Posts container styles */ |
| 14 | .wpp-list { |
| 15 | } |
| 16 | |
| 17 | /* LI - Post container styles */ |
| 18 | .wpp-list li { |
| 19 | overflow: hidden; |
| 20 | float: none; |
| 21 | clear: both; |
| 22 | margin-bottom: 1rem; |
| 23 | } |
| 24 | |
| 25 | .wpp-list li:last-of-type { |
| 26 | margin-bottom: 0; |
| 27 | } |
| 28 | |
| 29 | /* Styles for the popular post in view */ |
| 30 | .wpp-list li.current { |
| 31 | } |
| 32 | |
| 33 | /* Thumbnail styles */ |
| 34 | .wpp-thumbnail { |
| 35 | display: inline; |
| 36 | float: left; |
| 37 | margin: 0 1rem 0 0; |
| 38 | border: none; |
| 39 | } |
| 40 | |
| 41 | .wpp_def_no_src { |
| 42 | object-fit: contain; |
| 43 | } |
| 44 | |
| 45 | /* Title styles */ |
| 46 | .wpp-post-title { |
| 47 | } |
| 48 | |
| 49 | /* Excerpt styles */ |
| 50 | .wpp-excerpt { |
| 51 | } |
| 52 | |
| 53 | /* Stats tag styles */ |
| 54 | .wpp-meta, .post-stats { |
| 55 | display: block; |
| 56 | font-size: 0.8em; |
| 57 | } |
| 58 | |
| 59 | /* Comments count styles */ |
| 60 | .wpp-comments { |
| 61 | } |
| 62 | |
| 63 | /* Views count styles */ |
| 64 | .wpp-views { |
| 65 | } |
| 66 | |
| 67 | /* Author styles */ |
| 68 | .wpp-author { |
| 69 | } |
| 70 | |
| 71 | /* Post date styles */ |
| 72 | .wpp-date { |
| 73 | } |
| 74 | |
| 75 | /* Post category styles */ |
| 76 | .wpp-category { |
| 77 | } |
| 78 | |
| 79 | /* WP-PostRatings styles */ |
| 80 | .wpp-rating { |
| 81 | } |