| @@ -7,8 +7,40 @@ | ||
| 7 | 7 | <head> |
| 8 | 8 | <title>XML Sitemap Index - ThinkRank SEO</title> |
| 9 | 9 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
| 10 | 10 | <style type="text/css"> |
| 11 | + /* | |
| 12 | + * Brand palette. | |
| 13 | + * | |
| 14 | + * Every value here is the stock one, so this stylesheet is | |
| 15 | + * complete on its own: opened directly it renders exactly | |
| 16 | + * as it always has. Sitemap_Stylesheet overrides these | |
| 17 | + * declarations when the site has set a brand colour, which | |
| 18 | + * is why each brandable colour is a custom property and | |
| 19 | + * nothing below repeats a literal. | |
| 20 | + */ | |
| 21 | + :root { | |
| 22 | + --tr-brand-main: #667eea; | |
| 23 | + --tr-brand-accent: #764ba2; | |
| 24 | + --tr-brand-on-brand: #ffffff; | |
| 25 | + --tr-brand-link: #007bff; | |
| 26 | + --tr-brand-link-hover: #0056b3; | |
| 27 | + --tr-brand-th: #6c757d; | |
| 28 | + --tr-brand-th-text: #ffffff; | |
| 29 | + --tr-brand-rule: #2196f3; | |
| 30 | + --tr-brand-note: #1565c0; | |
| 31 | + --tr-brand-note-bg: #e3f2fd; | |
| 32 | + --tr-brand-badge: #28a745; | |
| 33 | + --tr-brand-badge-text: #ffffff; | |
| 34 | + } | |
| 35 | + .sitemap-logo { | |
| 36 | + display: block; | |
| 37 | + margin: 0 auto 18px; | |
| 38 | + max-height: 64px; | |
| 39 | + max-width: 260px; | |
| 40 | + width: auto; | |
| 41 | + height: auto; | |
| 42 | + } | |
| 11 | 43 | body { |
| 12 | 44 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 13 | 45 | margin: 0; |
| 14 | 46 | padding: 20px; |
| @@ -16,10 +48,10 @@ | ||
| 16 | 48 | color: #333; |
| 17 | 49 | line-height: 1.6; |
| 18 | 50 | } |
| 19 | 51 | .header { |
| 20 | - background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| 21 | - color: white; | |
| 52 | + background: linear-gradient(135deg, var(--tr-brand-main) 0%, var(--tr-brand-accent) 100%); | |
| 53 | + color: var(--tr-brand-on-brand); | |
| 22 | 54 | padding: 30px; |
| 23 | 55 | border-radius: 10px; |
| 24 | 56 | margin-bottom: 30px; |
| 25 | 57 | text-align: center; |
| @@ -74,17 +106,17 @@ | ||
| 74 | 106 | color: #495057; |
| 75 | 107 | font-size: 1.5em; |
| 76 | 108 | } |
| 77 | 109 | .description { |
| 78 | - background: #e3f2fd; | |
| 110 | + background: var(--tr-brand-note-bg); | |
| 79 | 111 | padding: 15px 20px; |
| 80 | - border-left: 4px solid #2196f3; | |
| 112 | + border-left: 4px solid var(--tr-brand-rule); | |
| 81 | 113 | margin: 20px; |
| 82 | 114 | border-radius: 4px; |
| 83 | 115 | } |
| 84 | 116 | .description p { |
| 85 | 117 | margin: 0; |
| 86 | - color: #1565c0; | |
| 118 | + color: var(--tr-brand-note); | |
| 87 | 119 | font-size: 0.95em; |
| 88 | 120 | } |
| 89 | 121 | table { |
| 90 | 122 | width: 100%; |
| @@ -91,10 +123,10 @@ | ||
| 91 | 123 | border-collapse: collapse; |
| 92 | 124 | font-size: 14px; |
| 93 | 125 | } |
| 94 | 126 | th { |
| 95 | - background: #6c757d; | |
| 96 | - color: white; | |
| 127 | + background: var(--tr-brand-th); | |
| 128 | + color: var(--tr-brand-th-text); | |
| 97 | 129 | padding: 15px 10px; |
| 98 | 130 | text-align: left; |
| 99 | 131 | font-weight: 600; |
| 100 | 132 | text-transform: uppercase; |
| @@ -113,20 +145,20 @@ | ||
| 113 | 145 | max-width: 400px; |
| 114 | 146 | word-break: break-all; |
| 115 | 147 | } |
| 116 | 148 | .sitemap-cell a { |
| 117 | - color: #007bff; | |
| 149 | + color: var(--tr-brand-link); | |
| 118 | 150 | text-decoration: none; |
| 119 | 151 | font-weight: 500; |
| 120 | 152 | } |
| 121 | 153 | .sitemap-cell a:hover { |
| 122 | 154 | text-decoration: underline; |
| 123 | - color: #0056b3; | |
| 155 | + color: var(--tr-brand-link-hover); | |
| 124 | 156 | } |
| 125 | 157 | .sitemap-type { |
| 126 | 158 | display: inline-block; |
| 127 | - background: #28a745; | |
| 128 | - color: white; | |
| 159 | + background: var(--tr-brand-badge); | |
| 160 | + color: var(--tr-brand-badge-text); | |
| 129 | 161 | padding: 4px 8px; |
| 130 | 162 | border-radius: 12px; |
| 131 | 163 | font-size: 11px; |
| 132 | 164 | font-weight: 600; |
| @@ -145,9 +177,9 @@ | ||
| 145 | 177 | color: #6c757d; |
| 146 | 178 | font-size: 14px; |
| 147 | 179 | } |
| 148 | 180 | .footer a { |
| 149 | - color: #007bff; | |
| 181 | + color: var(--tr-brand-link); | |
| 150 | 182 | text-decoration: none; |
| 151 | 183 | } |
| 152 | 184 | .footer a:hover { |
| 153 | 185 | text-decoration: underline; |
| @@ -167,8 +199,9 @@ | ||
| 167 | 199 | </style> |
| 168 | 200 | </head> |
| 169 | 201 | <body> |
| 170 | 202 | <div class="header"> |
| 203 | + <!-- thinkrank:logo --> | |
| 171 | 204 | <h1>XML Sitemap Index</h1> |
| 172 | 205 | <p>Generated by ThinkRank SEO Plugin</p> |
| 173 | 206 | <div class="stats"> |
| 174 | 207 | <div class="stat-item"> |