_post-flair.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. /*--------------------------------------------------------------*/
  2. /* !## Postflair / Sharedaddy */
  3. /*--------------------------------------------------------------*/
  4. .hentry .entry-content > #jp-post-flair,
  5. .hentry .entry-content > .sd-sharing-enabled {
  6. & > div {
  7. padding-top: 1em;
  8. margin: 1em 0;
  9. }
  10. .sd-title {
  11. color: $color__link-hover;
  12. font-weight: normal;
  13. line-height: 2em;
  14. display: inline-block;
  15. margin-right: $gutter;
  16. margin-bottom: 0;
  17. width: 15%;
  18. vertical-align: middle;
  19. &:before {
  20. display: none;
  21. }
  22. }
  23. .sd-content {
  24. display: inline-block;
  25. vertical-align: text-top;
  26. & > ul {
  27. margin-bottom: 0 !important;
  28. }
  29. }
  30. .pd-rating {
  31. display: inline-block !important;
  32. vertical-align: text-top;
  33. .rating-icons,
  34. div[id^="rating"],
  35. .rating-msg {
  36. display: inline-block !important;
  37. vertical-align: middle;
  38. float: none !important
  39. }
  40. .rating-msg {
  41. @include font-size(0.875);
  42. }
  43. }
  44. .jetpack-likes-widget-wrapper {
  45. .sd-title {
  46. display: inline-block;
  47. }
  48. .jetpack-likes-widget,
  49. .likes-widget-placeholder {
  50. display: inline-block;
  51. position: relative;
  52. top: inherit;
  53. width: auto !important;
  54. vertical-align: text-top;
  55. }
  56. }
  57. .jp-relatedposts-headline {
  58. color: $color__link-hover;
  59. margin-right: $gutter;
  60. margin-bottom: 0;
  61. width: 15%;
  62. em {
  63. font-weight: normal;
  64. &:before {
  65. display: none;
  66. }
  67. }
  68. }
  69. .jp-relatedposts-items {
  70. clear: none;
  71. .jp-relatedposts-post {
  72. width: 100%;
  73. font-family: $font__main;
  74. }
  75. }
  76. div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post img.jp-relatedposts-post-img,
  77. div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post span {
  78. border: 1px solid $color__background-hr;
  79. margin-bottom: ($baseline * .5);
  80. }
  81. div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a {
  82. font-weight: 800;
  83. }
  84. }
  85. @include breakpoint( mobileonly ) {
  86. .hentry .entry-content > #jp-post-flair .sd-title,
  87. .hentry .entry-content > .sd-sharing-enabled .sd-title {
  88. margin-right: 0;
  89. width: 100%;
  90. }
  91. .hentry .entry-content > #jp-post-flair > div,
  92. .hentry .entry-content > .sd-sharing-enabled > div {
  93. padding-top: 0;
  94. }
  95. }
  96. @include breakpoint( phablet ) {
  97. .hentry .entry-content > #jp-post-flair,
  98. .hentry .entry-content > .sd-sharing-enabled {
  99. .jp-relatedposts-items .jp-relatedposts-post {
  100. width: 26%;
  101. }
  102. }
  103. }