Skip to content

The design language that makes your AI harness better at design.

JavaScript
1.9 KB
Raw Blame
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Consent hiding: Tarteaucitron</title>
  <style>
    * { box-sizing: border-box; }
    body { font: 16px/1.5 system-ui, sans-serif; margin: 0; padding: 40px; color: #111; background: #fff; }
    .faint { margin: 0 0 12px; font-size: 14px; line-height: 28px; color: #aaaaaa; }
    .body-copy { max-width: 640px; }
    /* A bordeaux-metropole.fr-shaped Tarteaucitron banner (corpus run 1006):
       a zero-height #tarteaucitronRoot holding the fixed #tarteaucitronAlertBig
       (role=dialog, aria-modal) in the middle of the first screen. Pinned by
       crates/browser/tests/consent_hiding.rs. */
    #tarteaucitronRoot { position: absolute; top: 0; left: 0; width: 100%; height: 0; }
    #tarteaucitronAlertBig { position: fixed; top: 200px; left: 315px; width: 650px; padding: 24px; background: #ffcc00; z-index: 2147483645; }
    #tarteaucitronAlertBig p { margin: 0; font-size: 14px; color: #ffffff; }
  </style>
</head>
<body>
  <h1>A page under Tarteaucitron</h1>
  <p class="body-copy">This page has enough copy of its own to be a page and not a consent wall. It describes a product, its pricing and its support hours, and a visitor reads it once the notice below is out of the way. The notice is the site's own, written without any consent manager's markup.</p>
  <p class="faint" id="covered-copy" style="position: absolute; top: 260px; left: 340px; width: 520px;">Faint copy the banner covers.</p>
  <div id="tarteaucitronRoot">
    <div id="tarteaucitronAlertBig" role="dialog" aria-modal="true">
      <p id="tarteaucitronDisclaimerAlert">Ce site utilise des cookies et vous donne le contrôle sur ceux que vous souhaitez activer</p>
      <button type="button">Tout accepter</button>
      <button type="button">Tout refuser</button>
    </div>
  </div>
</body>
</html>