/* * Starter stylesheet for a sitemap served via buildSitemapXml({ cssUrl }). * Uses type="text/css" on XML (W3C "Associating Style Sheets with XML") — NOT * XSLT, so no browser deprecation warning. Selectors are the XML tag names. * * Copy to your project's /public/sitemap.css and adjust colors/spacing to taste. * Crawlers ignore this; it only affects the human-readable browser view. */ urlset { display: block; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #090d16; color: #f1f5f9; padding: 2rem 1.5rem; max-width: 1200px; margin: 0 auto; line-height: 1.5; } /* Each URL entry as a card. */ url { display: block; background: #111827; border: 1px solid #1e293b; border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; } /* The URL itself. */ loc { display: block; font-size: 0.95rem; font-weight: 600; color: #f97316; margin-bottom: 0.5rem; word-break: break-all; } /* Metadata line: lastmod / changefreq / priority, each with a label. */ lastmod, changefreq, priority { display: inline-block; font-size: 0.8rem; color: #94a3b8; margin-right: 1.5rem; } lastmod::before { content: 'Ostatnia modyfikacja: '; color: #64748b; } changefreq::before { content: 'Częstotliwość: '; color: #64748b; } priority::before { content: 'Priorytet: '; color: #64748b; } /* hreflang alternates as small pills. */ link { display: inline-block; font-size: 0.75rem; background: #1e293b; color: #38bdf8; border: 1px solid #334155; padding: 0.15rem 0.45rem; border-radius: 4px; margin: 0.4rem 0.35rem 0 0; }