| @@ -7,8 +7,12 @@ | ||
| 7 | 7 | * @package automattic/jetpack |
| 8 | 8 | * @since 4.8.0 |
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 12 | + exit( 0 ); | |
| 13 | +} | |
| 14 | + | |
| 11 | 15 | /** |
| 12 | 16 | * Builds the XSL files required by Jetpack_Sitemap_Manager. |
| 13 | 17 | * |
| 14 | 18 | * @since 4.8.0 |
| @@ -708,9 +712,9 @@ | ||
| 708 | 712 | * |
| 709 | 713 | * @return string The CSS. |
| 710 | 714 | */ |
| 711 | 715 | public static function sitemap_xsl_css() { |
| 712 | - return <<<CSS | |
| 716 | + return <<<'CSS' | |
| 713 | 717 | body { |
| 714 | 718 | font: 14px 'Open Sans', Helvetica, Arial, sans-serif; |
| 715 | 719 | margin: 0; |
| 716 | 720 | } |
| @@ -724,15 +728,15 @@ | ||
| 724 | 728 | margin: 0; |
| 725 | 729 | } |
| 726 | 730 | |
| 727 | 731 | #description { |
| 728 | - background-color: #81a844; | |
| 729 | - color: #FFF; | |
| 732 | + background-color: #f0f2eb; | |
| 733 | + color: #000; | |
| 730 | 734 | padding: 30px 30px 20px; |
| 731 | 735 | } |
| 732 | 736 | |
| 733 | 737 | #description a { |
| 734 | - color: #fff; | |
| 738 | + color: #008710; | |
| 735 | 739 | } |
| 736 | 740 | |
| 737 | 741 | #content { |
| 738 | 742 | padding: 10px 30px 30px; |
| @@ -756,9 +760,9 @@ | ||
| 756 | 760 | padding: 10px 15px; |
| 757 | 761 | } |
| 758 | 762 | |
| 759 | 763 | .odd { |
| 760 | - background-color: #E7F1D4; | |
| 764 | + background: linear-gradient( 159.87deg, #f6f6f4 7.24%, #f7f4ea 64.73%, #ddedd5 116.53% ); | |
| 761 | 765 | } |
| 762 | 766 | |
| 763 | 767 | #footer { |
| 764 | 768 | margin: 20px 30px; |
| @@ -783,6 +787,5 @@ | ||
| 783 | 787 | max-width: 100px; |
| 784 | 788 | } |
| 785 | 789 | CSS; |
| 786 | 790 | } |
| 787 | - | |
| 788 | 791 | } |