🎨 Kisha’s CSS Cheat Sheet (Squarespace 7.1)

A private reference page for my site’s styles. Keep this in Not Linked (optionally password-protect it).
When I change CSS in Design → Custom CSS, I’ll copy updates back here.


1) Global theme + palette

📍 Top of file

Set brand colors, typography, and card look.
Use this for site-wide changes like fonts, base link color, or swapping teal → another color.

  • Accent (teal): #0E6F78
  • Accent hover: #0B585F
  • Accent soft bg: #E7F3F4
  • Text: #222222
  • Line: #E8EAED

Teal swatches: #0E6F78 #0B585F #E7F3F4

:root{
  --bg:#FFFFFF;
  --text:#222222;
  --muted:#5A5F6A;
  --line:#E8EAED;
  --accent:#0E6F78;
  --accent-hover:#0B585F;
  --accent-soft:#E7F3F4;
}

/* Base type + links */
body { color: var(--text); font-size: 18px; line-height: 1.6; }
h1, h2, h3, h4 { color: var(--text); font-weight: 600; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* Optional card frame */
.card { background:#fff; border:1px solid var(--line); border-radius:14px; padding:1.25rem; }

2) Buttons & CTAs

📍 Section: /* BUTTONS & CTAs */

Covers all buttons (primary, secondary/ghost, hover states).
Use this if you want to tweak all button looks at once.

/* Primary buttons (site-wide) */
.sqs-block-button .sqs-block-button-element,
a.sqs-button-element,
.sqs-editable-button,
.header-actions .header-actions-action,
input[type="submit"],
button[type="submit"],
.sqs-button-element--primary {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

.sqs-block-button .sqs-block-button-element:hover,
a.sqs-button-element:hover,
.sqs-editable-button:hover,
.header-actions .header-actions-action:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.sqs-button-element--primary:hover {
  background: var(--accent-hover) !important;
  border-color: var(--accent-hover) !important;
  color: #fff !important;
}

/* Secondary / ghost buttons */
.sqs-button-element--secondary,
.sqs-block-button .sqs-block-button-element--secondary {
  background: transparent !important;
  border: 2px solid var(--accent) !important;
  color: var(--accent) !important;
}
.sqs-button-element--secondary:hover,
.sqs-block-button .sqs-block-button-element--secondary:hover {
  background: var(--accent-soft) !important;
  color: var(--accent-hover) !important;
  border-color: var(--accent-hover) !important;
}

/* Read-more links, titles, excerpts, pagination, tag chips */
.summary-read-more-link,
.summary-title a,
.summary-excerpt a,
.blog-item-pagination a,
.blog-item-tags a {
  color: var(--accent) !important;
  border-color: var(--accent) !important;
}
.summary-read-more-link:hover,
.summary-title a:hover,
.summary-excerpt a:hover,
.blog-item-pagination a:hover,
.blog-item-tags a:hover {
  color: var(--accent-hover) !important;
  border-color: var(--accent-hover) !important;
}

/* Inverted/colored sections */
.sqs-theme-inverter a.sqs-button-element,
.sqs-theme-inverter .sqs-button-element--primary {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}
.sqs-theme-inverter .sqs-button-element--secondary {
  background: transparent !important;
  border:2px solid var(--accent) !important;
  color: var(--accent) !important;
}

3) Navigation / Header

📍 Section: /* NAVIGATION (HEADER) */

Controls nav link colors & hover. Includes the Resume nav link → pill button.
Use this area to add/remove nav-specific tweaks.

/* Sticky, frosted header for contrast over gradients */
.site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* Nav links: black base, teal hover */
.header-nav a, .site-header a, .header-layout-nav a { color: #111 !important; }
.header-nav a:hover, .site-header a:hover, .header-layout-nav a:hover { color: var(--accent) !important; }

/* Resume nav link as button (adjust slug if needed) */
.header-nav a[href*="/resume"],
.header-menu-nav-item a[href*="/resume"] {
  background: var(--accent) !important;
  color: #fff !important;
  border: 2px solid var(--accent) !important;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  line-height: 1;
  display: inline-block;
}
.header-nav a[href*="/resume"]:hover,
.header-menu-nav-item a[href*="/resume"]:hover {
  background: var(--accent-hover) !important;
  border-color: var(--accent-hover) !important;
  color: #fff !important;
}
.header-menu-nav-item a[href*="/resume"] { margin: 0.25rem 0; } /* mobile menu spacing */

4) Footer & Inline Links

📍 Section: /* FOOTER & CONTENT LINKS */

Controls footer link color and “Download my resume” links inside text/markdown blocks.
If orange creeps back into links, fix here.

/* Footer links */
.site-footer a, .footer a, .Footer a,
.site-footer .sqs-block-html a,
.site-footer .sqs-block-markdown a,
.site-footer .sqs-block a { color: var(--accent) !important; }
.site-footer a:hover, .footer a:hover, .Footer a:hover { color: var(--accent-hover) !important; }

/* Inline links in content blocks */
.sqs-block-html a, .sqs-block-markdown a {
  color: var(--accent) !important;
  text-decoration: underline; /* optional */
}
.sqs-block-html a:hover, .sqs-block-markdown a:hover { color: var(--accent-hover) !important; }

/* Inverted/dark sections: keep links teal */
.sqs-theme-inverter .sqs-block-html a,
.sqs-theme-inverter .sqs-block-markdown a,
.sqs-theme-inverter .site-footer a { color: var(--accent) !important; }
.sqs-theme-inverter .sqs-block-html a:hover,
.sqs-theme-inverter .sqs-block-markdown a:hover,
.sqs-theme-inverter .site-footer a:hover { color: var(--accent-hover) !important; }

5) Homepage Hero (custom layout)

📍 Section: /* HOMEPAGE HERO */

Controls grid, hero headline, tagline, and the custom CTA buttons (.btn.primary, .btn.ghost).
Use this area for homepage-only edits. If you add a hero on another page, copy this block.

/* Hero grid + text */
.home-hero {
  max-width: 1100px; margin: 0 auto; padding: 3rem 1.25rem;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center;
}
.home-hero__content h1 {
  font-size: clamp(36px, 6vw, 54px); line-height: 1.1; margin: 0 0 0.75rem;
}

/* Hero tagline */
.home-hero .tagline {
  font-size: clamp(18px, 2.2vw, 20px); line-height: 1.7; color: var(--text); margin: 0 0 1.25rem;
}

/* Custom buttons (hero only) */
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn { display:inline-block; padding:0.65rem 1rem; border-radius:10px; text-decoration:none; font-weight:600; border:2px solid transparent; }
.btn.primary { background: var(--accent); color:#fff; border-color: var(--accent); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.ghost { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn.ghost:hover { background: var(--accent-soft); color: var(--accent-hover); border-color: var(--accent-hover); }

/* Hero image */
.home-hero__art img { width: 100%; max-width: 520px; border-radius: 14px; }

/* Mobile adjustments */
@media (max-width: 860px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-hero__art { order: -1; }
}

6) Add-Ons / Future Tweaks

📍 End of file

Safe spot for quick overrides or experiments.
Example: if you want to tweak case study cards only, add CSS here without touching global sections.

/* Scratchpad — experiments live here first */
/* e.g., Only case study cards
.summary-item { border: 1px solid var(--line); border-radius: 12px; }
.summary-item:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
*/

✅ Rule of thumb

  • Global look → top half (palette + buttons)

  • Navigation/footers → middle

  • Page-specific (homepage hero) → bottom

Reminder: when a section’s “Color Theme” fights these styles, set the section to a Light/White preset or edit its Accent swatch to #0E6F78.