Krazee Story › Design system

Design system

One set of tokens, one page shell and one list of components for every page of the site. The rules are written in DESIGN.md; the values live in css/site.css.

The v3 look comes from the icon (#8 KS Splash-Dragon): ink outlines, a white die-cut sticker border, a hard lift shadow, the dragon's aqua, a pink sunburst and gold sparkles. Every logo and social image is on the brand page.

The Krazee Story icon: a cream letter K and a blue water-dragon letter S standing on an open book, on a pink sunburst.

Use the moon / sun button in the header to see every swatch and component in both themes.

Colour

Named by role. Text on every surface keeps at least 4.5 to 1 contrast. Pink and gold always carry the deep sea text colour.

bgPage: the icon's cream. #FFF8EC / #0D2430
bg2Alternate band, hover. #FDE6EE / #133142
cardRaised surface. #FFFFFF / #173B4F
textBody text: the icon's ink. #0D2430 / #FFF8EC
mutedSecondary text. #435868 / #B7CCD3
primaryMain action: the dragon's aqua, always outlined. #4CC4EA
pinkPlayful action: the sunburst. #F2A2B8
goldKicker, highlight: the sparkles. #F3CF72
skyNote, tap-box. #E3F6FC / #143A4C
burst-aSunburst ray. #FBD9E3 / #15384B
hotThe tongue. Tiny accents only. #EF6F95
tealCheck marks, note rule. #1E9AA3
lineHairlines. #F0CBD7 / #2D5568
focusFocus ring. #B4306A / #FFD36E
ink / edgeOutlines, footer, video stage. #0D2430 (edge in dark #4FA9CC)

Type

Fredoka for headings, Nunito for everything else. Sizes are fluid: they grow with the window between a minimum and a maximum.

h1 · --text-h1

A sea of stories

h2 · --text-h2

Luna follows the sand

h3 · --text-h3

The Strange Discovery

.lead · --text-lead

Gentle ocean adventures. A little silly. A sea of stories.

body · --text-body

Luna lives by the sea in a sunny, Hawaii-like place. One day the ocean grows angry and brings a storm.

small · --text-small

Luna, the girl from Yuri's first story.

Spacing and layout

Every gap, padding and margin comes from the spacing scale. Every page is the same shell: header, a main made of .section blocks, footer.

Spacing scale

--space-1 · 4px
--space-2 · 8px
--space-3 · 12px
--space-4 · 16px
--space-5 · 24px
--space-6 · 32px
--space-7 · 48px
--space-8 · 64px

Page rhythm

--section-y is the one vertical padding of every section (32px on small windows, 48px on wide ones). --page-top (32px) is the one offset between the header and the first section of every page. --gutter (16px) is the side space on small windows.

Containers

.wrap · --w-main · 1120px
.narrow · --w-narrow · 760px

Every page uses .wrap. Long reading text sits inside .prose, which stops at the narrow width but keeps the left edge of the page. A centred closing band may use .wrap.narrow.

Layout primitives

.stack, .stack-sm, .stack-lg: space between siblings (16px, 8px, 32px).

.cluster: a wrapping row, with .cluster-center and .cluster-between.

.grid-auto: cards that fill the row, each at least 288px wide.

.split: text beside a picture from 832px up, stacked below.

A clusterwraps itschildrenwith one gap

Read

A grid-auto card.

Tap and play

The same width and gap.

Watch

Wraps by itself.

Sticker kit, motifs, focus and motion

Friendly and rounded, and every raised thing is a sticker: a 3px ink outline, a hard lift shadow, and a 6px white die-cut border round pictures. Cards use the largest radius, buttons and chips are pills.

radius-sm · 8px
radius-md · 16px
radius-lg · 22px
radius-pill
shadow-card (lift 6px)
shadow-btn (lift 4px)
shadow-pic (sticker border)
shadow-pop

Motifs: sunburst and sparkle

The hero sunburst: 20 rays, faded to cream behind words.

Tilt

kicker · -2degchips stay straight

Framed pictures lean 1.5deg, a story card leans -1deg when you hover it. Text, nav, forms and the reader never tilt.

Focus ring: a 3px solid ring in the focus colour, 3px away from the control. It shows on keyboard focus for every control and is never removed.

Motion: 150ms for hover and press, 250ms for small moves, 350ms for a page turn, 500ms for the word pop. One ease: cubic-bezier(0.22, 1, 0.36, 1). With reduced motion turned on, all of it stops.

Buttons

Primary for the one main action, pink for play and read-aloud, ghost for everything else. Three sizes: 44px, 48px and 56px high.

States

Hover lifts a button a little and fills it; press shrinks it slightly. A disabled button is half faded and keeps its label.

Tool buttons

Chips, kicker, crumbs and inputs

Chips and badges

  • Picture book · 12 pages
  • Tap-to-play · flat + 3D
  • Film · 2:35

Kicker

Chapter 1 · Part 1

Crumbs

Stories › The Mystery of the Ocean › Chapter 1 · Part 1

Search input

Note, check list and questions

One stormy scene has thunder and a short flash of lightning. It is cartoon-soft.

  • No ads, no accounts, no comments, no chat and no tracking.
  • A light/dark choice is saved only on your own device.
Can my child watch alone?
Yes. We still suggest watching the first time together.
Where is the next part?
New parts appear on the Stories page as soon as they are ready.

Cards

Four cards share one frame: a 2px line border, the large radius and the card shadow.

card

Read the picture book

Turn the pages one by one and read Yuri's words under every painting.

story-card (the library)

part-card (the story page)

tap-box (the tap and play list)

The film · 2:35

The cartoon of this part, with narration, music and sound.

Tap-to-play book

Flat pages. Tap the sea, the shells and the palm trees to wake them up.

Film poster player

Play: quiz, fact card, Spot it! and page list

The fun parts of a part page. All their words are plain HTML written by scripts/build_site.py; js/site.js makes them playable. No scores, no timers, nothing saved.

quiz ([data-quiz], .quiz-q, .quiz-opt, .quiz-say, .quiz-peek)

Tap an answer. A wrong one is crossed out; the right one turns gold with a cheer.

  1. 1. Where did Luna live?

    Peek at the answer

    In Hawaii.

fact card (details.card.fact, .fact-hint)

Did you know?

Can a real sea split in two?

Take a guess, then tap to find out!

A real sea that parts. In Jindo, South Korea, a very low tide opens a path through the sea a few times a year.

Source: National Geographic (nationalgeographic.com)

Spot it! (.spot, .spot-list, .spot-pic, .spot-grid, .spot-ring, .spot-say; pick mode .spot-ask, .spot-choices)

Tap the big shell (keyboard: Tab to a square, Enter to look).

  • the big shell
Luna picks up a big pink shell from the sand and smiles.

page list (.pages-all, .page-list, .page-item, .page-num)

All the words, page by page
  1. Luna walks on a sunny beach with palm trees and a small wooden cabin.
    Page 1

    Once upon a time, there lived a brave and curious girl named Luna Starham.

Reader frame

The book and the film open in a frame that fills the window and never scrolls: a bar on top, a stage with the picture beside the words, and round arrows with page dots below. This is a small static copy; the real one is on every part page.

The Strange DiscoveryChapter 1 · Part 1
Luna walks on a sunny beach with palm trees and a small wooden cabin.

Once upon a time, there lived a brave and curious girl named Luna Starham.

Page 1 of 12

Page thumbnails