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