| 257 | | #sitemap__table { |
| 258 | | border: solid 1px #ccc; |
| 259 | | border-collapse: collapse; |
| 260 | | } |
| | 253 | $css = <<<EOF |
| | 254 | |
| | 255 | body { |
| | 256 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| | 257 | color: #444; |
| | 258 | } |
| | 259 | |
| | 260 | #sitemap__table { |
| | 261 | border: solid 1px #ccc; |
| | 262 | border-collapse: collapse; |
| | 263 | } |
| | 264 | |
| | 265 | #sitemap__table tr th.loc, |
| | 266 | #sitemap__table tr td.loc { |
| | 267 | /* |
| | 268 | * URLs should always be LTR. |
| | 269 | * see https://core.trac.wordpress.org/ticket/16834 and |
| | 270 | * https://core.trac.wordpress.org/ticket/49949 |
| | 271 | */ |
| | 272 | direction: ltr; |
| | 273 | text-align: left; |
| | 274 | } |
| | 275 | |
| | 276 | #sitemap__table tr th.loc { |
| | 277 | text-align: {$text_align}; |
| | 278 | } |
| | 279 | |
| | 280 | #sitemap__table tr td, |
| | 281 | #sitemap__table tr th { |
| | 282 | padding: 10px; |
| | 283 | } |
| | 284 | |
| | 285 | #sitemap__table tr:nth-child(odd) td { |
| | 286 | background-color: #eee; |
| | 287 | } |
| | 288 | |
| | 289 | a:hover { |
| | 290 | text-decoration: none; |
| | 291 | } |
| | 292 | EOF; |