ع

№ 240 · Bento · Demo for Astronomy club

Star Chart

Black and the red of an observer's torch; the sky photos in cards of different sizes like a star chart.

In a new tab

Design DNA

Colours

Fonts

  • أبجد هوز حطيArabic headingsKufam
  • كلمن سعفص قرشتArabic textIBM Plex Sans Arabic
  • Aa Bb Cc 123Latin headingsSpace Grotesk
  • The quick brown foxLatin textInter
  • Aa 0123AccentIBM Plex Mono

Sections

  1. Headerpill
  2. Herofullbleed
  3. Upcoming nightstimeline
  4. Experiencesbento
  5. Why Suha?split
  6. From members' camerasbento
  7. QuestionsFAQ
  8. Our guestscards
  9. Bookcard
  10. Footercolumns

Motion: SubtleCorners: 24pxDark

The prompt

Describe your project and the prompt updates as you type. What you write stays in your browser.

Your project

Languages
Pages
# Build a website in the "Star Chart" style

You are building a production-ready website. Follow the design system below exactly and adapt the content to the project. The design comes from the Qalib library (design No. 240).

## 1. The project

- Name: [fill in]
- Type of site: [fill in]
- What it does: [fill in]
- Languages: Arabic and English: Arabic first (RTL) and a full English version (LTR) with a language switch
- Pages: One page with sections and anchor links
- Contact details: [fill in]
- Assets: No photos yet: use suitable placeholders and mark each one TODO for replacement.

## 2. Visual reference

- Live demo (Arabic): https://qalib.omardeek.tech/demos/star-chart/ar.html
- Live demo (English): https://qalib.omardeek.tech/demos/star-chart/en.html

Each demo is one HTML file with all its CSS in a <style> tag. Download the raw file (for example `curl -s <url>`), not a summary of it, and treat its CSS as the source of truth for spacing, sizes and effects. The demo's business and text are fictional: never copy them.

## 3. Design DNA: Bento

The page is a bento box: rounded cards of different sizes sitting side by side in one grid, each holding a single idea (a number, a photo, a feature, an address). Calm and orderly in the manner of Apple's pages, and a good fit for apps, products and modern cafés.

- **Typography:** A clean sans in heavy weights for headings and very large numbers inside the cards, with small quiet grey text.
- **Colour:** A very light grey page (#F5F5F7 or close) or a very dark one, white or slightly darker cards, and one brand colour that fills only one or two cards.
- **Layout:** A four-column CSS grid with varied spans (grid-column/grid-row: span), a large 2×2 card opening each grid, and fixed gaps of 12–16px; even the figures and the contact details become cards.
- **Shapes:** Large rounded corners (24px), a very soft shadow, no heavy borders, pill buttons.
- **Imagery:** Product or place photos that fill their card completely (object-fit: cover), and simple line icons.
- **Motion:** Quiet: a card grows slightly on hover (scale 1.02) and the cards appear one after another on scroll.
- **Details:** Small labels at the top of each card, huge numbers, a pill badge for status, a small arrow in the corner of clickable cards.
- **Avoid:** Cards all the same size, heavy shadows, many colours, long text inside cards.

**This design in particular:** Black and the red of an observer's torch; the sky photos in cards of different sizes like a star chart.

## 4. Design tokens

```css
:root {
  --bg: #0D0D0D; /* page background */
  --surface: #1A1A1A; /* cards, panels, alternate sections */
  --ink: #F1EEEA; /* main text */
  --muted: #A39E98; /* secondary text */
  --accent: #E0453A; /* buttons, links, highlights */
  --accent2: #F1EEEA; /* second highlight */
  --line: #2A2A2A; /* rules and borders */
  --on-accent: #FFFFFF; /* text on the accent colour */
  --radius: 24px;
}
```

- Colour scheme: dark
- Fonts (available on Google Fonts and fontsource; self-host them):
  - Arabic headings: Kufam (400, 700, 800)
  - Arabic text: IBM Plex Sans Arabic (400, 600, 700)
  - Latin headings: Space Grotesk (400, 500, 700)
  - Latin text: Inter (400, 500, 700)
  - Accent (labels and numbers): IBM Plex Mono (400, 600)
- Type scale: h1: clamp(2.7rem, 6.2vw, 5.4rem) · h2: clamp(2rem, 4.2vw, 3.3rem) · h3: 1.25rem · text: 17px with 1.7 line height (Arabic 18px and 1.9) · max width 1200px · section spacing clamp(72px, 10vw, 136px)

## 5. Page structure

The demo shows a Astronomy club. Build the sections with these visual treatments, in this order:

1. **Header**: A floating rounded "pill" menu with a frosted background, detached from the top edge.
2. **Hero**: A full-screen photo under a dark gradient; the headline and buttons sit on top in white.
3. **Schedule** «Upcoming nights»: a vertical timeline: times on one side, a line with dots
4. **Main offering** «Experiences»: a bento grid: one big tile and smaller tiles of different sizes
5. **About** «Why Suha?»: Two columns: heading, paragraphs and a short signed quote; a tall photo with a smaller photo overlapping its corner.
6. **Gallery** «From members' cameras»: a bento grid: one big tile and smaller tiles of different sizes
7. **FAQ** «Questions»: an accordion of questions with the first one open
8. **Testimonials** «Our guests»: three testimonial cards with initials avatars
9. **Contact** «Book»: A large card on a tinted background: contact details on one side, the hours and button on the other.
10. **Footer**: four columns (brand and tagline, page links, contact, social) and a bottom bar

## 6. Motion

Subtle: elements fade up about 24px as they enter, staggered by 70ms; light lifts on hover.

## 7. Technical requirements

- **Stack:** Choose the stack that fits the project; prefer static HTML, CSS and JavaScript unless it needs more.
- Semantic HTML, mobile first, adapting at 360, 768, 1024 and 1440px, with no horizontal scrolling.
- Arabic: <html lang="ar" dir="rtl">, CSS logical properties (margin-inline-start, inset-inline-end…), mirrored directional icons, never letter-space or uppercase Arabic, and Arabic text at 18px or more.
- Accessibility: WCAG AA contrast, visible focus states, alt text on images, and all motion off under prefers-reduced-motion.
- Performance: self-hosted fonts with font-display: swap and only the weights and subsets in use, WebP or AVIF images with set dimensions, lazy loading below the first screen, and no heavy libraries for simple effects.
- SEO: a title and description for every page, Open Graph, a favicon, and LocalBusiness structured data where relevant.
- Buttons: WhatsApp links as https://wa.me/<number>, phone as tel:, email as mailto:.

## 8. Delivery

1. Start with the tokens and base styles, then build the sections from top to bottom.
2. Compare the result with the live demo at phone and desktop widths before you finish.
3. Finish with how to run the site and how to deploy it.
5,991 characters

Paste it into Claude Code inside a new project folder.

More Bento designs