Changeset 48425
- Timestamp:
- 07/10/2020 04:10:07 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php
r48414 r48425 87 87 <head> 88 88 <title>{$title}</title> 89 <style>{$css}</style> 89 <style> 90 {$css} 91 </style> 90 92 </head> 91 93 <body> … … 193 195 <head> 194 196 <title>{$title}</title> 195 <style>{$css}</style> 197 <style> 198 {$css} 199 </style> 196 200 </head> 197 201 <body> … … 252 256 253 257 $css = <<<EOF 254 258 255 259 body { 256 260 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 257 261 color: #444; 258 262 } 259 263 260 264 #sitemap__table { 261 265 border: solid 1px #ccc; 262 266 border-collapse: collapse; 263 267 } 264 268 265 269 #sitemap__table tr td.loc { 266 270 /* 267 271 * URLs should always be LTR. 268 * see https://core.trac.wordpress.org/ticket/16834 and269 * https://core.trac.wordpress.org/ticket/49949272 * See https://core.trac.wordpress.org/ticket/16834 273 * and https://core.trac.wordpress.org/ticket/49949 270 274 */ 271 275 direction: ltr; 272 276 } 273 277 274 278 #sitemap__table tr th { 275 279 text-align: {$text_align}; 276 280 } 277 281 278 282 #sitemap__table tr td, 279 283 #sitemap__table tr th { 280 284 padding: 10px; 281 285 } 282 286 283 287 #sitemap__table tr:nth-child(odd) td { 284 288 background-color: #eee; 285 289 } 286 290 287 291 a:hover { 288 292 text-decoration: none; 289 293 } 294 290 295 EOF; 291 296
Note: See TracChangeset
for help on using the changeset viewer.