style-wpcom.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. /* WordPress.com Widgets */
  2. /* Account for the demo bar */
  3. .demo-site.pique-frontpage #masthead {
  4. top: 132px;
  5. @media screen and (max-width:782px) {
  6. top: 110px;
  7. }
  8. }
  9. @media screen and (min-width:768px) {
  10. .demo-site .main-navigation.sticky {
  11. top: 111px;
  12. }
  13. }
  14. /* Don't show a background for the masthead, even if colour annotations are in place */
  15. .pique-frontpage #masthead {
  16. background: none !important;
  17. }
  18. /* Hide stats smiley */
  19. #wpstats {
  20. display: none;
  21. }
  22. /* Remove extra styling from comment submit */
  23. #respond {
  24. margin-top: 0 !important;
  25. padding-top: 0 !important;
  26. }
  27. #respond h3 {
  28. margin-top: 20px !important;
  29. }
  30. #respond form {
  31. margin-top: 20px !important;
  32. }
  33. #respond .form-submit input,
  34. #respond .form-submit input#comment-submit,
  35. #respond .comment-form-fields input[type="submit"],
  36. #respond p.form-submit input[type="submit"],
  37. #respond input[type="submit"],
  38. #commentform #submit {
  39. letter-spacing: 0;
  40. outline: none;
  41. text-transform: none;
  42. }
  43. #respond p.comment-subscription-form label {
  44. letter-spacing: 0;
  45. }
  46. /* Improve appearance of ratings */
  47. .rating-msg,
  48. .rating-nero-value {
  49. font-size: 18px !important;
  50. font-size: 1rem !important;
  51. vertical-align: top;
  52. }
  53. .rating-icons .rating-nero-icon {
  54. margin-top: 2px !important;
  55. }
  56. /* Brute-force related posts h3 to use the right typeface */
  57. div#jp-relatedposts h3.jp-relatedposts-headline,
  58. div.sharedaddy h3.sd-title {
  59. font-family: Karla, Arial, sans-serif;
  60. font-size: 0.9rem !important;
  61. }
  62. div#jp-relatedposts h3.jp-relatedposts-headline em::before,
  63. div.sharedaddy h3.sd-title::before {
  64. display: none !important;
  65. }
  66. div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a {
  67. font-style: italic;
  68. font-size: 1.1rem;
  69. }
  70. /* Flickr */
  71. #flickr_badge_wrapper {
  72. background: transparent !important;
  73. border: 0 !important;
  74. }
  75. #flickr_badge_uber_wrapper {
  76. margin: 0 auto;
  77. }
  78. #flickr_badge_uber_wrapper td {
  79. border: 0 !important;
  80. }
  81. #flickr_badge_uber_wrapper a:hover,
  82. #flickr_badge_uber_wrapper a:link,
  83. #flickr_badge_uber_wrapper a:active,
  84. #flickr_badge_uber_wrapper a:visited {
  85. color: #777 !important;
  86. }
  87. /* Recent Comments */
  88. .widget_recent_comments td {
  89. border: 0;
  90. padding: 5px 5px 10px 5px;
  91. vertical-align: top;
  92. }
  93. /* Authors */
  94. .widget_authors > ul > li {
  95. border-top: none;
  96. }
  97. .widget_authors img,
  98. .widget_author_grid img {
  99. border-radius: 50%;
  100. float: none;
  101. max-width: 75px;
  102. vertical-align: middle;
  103. }
  104. .widget_authors ul,
  105. .widget_author_grid ul {
  106. list-style: none;
  107. margin: 0;
  108. padding: 0;
  109. }
  110. /* Blogroll */
  111. .widget_links li {
  112. border-top: 1px solid rgba(233, 213, 192, 0.5);
  113. padding: 7px 0;
  114. }
  115. .widget_links li a {
  116. border: none;
  117. display: inline-block;
  118. padding: 0;
  119. }
  120. .widget_links li a:hover {
  121. background: none;
  122. }
  123. /* Follow widget */
  124. .widget-title label {
  125. color: inherit;
  126. font-weight: inherit;
  127. font-size: inherit;
  128. }
  129. /* Facebook */
  130. .widget_facebook_likebox .fb_iframe_widget {
  131. text-align: center;
  132. margin: 20px auto 0;
  133. width: 100%;
  134. }
  135. /* Goodreads */
  136. .widget_goodreads .gr_custom_widget div {
  137. text-align: center;
  138. }
  139. /* Gravatar */
  140. .grofile-thumbnail,
  141. .widget_gravatar img {
  142. border-radius: 50%;
  143. margin-left: auto;
  144. margin-right: auto;
  145. }
  146. .grofile-accounts li a {
  147. display: inline;
  148. }
  149. /* MailChimp overlay */
  150. .pique-frontpage .mc-modal {
  151. /* hack to override exceptionally high z-index for Pique's masthead */
  152. z-index: 10001 !important;
  153. }
  154. @media only screen and (max-width: 980px) {
  155. .pique-frontpage .mc-banner {
  156. z-index: 10002;
  157. }
  158. }
  159. /* Milestone */
  160. .milestone-content {
  161. margin-left: auto;
  162. margin-right: auto;
  163. }
  164. .milestone-header {
  165. background-color: #1d1813;
  166. }
  167. .milestone-header .event {
  168. font-size: 125%;
  169. letter-spacing: 1px;
  170. text-transform: uppercase;
  171. }
  172. .milestone-countdown,
  173. .milestone-message {
  174. color: #1d1813;
  175. border-color: #1d1813;
  176. font-family: Lora, Georgia, serif;
  177. font-style: italic;
  178. }
  179. .milestone-countdown .difference,
  180. .milestone-message .difference {
  181. font-style: normal;
  182. }
  183. /* My Community, Posts I like */
  184. .widget_jetpack_my_community img,
  185. .widget_jetpack_posts_i_like img {
  186. border-radius: 50%;
  187. }
  188. /* Follow button */
  189. .widget_follow_button_widget {
  190. border: none;
  191. }
  192. /* Sharedaddy */
  193. h3.sd-title {
  194. font-size: 16px;
  195. }
  196. .cdm-icon {
  197. z-index: 100001;
  198. }
  199. /* Prevent polls from overflowing on small screens */
  200. @media only screen and (max-width: 650px) {
  201. .pds-box {
  202. max-width: 100% !important;
  203. width: 100% !important;
  204. }
  205. }