JSFiddle - React, Tailwind, and code Playground

by tomarriola

HTML

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Crime Scene — Gate Banner Preview</title>
  <style>
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      background-color: #191919;
      font-family: Arial, sans-serif;
      color: #ffffff;
      min-height: 100vh;
    }

    /* ---- Fake site header ---- */
    .preview-header {
      background: #000;
      border-top: 4px solid #ffff00;
      padding: 12px 32px;
      display: flex;
      align-items: center;
      gap: 20px;
    }
    .preview-logo {
      font-weight: 900;
      font-size: 1rem;
      color: #000;
      background: #ffff00;
      padding: 5px 10px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      border: 2px solid #000;
    }
    .preview-nav {
      font-size: 0.72rem;
      color: #888;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    /* ---- Fake case band ---- */
    .preview-case-band {
      background: linear-gradient(to right, #111, #1a1a1a);
      padding: 28px 32px 24px 32px;
      border-bottom: 1px solid #2a2a2a;
    }
    .preview-case-title {
      font-weight: 700;
      font-size: 2rem;
      color: #F7931E;
      line-height: 1;
      margin-bottom: 4px;
    }
    .preview-case-file {
      font-size: 0.75rem;
      color: #888;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    /* ---- Fake document card ---- */
    .preview-doc-card {
      background: #ffffff;
      color: #000;
      margin: 0 32px;
      padding: 28px;
    }
    .preview-doc-title {
      font-family: "Courier New", monospace;
      font-weight: 700;
      font-size: 1.4rem;
      color: #000;
      margin-bottom: 20px;
    }

    /* ============================================================
       BANNER
      ...

CSS

/*
 * CrimeScene.com — Unlock All Evidence Block: Updated Style (v3)
 * Session: May 2026
 *
 * Drop into child theme stylesheet after style.css, or wp_enqueue_scripts.
 * Replaces yellow caution-tape promo with dark charcoal brand style.
 * Spans 2 grid columns for breathing room.
 */

/* ── PROMO BLOCK CONTAINER ──────────────────────────── */
div.one_evidence.promo {
  /* Span 2 of the 6 grid columns */
  width: calc((100% / 6) * 2 - 2%);

  flex-direction:  column;
  justify-content: center;
  align-items:     center;
  padding:         36px 20px 30px;

  /* Dark charcoal — removes caution tape */
  background:       #191919;
  background-image: none !important;

  /* Yellow left accent bar */
  border-top:    none;
  border-bottom: none;
  border-left:   4px solid #ffff00;
  border-right:  none;

  text-align: center;
  color:      #ffffff;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* ── LOCK ICON — use Font Awesome flat padlock ──────── */
div.one_evidence.promo i.fa-lock {
  font-size:     2.4rem;
  color:         #ffff00;
  display:       block;
  margin-bottom: 14px;
  /* Remove any inherited transform that could skew it */
  transform:     none;
  font-style:    normal;
}

/* ── "UNLOCK ALL THE EVIDENCE" TEXT ────────────────── */
div.one_evidence.promo > div:first-of-type {
  font-size:      0.78rem;
  font-weight:    700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          #ffffff;
  margin:         0 0 18px 0 !important;
}

/* ── LEVEL BUTTONS WRAPPER ──────────────────────────── */
div.one_evidence.promo div.level_buttons {
  width:           100%;
  display:         flex;
  flex-direction:  column;
  gap:             12px;
  margin-bottom:   22px;
  padding:         0 20px;    /* internal side padding so banners don't touch edges */
  box-sizing:      border-box;
}

div.one_evidence.promo div.level_buttons a {
  display:     block;
  width:       100%;
 ...