Verified Template

Amazon

www.amazon.com

Description

www.amazon.com

Amazon Starter Template

A ready-to-paste starting point for your own Amazon theme. Amazon exposes no public design-token layer, so the starter works with the landmarks that have survived years of redesigns — the header and nav IDs, the search input and the search-results classes — and recolors those. Product photos, prices and ratings are never restyled.

/*
 * CoolStyles Starter Template — Amazon
 * Amazon has no public design-token layer, so this starter works
 * with the page's long-lived landmarks: the header and nav IDs,
 * the search input, and the search-results classes. Change the
 * --cs-* colors to make it yours, paste into the CoolStyles CSS
 * Editor on amazon.com, Preview, then Save. Prices, ratings and
 * product photos are never restyled.
 */

:root {
  --cs-bg: #f4efe8;
  --cs-surface: #fffdf8;
  --cs-header: #232f3e;
  --cs-ink: #1f2937;
  --cs-muted: #6b7280;
  --cs-accent: #ff9900;
  --cs-accent-deep: #e47911;
  --cs-line: #e3d9c8;
  --cs-focus: #146eb4;
}

/* 01 · Page canvas */
body {
  background-color: var(--cs-bg);
  color: var(--cs-ink);
}

/* 02 · Header + main nav */
#navbar,
#nav-main {
  background-color: var(--cs-header);
}

/* 03 · Search box */
#twotabsearchtextbox {
  border-radius: 10px;
  color: var(--cs-ink);
}

/* 04 · Search results: card surfaces, product media untouched */
.s-main-slot .s-result-item {
  background: var(--cs-surface);
  border: 1px solid var(--cs-line);
  border-radius: 14px;
}

.s-main-slot a {
  color: var(--cs-accent-deep);
}

/* 05 · Primary buttons */
.a-button-primary .a-button-inner {
  background: var(--cs-accent);
  border-radius: 999px;
}

/* 06 · Footer */
#navFooter {
  background-color: var(--cs-header);
}

/* 07 · Keyboard focus — keep it clearly visible */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--cs-focus) !important;
  outline-offset: 2px;
}

/* 08 · Reduced motion */
@media(prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

Tip: Amazon localizes its markup per marketplace. This starter targets amazon.com — on a regional store, check the same landmarks in DevTools before assuming a rule failed.

How to Use This Template

1

Install the free CoolStyles extension in your browser.

2

Open amazon.com in a tab and keep it active.

3

Click the CoolStyles icon and open the CSS Editor tab.

4

Paste the starter template (or a full example below) and give your style a name.

5

Press Preview to try it live on the page, then Save Style to keep it. Your style is stored in the extension and applied automatically every time you visit amazon.com.

Scope note: Amazon has no generated theme pack in this collection yet, so this page is a hand-authored starter rather than a reference extraction. The hooks below are the long-lived landmarks — verify each one with Preview on the current amazon.com.

Selector Reference

There is no Amazon reference theme to extract from, so this table lists the structural landmarks that have remained stable across many Amazon redesigns — IDs first, then the results classes. Treat anything more specific as guessing.

Area Selector What it styles
Page body Page background and base text color
Header #navbar The top header bar (logo, search, account links)
Header #nav-main The main navigation strip under the header
Search #twotabsearchtextbox The search input — an unusually stable ID
Results .s-main-slot The search-results column
Results .s-main-slot .s-result-item One result card: surface, border, radius — product media inside stays untouched
Buttons .a-button-primary .a-button-inner Primary action buttons (Add to Cart family)
Footer #navFooter The page footer block
Footer #navBackToTop The back-to-top strip above the footer
Handle with care: Amazon sprinkles hashed, per-experiment classes through its modules — a rule that matches one today may match something else tomorrow. Stay on IDs and the results landmarks, never hide price, rating or availability elements, and never restyle checkout or payment surfaces.
Selector freshness: these landmarks are long-lived but Amazon experiments constantly and varies markup by marketplace and device. Always use the extension's Preview on the current amazon.com before saving, and re-check after big shopping events when Amazon reshuffles its pages.

Theme Ideas for Amazon

Amazon does not have a generated theme pack yet, so instead of finished themes, here are curated concepts to build from the starter — plus one complete example theme written from it, below.

Amazon - Midnight Market

Dark

Deep-navy storefront with amber accents for late-night browsing. Full CSS below.

Amazon - Bookshop Paper

Light

Warm paper canvas and ink-brown text — a reading-first, low-glare storefront.

Amazon - Prime Sky

Blue

Sky-blue header family with crisp white cards and a calmer, airier feel.

Amazon - Forest Finds

Nature

Deep greens and parchment for garden, outdoor and handmade categories.

Amazon - Deal Day Gold

Festival

Charcoal surfaces lit by deal-gold highlights — sale season without the visual shouting.

See a complete example — Amazon - Midnight Market (full CSS)

A complete example theme written from the starter template above — pure CSS on the documented landmarks, no external assets. Copy it into the CSS Editor as-is, or mine it for techniques.

/*
 * Amazon — Midnight Market
 * A dark storefront: deep-navy header, charcoal results canvas,
 * amber accents. Landmark hooks only; media and prices untouched.
 */

:root {
  --mm-bg: #10141c;
  --mm-surface: #1a2130;
  --mm-header: #0b0f16;
  --mm-ink: #eef2f8;
  --mm-muted: #9aa7ba;
  --mm-accent: #ffb84d;
  --mm-accent-deep: #ff9900;
  --mm-line: #2b3648;
  --mm-focus: #66c2ff;
}

body {
  background-color: var(--mm-bg);
  color: var(--mm-ink);
}

#navbar,
#nav-main,
#navFooter {
  background-color: var(--mm-header);
}

#twotabsearchtextbox {
  background: var(--mm-surface);
  color: var(--mm-ink);
  border-radius: 10px;
}

.s-main-slot .s-result-item {
  background: var(--mm-surface);
  border: 1px solid var(--mm-line);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
}

.s-main-slot a {
  color: var(--mm-accent);
}

.a-button-primary .a-button-inner {
  background: linear-gradient(#ffcf7d, var(--mm-accent-deep));
  border-radius: 999px;
  color: #1a1206;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--mm-focus) !important;
  outline-offset: 2px;
}

@media(prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

Theme Quality Rules

  • Define your palette once as CSS variables in :root — recoloring then takes seconds and stays consistent.
  • Never hide essential UI: no display: none on the header, search box, price or buy buttons, or any checkout surface.
  • Keep searching, filtering, the cart and checkout fully functional — keyboard navigation, Enter and Escape must behave as usual.
  • Keep text readable: check the contrast of your text and link colors against your backgrounds.
  • Always style :focus-visible so keyboard users can see where they are.
  • Respect prefers-reduced-motion for transitions and animations.
  • Avoid deep nth-child selector chains — they are the first thing to break when Amazon shuffles its markup.
  • Prefer the documented hooks over global rules such as a { color: ... !important; }, which recolor every link on the page.

Specifications

<div></div>

amazon.com

Fast Deployment

Ready to use in seconds

DO YOU LIKE CUTE THEMES FOR WEBSITES ?

Choose from 1000+ unique themes and personalize your favourite websites.

Coolstyles brings together themes, custom cursors, and cool symbols to personalize your browsing experience. New packs and tools are updated frequently to keep your desktop style fresh and fun.
Success

Style Added

Error

Failed. Please try again.