← All changes
|
modules/theme-tools/compat/twentyfourteen.css
+367
-0
16.2-beta
→
16.3-beta
View file →
| @@ -1,0 +1,367 @@ | ||
| 1 | +/** | |
| 2 | + * Jetpack compat stylesheet for Twenty Fourteen. | |
| 3 | + */ | |
| 4 | + | |
| 5 | +#jp-post-flair:empty { | |
| 6 | + display: none; | |
| 7 | +} | |
| 8 | + | |
| 9 | +.site-content #jp-post-flair { | |
| 10 | + margin: 24px 0; | |
| 11 | +} | |
| 12 | + | |
| 13 | +.widget #jp-post-flair { | |
| 14 | + padding-top: 0; | |
| 15 | +} | |
| 16 | + | |
| 17 | +.entry-content div.jp-relatedposts { | |
| 18 | + margin: 0; | |
| 19 | +} | |
| 20 | + | |
| 21 | +div.jp-relatedposts .jp-relatedposts-headline em::after { | |
| 22 | + content: ":"; | |
| 23 | +} | |
| 24 | + | |
| 25 | +#page .entry-content div.sharedaddy h3, | |
| 26 | +#page .entry-summary div.sharedaddy h3, | |
| 27 | +#page .entry-content h3.sd-title, | |
| 28 | +#page .entry-summary h3.sd-title, | |
| 29 | +#primary div.sharedaddy .jp-relatedposts-headline em, | |
| 30 | +.pd-rating, | |
| 31 | +.cs-rating { | |
| 32 | + color: #767676; | |
| 33 | + font-size: 11px; | |
| 34 | + text-transform: uppercase; | |
| 35 | +} | |
| 36 | + | |
| 37 | +.pd-rating, | |
| 38 | +.cs-rating { | |
| 39 | + min-height: 23px; | |
| 40 | + margin-bottom: 5px; | |
| 41 | +} | |
| 42 | + | |
| 43 | +.wp-multiplayer, | |
| 44 | +.PDS_Poll, | |
| 45 | +.CSS_Poll, | |
| 46 | +.entry-content .jetpack-slideshow-window { | |
| 47 | + margin-bottom: 24px; | |
| 48 | +} | |
| 49 | + | |
| 50 | +.entry-content .gist table { | |
| 51 | + margin-bottom: 0; | |
| 52 | +} | |
| 53 | + | |
| 54 | +.entry-content .jetpack-slideshow-window { | |
| 55 | + border-radius: 0; | |
| 56 | +} | |
| 57 | + | |
| 58 | +.entry-content .video-player { | |
| 59 | + padding: 0 0 24px; | |
| 60 | +} | |
| 61 | + | |
| 62 | +.highlander-enabled #respond { | |
| 63 | + margin: 0; | |
| 64 | + padding: 0; | |
| 65 | +} | |
| 66 | + | |
| 67 | +.highlander-enabled #respond h3 { | |
| 68 | + margin: 0 0 24px; | |
| 69 | +} | |
| 70 | + | |
| 71 | +.highlander-enabled #respond h3 small a { | |
| 72 | + width: 24px; | |
| 73 | +} | |
| 74 | + | |
| 75 | +.wpcnt { | |
| 76 | + margin-bottom: 15px; /* 24-9 */ | |
| 77 | +} | |
| 78 | + | |
| 79 | +#wpstats { | |
| 80 | + display: none; | |
| 81 | +} | |
| 82 | + | |
| 83 | +img[id*="botd"] { | |
| 84 | + position: absolute; | |
| 85 | +} | |
| 86 | + | |
| 87 | + | |
| 88 | +/** | |
| 89 | + * Widgets | |
| 90 | + * ----------------------------------------------------------------------------- | |
| 91 | + */ | |
| 92 | + | |
| 93 | +/* About.me Widget*/ | |
| 94 | + | |
| 95 | +.aboutme_widget #am_thumbnail { | |
| 96 | + margin-bottom: 18px; | |
| 97 | +} | |
| 98 | + | |
| 99 | +.aboutme_widget #am_thumbnail img { | |
| 100 | + border: 0; | |
| 101 | + max-width: 100%; | |
| 102 | +} | |
| 103 | + | |
| 104 | +.aboutme_widget #am_name { | |
| 105 | + font-weight: 900; | |
| 106 | + margin: 0; | |
| 107 | +} | |
| 108 | + | |
| 109 | +.aboutme_widget #am_headline { | |
| 110 | + font-size: 14px; | |
| 111 | + line-height: 1.2857142857; | |
| 112 | + margin: 0; | |
| 113 | +} | |
| 114 | + | |
| 115 | +.aboutme_widget #am_bio { | |
| 116 | + margin: 18px 0; | |
| 117 | +} | |
| 118 | + | |
| 119 | +.aboutme_widget #am_bio p { | |
| 120 | + margin-bottom: 6px; | |
| 121 | +} | |
| 122 | + | |
| 123 | +.aboutme_widget #am_bio:empty { | |
| 124 | + margin: 0; | |
| 125 | +} | |
| 126 | + | |
| 127 | +.aboutme_widget #am_services { | |
| 128 | + margin-top: 18px; | |
| 129 | +} | |
| 130 | + | |
| 131 | +/* Akismet Widget */ | |
| 132 | + | |
| 133 | +.widget_akismet_widget a, | |
| 134 | +.content-sidebar .widget_akismet_widget a { | |
| 135 | + color: rgba(255, 255, 255, 0.5) !important; | |
| 136 | +} | |
| 137 | + | |
| 138 | +.widget_akismet_widget a:hover, | |
| 139 | +.content-sidebar .widget_akismet_widget a:hover { | |
| 140 | + color: rgba(255, 255, 255, 0.7) !important; | |
| 141 | +} | |
| 142 | + | |
| 143 | +/* Authors Widget */ | |
| 144 | +.widget.widget_authors li > ul { | |
| 145 | + margin-left: 0; | |
| 146 | +} | |
| 147 | + | |
| 148 | +.widget_authors li { | |
| 149 | + margin-bottom: 9px; | |
| 150 | +} | |
| 151 | + | |
| 152 | +.widget_authors li:last-child { | |
| 153 | + margin-bottom: 0; | |
| 154 | +} | |
| 155 | + | |
| 156 | +.widget_authors img { | |
| 157 | + margin-right: 5px; | |
| 158 | +} | |
| 159 | + | |
| 160 | +/* Contact Info Widget */ | |
| 161 | + | |
| 162 | +.widget_contact_info > div { | |
| 163 | + margin-bottom: 18px; | |
| 164 | +} | |
| 165 | + | |
| 166 | +.widget_contact_info > div:last-child { | |
| 167 | + margin-bottom: 0; | |
| 168 | +} | |
| 169 | + | |
| 170 | +/* Display WordPress Posts Widget */ | |
| 171 | + | |
| 172 | +.widget_jetpack_display_posts_widget .jetpack-display-remote-posts h4 { | |
| 173 | + font-size: 14px; | |
| 174 | + line-height: 1.2857142857; | |
| 175 | + margin: 0 0 9px; | |
| 176 | +} | |
| 177 | + | |
| 178 | +.widget_jetpack_display_posts_widget .jetpack-display-remote-posts p { | |
| 179 | + font-size: 14px; | |
| 180 | + line-height: 1.2857142857 !important; | |
| 181 | + margin: 9px 0 18px !important; | |
| 182 | +} | |
| 183 | + | |
| 184 | +/* Follow Button Widget */ | |
| 185 | + | |
| 186 | +.widget_follow_button_widget iframe { | |
| 187 | + margin-bottom: 0; | |
| 188 | +} | |
| 189 | + | |
| 190 | +/* Gravatar & Gravatar Profile Widget */ | |
| 191 | + | |
| 192 | +.widget_gravatar img.avatar, | |
| 193 | +.widget-grofile .grofile-thumbnail { | |
| 194 | + height: auto; | |
| 195 | + max-width: 100% !important; | |
| 196 | +} | |
| 197 | + | |
| 198 | +.widget-area .widget-grofile h4 { | |
| 199 | + font-size: 12px; | |
| 200 | + line-height: 1.2857142857; | |
| 201 | + margin: 18px 0 9px; | |
| 202 | + text-transform: uppercase; | |
| 203 | +} | |
| 204 | + | |
| 205 | +.widget-area .widget-grofile .grofile-meta h4 { | |
| 206 | + font-size: 18px; | |
| 207 | + line-height: 1; | |
| 208 | + text-transform: none; | |
| 209 | +} | |
| 210 | + | |
| 211 | +/* Image Widget */ | |
| 212 | + | |
| 213 | +.widget_image .wp-caption, | |
| 214 | +.widget_image .wp-caption-text { | |
| 215 | + margin-bottom: 0; | |
| 216 | +} | |
| 217 | + | |
| 218 | +.widget_image img { | |
| 219 | + height: auto; | |
| 220 | +} | |
| 221 | + | |
| 222 | +/* Posts I Like Widget */ | |
| 223 | + | |
| 224 | +.widget_jetpack_posts_i_like .widgets-list-layout li { | |
| 225 | + margin: 0; | |
| 226 | +} | |
| 227 | + | |
| 228 | +/* Recent Comments Widget */ | |
| 229 | + | |
| 230 | +.widget_recent_comments table, | |
| 231 | +.widget_recent_comments td { | |
| 232 | + border: 0; | |
| 233 | +} | |
| 234 | + | |
| 235 | +.widget_recent_comments td.recentcommentsavatartop, | |
| 236 | +.widget_recent_comments td.recentcommentsavatarend { | |
| 237 | + padding: 5px 5px 5px 0; | |
| 238 | +} | |
| 239 | + | |
| 240 | +.widget_recent_comments td.recentcommentstexttop, | |
| 241 | +.widget_recent_comments td.recentcommentstextend { | |
| 242 | + padding: 5px 0 5px 5px; | |
| 243 | + vertical-align: top; | |
| 244 | +} | |
| 245 | + | |
| 246 | +/* Recent Images Widget */ | |
| 247 | + | |
| 248 | +.widget_recent_images img { | |
| 249 | + height: auto; | |
| 250 | +} | |
| 251 | + | |
| 252 | +/* Top Posts & Pages Widget */ | |
| 253 | + | |
| 254 | +.widget_top-posts .widgets-list-layout li { | |
| 255 | + margin-bottom: 0; | |
| 256 | +} | |
| 257 | + | |
| 258 | +/* Twitter(old) Widget */ | |
| 259 | + | |
| 260 | +.widget_twitter li { | |
| 261 | + margin-bottom: 18px; | |
| 262 | +} | |
| 263 | + | |
| 264 | +.widget_twitter li:last-child { | |
| 265 | + margin-bottom: 0; | |
| 266 | +} | |
| 267 | + | |
| 268 | +.widget_twitter iframe { | |
| 269 | + margin: 18px 0 0; | |
| 270 | +} | |
| 271 | + | |
| 272 | +/* List type Widgets */ | |
| 273 | + | |
| 274 | +.widget_jp_blogs_i_follow li, | |
| 275 | +.widget_delicious li, | |
| 276 | +.widgets-list-layout li, | |
| 277 | +.widget_top-clicks li, | |
| 278 | +.widget_top-posts li, | |
| 279 | +.top_rated li, | |
| 280 | +.widget_upcoming_events_widget .upcoming-events li { | |
| 281 | + border-top: 1px solid rgba(255, 255, 255, 0.2); | |
| 282 | + padding: 8px 0 9px; | |
| 283 | +} | |
| 284 | + | |
| 285 | +.widget_jp_blogs_i_follow li:first-child, | |
| 286 | +.widgets-list-layout li:first-child, | |
| 287 | +.widget_top-clicks li:first-child, | |
| 288 | +.widget_top-posts li:first-child, | |
| 289 | +.top_rated li:first-child, | |
| 290 | +.widget_upcoming_events_widget .upcoming-events li:first-child { | |
| 291 | + border-top: 0; | |
| 292 | +} | |
| 293 | + | |
| 294 | +.content-sidebar .widget_jp_blogs_i_follow li, | |
| 295 | +.content-sidebar .widgets-list-layout li, | |
| 296 | +.content-sidebar .widget_top-clicks li, | |
| 297 | +.content-sidebar .widget_top-posts li, | |
| 298 | +.content-sidebar .top_rated li, | |
| 299 | +.content-sidebar .widget_upcoming_events_widget .upcoming-events li { | |
| 300 | + border-color: rgba(0, 0, 0, 0.1); | |
| 301 | +} | |
| 302 | + | |
| 303 | +.content-sidebar widget-area .widget-grofile h4 { | |
| 304 | + font-weight: 900; | |
| 305 | +} | |
| 306 | + | |
| 307 | + | |
| 308 | +/** | |
| 309 | + * Media Queries | |
| 310 | + * ----------------------------------------------------------------------------- | |
| 311 | + */ | |
| 312 | + | |
| 313 | +@media screen and (min-width: 1008px) { | |
| 314 | + | |
| 315 | + .footer-sidebar .widget_jp_blogs_i_follow li, | |
| 316 | + .footer-sidebar .widget_top-clicks li, | |
| 317 | + .footer-sidebar .widget_top-posts li, | |
| 318 | + .footer-sidebar .top_rated li, | |
| 319 | + .footer-sidebar .widget_upcoming_events_widget .upcoming-events li, | |
| 320 | + .primary-sidebar .widget_jp_blogs_i_follow li, | |
| 321 | + .primary-sidebar .widget_top-clicks li, | |
| 322 | + .primary-sidebar .widget_top-posts li, | |
| 323 | + .primary-sidebar .top_rated li { | |
| 324 | + border-top: 0; | |
| 325 | + padding: 0 0 6px; | |
| 326 | + } | |
| 327 | + | |
| 328 | + .footer-sidebar .widget_jp_blogs_i_follow li:last-child, | |
| 329 | + .footer-sidebar .widget_top-clicks li:last-child, | |
| 330 | + .footer-sidebar .widget_top-posts li:last-child, | |
| 331 | + .footer-sidebar .top_rated li:last-child, | |
| 332 | + .footer-sidebar .widget_upcoming_events_widget .upcoming-events li:last-child, | |
| 333 | + .primary-sidebar .widget_jp_blogs_i_follow li:last-child, | |
| 334 | + .primary-sidebar .widget_top-clicks li:last-child, | |
| 335 | + .primary-sidebar .widget_top-posts li:last-child, | |
| 336 | + .primary-sidebar .top_rated li:last-child { | |
| 337 | + padding: 0; | |
| 338 | + } | |
| 339 | + | |
| 340 | + .primary-sidebar .widget_blog_subscription input[type="text"], | |
| 341 | + .footer-sidebar .widget_blog_subscription input[type="text"] { | |
| 342 | + padding: 3px 2px !important; | |
| 343 | + } | |
| 344 | + | |
| 345 | + .footer-sidebar .widget_jetpack_display_posts_widget .jetpack-display-remote-posts h4, | |
| 346 | + .primary-sidebar .widget_jetpack_display_posts_widget .jetpack-display-remote-posts h4, | |
| 347 | + .footer-sidebar .widget_jetpack_display_posts_widget .jetpack-display-remote-posts p, | |
| 348 | + .primary-sidebar .widget_jetpack_display_posts_widget .jetpack-display-remote-posts p, | |
| 349 | + .footer-sidebar .widget-grofile .grofile-meta h4, | |
| 350 | + .primary-sidebar .widget-grofile .grofile-meta h4 { | |
| 351 | + font-size: 12px; | |
| 352 | + line-height: 1.5; | |
| 353 | + } | |
| 354 | + | |
| 355 | + .footer-sidebar .widget_jetpack_display_posts_widget .jetpack-display-remote-posts p, | |
| 356 | + .primary-sidebar .widget_jetpack_display_posts_widget .jetpack-display-remote-posts p { | |
| 357 | + line-height: 1.5 !important; | |
| 358 | + } | |
| 359 | + | |
| 360 | + .footer-sidebar .widget-grofile h4, | |
| 361 | + .primary-sidebar .widget-grofile h4, | |
| 362 | + .footer-sidebar .top_rated div > p:first-of-type, | |
| 363 | + .primary-sidebar .top_rated div > p:first-of-type { | |
| 364 | + font-size: 11px; | |
| 365 | + line-height: 1.6363636363; | |
| 366 | + } | |
| 367 | +} | |