kitbash Sign in Connect agent
Components

Sand box colophon

The last sheet ends in a ruled foot with the version line and a frosted back-to-top pill, and a second retail box in sand lies on the marble with the wordmark printed up its side.

Part of the style

Owner's Manual on Marble

6 parts that belong together, with their tokens, type and rules.

Preview

Code
<style>
/* Goes after the pack's base.css */
@import url("https://fonts.googleapis.com/css2?family=Archivo+Narrow:ital,wght@0,400..700;1,400..700&family=Sixtyfour:BLED,SCAN@0..100,-53..100&family=Workbench:BLED,SCAN@0..100,-53..100&display=swap");
:root {
  --font-body: "Archivo Narrow", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Workbench", "Courier New", monospace;
}
</style>

<footer class="colophon" aria-labelledby="colophon-title">
  <article class="colophon__sheet">
    <div class="colophon__band"></div>
    <div class="colophon__body">
      <h2 class="colophon__title" id="colophon-title">Small print</h2>
      <p class="colophon__text"><b>Loll&trade;</b> is an imaginary object for real waiting. It will not make the kettle faster. Nothing will. Keep away from open flames, deadlines and people who say a watched pot never boils.</p>
      <a class="colophon__pill" href="#">
        <svg class="colophon__pill-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 19V5M6 11l6-6 6 6"></path></svg>
        Back to top
      </a>
    </div>
    <div class="colophon__foot">
      <span>Instruction manual</span>
      <span>v2.4.019</span>
    </div>
  </article>

  <button class="colophon__box" type="button" aria-pressed="false" aria-label="Lift the spare box">
    <span class="colophon__end" aria-hidden="true">
      <span class="colophon__wordmark">L<svg class="colophon__o" viewBox="0 0 60 60"><circle cx="30" cy="30" r="25.5"></circle><circle class="colophon__pupil" cx="21.5" cy="33" r="5"></circle><circle class="colophon__pupil" cx="38.5" cy="33" r="5"></circle></svg>ll</span>
    </span>
    <svg class="colophon__print" viewBox="0 0 600 400" aria-hidden="true">
      <g class="colophon__lines">
        <rect x="60" y="60" width="440" height="280" rx="36"></rect>
        <circle cx="180" cy="170" r="62"></circle>
        <path d="M140 160 L236 144 M136 192 L232 176"></path>
        <rect x="290" y="96" width="24" height="200" rx="12"></rect>
        <rect x="340" y="96" width="120" height="90" rx="14"></rect>
        <rect x="340" y="200" width="120" height="96" rx="14"></rect>
        <circle cx="400" cy="248" r="22"></circle>
        <rect x="104" y="258" width="34" height="58" rx="17"></rect>
        <rect x="150" y="258" width="34" height="58" rx="17"></rect>
      </g>
      <text class="colophon__print-caps" x="560" y="60" transform="rotate(90 560 60)">SPARE FACE &middot; SOFT KNOB</text>
    </svg>
  </button>
</footer>

<style>
  .colophon {
    position: relative;
    overflow: hidden;
    padding: 90px var(--space-m) clamp(300px, 34vw, 420px);
    background: var(--marble) var(--marble-texture) center / cover;
  }
  .colophon__sheet {
    position: relative;
    z-index: 1;
    max-width: var(--sheet-width);
    margin: 0 auto;
    padding: 0 var(--gutter-outer);
    border-radius: var(--radius-sheet);
    background: var(--paper) var(--paper-texture);
    box-shadow: var(--shadow-sheet);
  }
  .colophon__band,
  .colophon__body,
  .colophon__foot {
    border: solid var(--ink-lightest);
    border-width: 0 var(--rule) var(--rule);
  }
  .colophon__band { height: var(--band); }
  .colophon__body { padding: var(--space-l) var(--gutter-inner); }
  .colophon__title {
    margin: 0;
    padding-bottom: var(--space-m);
    color: var(--ink-dark);
    font: 700 var(--title-l) / normal var(--font-mono);
    letter-spacing: var(--title-track);
    text-transform: uppercase;
  }
  .colophon__text {
    max-width: 30em;
    margin: 0 0 30px;
    font-size: var(--text-small);
    line-height: var(--leading-body);
    text-wrap: pretty;
  }
  .colophon__text b { color: var(--ink-dark); }
  .colophon__foot {
    display: grid;
    gap: 6px;
    padding: 40px var(--gutter-inner) 60px;
    border-bottom: 0;
    color: var(--ink-lightest);
    font: 400 var(--text-label) / 1.4 var(--font-mono);
    letter-spacing: var(--meta-track);
  }

  .colophon__pill {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    min-height: var(--tap);
    padding: 10px 25px;
    border-top: var(--rule) solid var(--frost-edge);
    border-radius: var(--radius-pill);
    background: var(--frost);
    box-shadow: var(--shadow-pill);
    color: var(--ink-full);
    font: 600 var(--text-label) / 1 var(--font-body);
    letter-spacing: var(--label-track);
    text-transform: uppercase;
    text-decoration: none;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.74);
    transition: transform var(--t-press) var(--ease-press);
    -webkit-tap-highlight-color: transparent;
  }
  .colophon__pill:hover { background: var(--paper-hover); }
  .colophon__pill:active { transform: scale(0.9); }
  .colophon__pill:focus-visible { outline: var(--rule) solid var(--signal); outline-offset: 3px; }
  .colophon__pill-icon {
    width: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .colophon__box {
    position: absolute;
    z-index: 2;
    bottom: clamp(-110px, -5vw, -50px);
    left: max(-40px, calc(50% - 640px));
    display: flex;
    width: clamp(460px, 56vw, 780px);
    aspect-ratio: 780 / 460;
    padding: 0;
    border: 0;
    border-radius: var(--radius-box);
    background: var(--box-sand);
    box-shadow: var(--shadow-box);
    cursor: pointer;
    rotate: -9deg;
    transition: translate var(--t-lift) var(--ease-lift);
    -webkit-tap-highlight-color: transparent;
  }
  .colophon__box:hover,
  .colophon__box.is-lifted { translate: 0 -10px; }
  .colophon__box:focus-visible { outline: var(--rule) solid var(--box-line); outline-offset: -8px; }
  .colophon__end {
    display: grid;
    flex: none;
    place-items: center;
    width: 22%;
    border-radius: var(--radius-box) 0 0 var(--radius-box);
    background: var(--dimple-texture), var(--device-case);
    box-shadow: inset -7px 0 18px -5px rgba(0, 0, 0, 0.2);
  }
  .colophon__wordmark {
    display: flex;
    align-items: baseline;
    color: var(--ink-dark);
    font: 400 clamp(48px, 6vw, 84px) / 1 var(--font-body);
    letter-spacing: -0.035em;
    rotate: -90deg;
  }
  .colophon__o {
    width: 0.56em;
    height: 0.56em;
    margin: 0 0.035em 0 0.02em;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 7.4;
  }
  .colophon__pupil { fill: currentColor; stroke: none; }
  .colophon__print { flex: 1; height: 100%; }
  .colophon__lines {
    fill: none;
    stroke: var(--box-line);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.85;
  }
  .colophon__print-caps {
    fill: var(--box-line);
    font: 200 12px var(--font-mono);
    letter-spacing: 0.45em;
  }

  @media (max-width: 600px) {
    .colophon { padding: 64px 12px 280px; }
    .colophon__box { left: -16px; bottom: -40px; width: 420px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .colophon__box { transition: none; }
  }
</style>

<script>
(() => {
  document.querySelectorAll('.colophon').forEach((root) => {
    const box = root.querySelector('.colophon__box');
    box.addEventListener('click', () => {
      const lifted = box.classList.toggle('is-lifted');
      box.setAttribute('aria-pressed', String(lifted));
    });
  });
})();
</script>

Similar components

Colophon

Colophon

Hairline footer

Hairline footer

Footer

Footer

Glow footer

Glow footer

Wave footer

Wave footer

About and wordmark band

About and wordmark band

Footer

Footer

Glass footer

Glass footer