twentyfifteen-rtl.css
7 years ago
twentyfifteen.css
1 year ago
twentyfifteen.php
1 year ago
twentyfourteen-rtl.css
7 years ago
twentyfourteen.css
1 year ago
twentyfourteen.php
1 year ago
twentynineteen-rtl.css
2 years ago
twentynineteen.css
1 year ago
twentynineteen.php
1 year ago
twentysixteen-rtl.css
3 years ago
twentysixteen.css
1 year ago
twentysixteen.php
1 year ago
twentytwenty-rtl.css
2 years ago
twentytwenty.css
1 year ago
twentytwenty.php
1 year ago
twentytwentyone-rtl.css
2 years ago
twentytwentyone.css
1 year ago
twentytwentyone.php
1 year ago
twentytwenty.css
318 lines
| 1 | /** |
| 2 | * Infinite scroll |
| 3 | */ |
| 4 | |
| 5 | #infinite-footer { |
| 6 | z-index: 1; |
| 7 | } |
| 8 | |
| 9 | /* Globally hidden elements when Infinite Scroll is supported and in use. */ |
| 10 | .infinite-scroll .pagination-wrapper, |
| 11 | .infinite-scroll.neverending .footer-nav-widgets-wrapper, |
| 12 | .infinite-scroll.neverending #site-footer { |
| 13 | |
| 14 | /* Theme Footer (when set to scrolling) */ |
| 15 | display: none; |
| 16 | } |
| 17 | |
| 18 | /* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */ |
| 19 | .infinite-end.neverending .footer-nav-widgets-wrapper, |
| 20 | .infinity-end.neverending #site-footer { |
| 21 | display: block; |
| 22 | } |
| 23 | |
| 24 | .infinity-end.neverending #site-footer { |
| 25 | margin: 8rem 0 0; |
| 26 | } |
| 27 | |
| 28 | .infinite-loader { |
| 29 | margin: 5rem auto; |
| 30 | } |
| 31 | |
| 32 | .infinite-loader .spinner { |
| 33 | margin: 0 auto; |
| 34 | left: inherit !important; |
| 35 | } |
| 36 | |
| 37 | #site-content #infinite-handle { |
| 38 | margin: 5rem auto; |
| 39 | max-width: 58rem; |
| 40 | width: calc(100% - 8rem); |
| 41 | } |
| 42 | |
| 43 | #site-content #infinite-handle span { |
| 44 | background: transparent; |
| 45 | display: block; |
| 46 | font-size: 1.7rem; |
| 47 | text-align: center; |
| 48 | } |
| 49 | |
| 50 | #site-content #infinite-handle span button, |
| 51 | #site-content #infinite-handle span button:hover, |
| 52 | #site-content #infinite-handle span button:focus { |
| 53 | -webkit-appearance: none; |
| 54 | -moz-appearance: none; |
| 55 | border: none; |
| 56 | background: #cd2653; |
| 57 | border-radius: 0; |
| 58 | color: #fff; |
| 59 | cursor: pointer; |
| 60 | display: inline-block; |
| 61 | font-size: 1.5rem; |
| 62 | font-weight: 600; |
| 63 | letter-spacing: 0.0333em; |
| 64 | line-height: 1.25; |
| 65 | margin: 0; |
| 66 | opacity: 1; |
| 67 | padding: 1.1em 1.44em; |
| 68 | text-align: center; |
| 69 | text-decoration: none; |
| 70 | text-transform: uppercase; |
| 71 | transition: opacity 0.15s linear; |
| 72 | } |
| 73 | |
| 74 | #site-content #infinite-handle span button:hover { |
| 75 | text-decoration: underline; |
| 76 | } |
| 77 | |
| 78 | #site-content .infinite-wrap .hentry:first-of-type { |
| 79 | padding: 4rem 0 0; |
| 80 | } |
| 81 | |
| 82 | /** |
| 83 | * Sharing & Related Posts |
| 84 | */ |
| 85 | |
| 86 | .entry-content div.sharedaddy h3.sd-title, |
| 87 | .entry-content h3.sd-title, |
| 88 | .entry-content #jp-relatedposts h3.jp-relatedposts-headline { |
| 89 | font-size: 2.8rem; |
| 90 | font-weight: 700; |
| 91 | letter-spacing: -0.016875em; |
| 92 | line-height: 1.5; |
| 93 | } |
| 94 | |
| 95 | @media (min-width: 700px) { |
| 96 | |
| 97 | .entry-content div.sharedaddy h3.sd-title, |
| 98 | .entry-content h3.sd-title, |
| 99 | .entry-content #jp-relatedposts h3.jp-relatedposts-headline { |
| 100 | font-size: 4rem; |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | .entry-content div.sharedaddy h3.sd-title::before, |
| 105 | .entry-content h3.sd-title::before { |
| 106 | border: 0 none; |
| 107 | } |
| 108 | |
| 109 | .entry-content #jp-relatedposts h3.jp-relatedposts-headline em::before { |
| 110 | border: 0 none; |
| 111 | } |
| 112 | |
| 113 | /* Authors widget */ |
| 114 | .widget_authors ul { |
| 115 | list-style: none; |
| 116 | margin-left: 0; |
| 117 | } |
| 118 | |
| 119 | .widget_authors li { |
| 120 | margin-top: 1rem; |
| 121 | list-style: none; |
| 122 | } |
| 123 | |
| 124 | .widget_authors li:first-child { |
| 125 | margin-top: 2rem; |
| 126 | } |
| 127 | |
| 128 | /* Flickr */ |
| 129 | .widget_flickr .flickr-size-thumbnail .flickr-images { |
| 130 | justify-content: left; |
| 131 | } |
| 132 | |
| 133 | /* EU cookie law */ |
| 134 | .widget_eu_cookie_law_widget #eu-cookie-law, |
| 135 | .widget_eu_cookie_law_widget #eu-cookie-law .accept { |
| 136 | font-size: 1.6rem; |
| 137 | font-weight: 500; |
| 138 | padding: 2rem; |
| 139 | } |
| 140 | |
| 141 | .widget_eu_cookie_law_widget #eu-cookie-law .accept { |
| 142 | font-size: 1.4rem; |
| 143 | font-weight: 600; |
| 144 | letter-spacing: 0.0333em; |
| 145 | line-height: 1.25; |
| 146 | padding: 1.1em 1.44em; |
| 147 | text-decoration: none; |
| 148 | text-transform: uppercase; |
| 149 | transition: opacity 0.15s linear; |
| 150 | } |
| 151 | |
| 152 | @media (max-width: 600px) { |
| 153 | |
| 154 | .widget_eu_cookie_law_widget #eu-cookie-law { |
| 155 | font-size: 1.4rem; |
| 156 | padding: 1.5rem 1.5rem 6.5rem; |
| 157 | } |
| 158 | |
| 159 | .widget_eu_cookie_law_widget #eu-cookie-law .accept { |
| 160 | font-size: 1.2rem; |
| 161 | bottom: 1.5rem; |
| 162 | right: auto; |
| 163 | left: 1.5rem; |
| 164 | padding: 1rem; |
| 165 | margin: 0; |
| 166 | } |
| 167 | } |
| 168 | |
| 169 | /* Subscriptions Widget */ |
| 170 | |
| 171 | .jetpack_subscription_widget .widget-title label { |
| 172 | font-size: 2.8rem; |
| 173 | font-weight: 700; |
| 174 | margin: 0; |
| 175 | } |
| 176 | |
| 177 | @media ( min-width: 700px ) { |
| 178 | |
| 179 | .jetpack_subscription_widget .widget-title label { |
| 180 | font-size: 4rem; |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | /* |
| 185 | * This overwrites inline styles added to the wpcom widget, |
| 186 | * hence the use of !important |
| 187 | */ |
| 188 | .widget_blog_subscription form p:not(#subscribe-email) input[type="text"] { |
| 189 | padding: 1.5rem 1.8rem !important; |
| 190 | width: 100% !important; |
| 191 | } |
| 192 | |
| 193 | /* Related Posts */ |
| 194 | |
| 195 | .entry-content #jp-relatedposts { |
| 196 | max-width: 120rem; |
| 197 | margin: 1em auto; |
| 198 | width: calc(100% - 4rem); |
| 199 | } |
| 200 | |
| 201 | @media (min-width: 700px) { |
| 202 | |
| 203 | .entry-content #jp-relatedposts { |
| 204 | width: calc(100% - 8rem); |
| 205 | } |
| 206 | } |
| 207 | |
| 208 | #jp-relatedposts .jp-relatedposts-grid { |
| 209 | display: flex; |
| 210 | flex-grow: 1; |
| 211 | flex-basis: 0; |
| 212 | justify-content: space-between; |
| 213 | box-sizing: border-box; |
| 214 | } |
| 215 | |
| 216 | #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post, |
| 217 | #jp-relatedposts .jp-relatedposts-post { |
| 218 | width: calc(33% - 2rem); |
| 219 | margin-left: 0; |
| 220 | margin-right: 0; |
| 221 | } |
| 222 | |
| 223 | @media only screen and (max-width: 640px) { |
| 224 | |
| 225 | #jp-relatedposts .jp-relatedposts-grid { |
| 226 | flex-direction: column; |
| 227 | } |
| 228 | |
| 229 | #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post, |
| 230 | #jp-relatedposts .jp-relatedposts-post { |
| 231 | width: 100%; |
| 232 | } |
| 233 | } |
| 234 | |
| 235 | #jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post { |
| 236 | padding-right: 0; |
| 237 | } |
| 238 | |
| 239 | #jp-relatedposts#jp-relatedposts .jp-relatedposts-items p, |
| 240 | #jp-relatedposts#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title { |
| 241 | font-size: inherit; |
| 242 | line-height: 1.5; |
| 243 | } |
| 244 | |
| 245 | #jp-relatedposts .jp-relatedposts-items-visual { |
| 246 | margin-right: 0; |
| 247 | } |
| 248 | |
| 249 | #jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post img.jp-relatedposts-post-img { |
| 250 | width: 100%; |
| 251 | } |
| 252 | |
| 253 | /* Tiled Galleries in Classic Blocks */ |
| 254 | .entry-content .tiled-gallery { |
| 255 | margin: 0 auto 1.5em; |
| 256 | } |
| 257 | |
| 258 | /** |
| 259 | * Shortcodes |
| 260 | */ |
| 261 | |
| 262 | /* Recipe */ |
| 263 | .entry-content .jetpack-recipe { |
| 264 | margin: 1em auto; |
| 265 | } |
| 266 | |
| 267 | /* Facebook */ |
| 268 | .entry-content .fb-video { |
| 269 | display: block; |
| 270 | } |
| 271 | |
| 272 | /** |
| 273 | * Blocks |
| 274 | */ |
| 275 | |
| 276 | /* Related Posts Block */ |
| 277 | .jp-related-posts-i2__post li { |
| 278 | margin: 0; |
| 279 | } |
| 280 | |
| 281 | /* GIF Block */ |
| 282 | .wp-block-jetpack-gif { |
| 283 | |
| 284 | /* Uses !important because the gif block styles are loaded in the footer after this file */ |
| 285 | margin: 1em auto !important; |
| 286 | } |
| 287 | |
| 288 | /** |
| 289 | * Images |
| 290 | */ |
| 291 | |
| 292 | /* Beautiful Math */ |
| 293 | .entry-content img.latex { |
| 294 | display: inline; |
| 295 | } |
| 296 | |
| 297 | /** |
| 298 | * .com Toolbar |
| 299 | */ |
| 300 | |
| 301 | /* fix site position when overflow nav modal */ |
| 302 | .admin-bar { |
| 303 | position: unset !important; |
| 304 | } |
| 305 | |
| 306 | .screen-reader-text { |
| 307 | position: absolute; |
| 308 | } |
| 309 | |
| 310 | /* Contact form */ |
| 311 | |
| 312 | /* See https: //core.trac.wordpress.org/browser/trunk/src/wp-content/themes/twentytwenty/style.css?rev=58726#L710 */ |
| 313 | .contact-form input.grunion-field[type="checkbox"] { |
| 314 | padding: 0; |
| 315 | width: 1.5rem; |
| 316 | height: 1.5rem; |
| 317 | } |
| 318 |