Cards
White surfaces with a hairline border and generous rounding. Cards never lift or cast a heavy shadow. Interactive tiles say so by warming their border to orange on hover.
Card
The base .card is a white, bordered, rounded column with 26px padding and a 12px gap, so its children need no margins. Put cards in a .card-grid (columns of at least 250px, one column on phones). Make the whole card a link with <a class="card card-link">, and push a footer row to the bottom with .card-foot. Use .is-external for things hosted elsewhere: it adds a blue left edge. Note that .card-link has no hover style in the framework today, so event and video cards stay still on hover; the other tiles on this page (.hl, .person, .partner-row, .event-feature, .series-card, .logo-card) warm to orange.
Global AI Berlin
Monthly events about agents, RAG and everything in between, hosted at W3.hub.
Start a chapter
Partner hackathon
| Class | Use for |
|---|---|
.card | Any grouped block of content: a dashboard tile, a form section, a speaker. |
.card-link | On an <a class="card"> so the text stays ink instead of link orange. |
.card-grid / .card-band | Auto-fit grid; wrap it in .card-band for the cream panel used on the homepage. |
.card-foot | Bottom row: a .stat-mini on the left, a .btn-link "Details →" on the right. |
.is-external | Events or links that leave the site. Pair it with a .chip-external label. |
- Make the whole card the link, with one "Details →" cue inside, not several links.
- Put cards on cream (
.card-band) or white; both work. - Keep headings as
h3inside a section'sh2.
- Lift, scale or shadow cards on hover.
- Nest cards inside cards.
- Add buttons inside a card that is already a link; nested interactive elements are invalid HTML.
Highlight tile
.hl tiles promote a mix of things in one row: the latest AI Weekly, a new chapter, a course, the Discord. Each has a 150px picture, an eyebrow, a title, one line of text and a .go link. Use .pic-pad to centre a logo on a blue tint instead of a photo, and .hl.dark for one ink tile that should stand out. The border warms to orange on hover.
Learn
Build your first AI agent
A free, hands-on course, from first prompt to a working agent.
Start the course →Welcome, Global AI Berlin
A new chapter joins the community from Berlin.
Meet the chapter →
Community
The hallway track never ends
Builders, practitioners and enthusiasts, all in one Discord.
Join Discord →- Three or four tiles in a row; the grid wraps on its own.
- Write the
.golink as a verb: "Read this issue →", "Join Discord →". - Give every picture real alt text.
- More than one
.hl.darkin a row. - Use tiles for lists of the same thing (events, videos); use event or video cards.
Event card
The event card is a .card.card-link with an .ehead: a 72px square image (the event's square thumbnail, or a gradient .sq-ph placeholder with the city name), then the date and a format chip. Below: the event name, a .cmeta line with chapter and venue, and a .card-foot with the location or "Free" and "Details →". Times are written as 24-hour <time data-clock> and converted by time-format.js on 12-hour devices.
| Chip | Format |
|---|---|
| In person | In person and hybrid events. |
| Online | Online-only events. |
| External | Listed here, hosted elsewhere. Add .is-external to the card. |
| Cancelled | Keep cancelled events visible with this chip rather than removing them. |
- Use the event's square thumbnail; fall back to
.sq-phwith.g1,.g2or.g3. - Write dates as "Sep 8" and times in 24-hour inside
data-clock. - Say "Free" when there is no location to show; every event is free.
- Put a "Register" button on the card; registration lives on the event page.
- Call them anything but "events".
Featured event
The top of the events page highlights one event with a wide .event-feature: a 110px square, the date, name, meta and chips in the middle, and "Details →" on the right. On phones it stacks. Use it once per page.
- Feature the next big event (an AgentCon or a bootcamp), not a random one.
- Stack several featured events; that is what the card grid is for.
Series card
"Popular calendars" on the events page link to an event series with a compact .series-card: a 64px square, the series name, one line of meta and an outlined "View calendar" button pinned to the bottom. .series-card.dark is the ink version.
Video card
A .card.card-link that starts with a 16:9 .video-thumb. Use the cover image as img.cover; with no cover, use a gradient (.vt1, .vt2, .vt3) with a round .play icon and a .dur running time.
- Use the series or video title as the image alt text.
- Autoplay or embed the player in the card; link to the video page.
People & speakers
Organizers, board members and chapter leads use the centred .person card in a .people-grid: avatar (photo or initials on .av-blue / .av-orange), name, role, optional country, and small link pills. Speakers on an event page use button.card.speaker-card with an .avatar-xl, which opens the speaker's sessions in a modal.
- Use initials on
.av-blueor.av-orangewhen there is no photo, witharia-hidden="true"since the name follows. - Open external profile links in a new tab with
rel="noopener".
- Show email addresses or other personal data on a person card.
- Make the whole
.persona link; its link pills are the actions.
Member byline
The standard way to credit a member on a public page, such as a blog author or a course author: a round photo (or initials), a short label, the name (linked to their public profile when the viewer may see it) and the member's own profile links as .share-btn icons. Always render it with the shared partial and pass only the label. On cards (such as Learn course cards) pass Compact: true for .member-byline--compact: a 32px photo or initials and the name only, with the label kept for screen readers.
- Render
<partial name="_MemberByline" />with aMemberBylinePresentationbuilt fromMemberByline.From(member): it hides blocked and anonymized members, crops the photo and drops links that aren't web addresses. - Use a short label that says how the member is credited ("Written by", "Course by").
- Copy the markup or show a member as a plain "By name" chip.
- Show email addresses or other personal data.
Sidebar cards
Detail pages have an .aside column of .side-cards, sticky on desktop. On an event page the first one is the register card (.side-card.event-dock): the Register button, date, venue and format details, a small map with map links, and share buttons. Under it, a cream .chapter-card links to the organizing chapter. Below 900px the register card becomes a dock fixed to the bottom of the screen with the details folded behind a handle; here it is shown in place.
- Keep one primary button per side card;
.side-card .btnis full width. - Use
.detailrows (bold line plus muted line) for when, where and format.
- Put long text in the sidebar; it belongs in the main column.
- Use
.chapter-cardfor anything other than the organizing chapter.
Partners & sponsors
The partners page lists each partner as a li.partner-row in a ul.partner-list: logo on the left, name and a short description on the right. Event and chapter sponsors are smaller .logo-cards in a .logo-grid; logos show in grey until hovered.
The homepage .partner-band shows small logos (at most 112 by 32 pixels) in one row on div.partner-band-logos[data-partner-marquee]. When they fit, they sit still and centred. When they don't, js/home.js turns the row into a seamless marquee that always moves left and refills from the right, with faded edges. Hover or keyboard focus pauses it. There is no scrollbar or pause button. Reduced-motion users and visitors without JavaScript see the logos wrap onto extra rows instead. See the homepage example; styles live in css/framework/sections.css and sizing tokens in tokens.css.
- Use the partner's name as the logo alt text.
- Use a plain
div.logo-cardwhen the sponsor has no website. - On a partner profile, put the logo in the header with
.partner-logo.partner-logo--heroinside.hero-split, and the body in one centered.partner-pagecolumn.
- Rank partners by colour or size; tiers use separate
.sponsor-tiergroups. - Imply sponsors receive attendee data; see the data compliance rules.
Photo tiles
Event and chapter photos sit in a .photo-grid. Real photos are a.photo-item links with an img that open the photo viewer; add .chapter-photo-grid for square tiles. Before an event has photos, the sample pages use gradient .photo placeholders (.p1, .p2, .p3) with a caption.
- Write alt text that says which event and which photo ("photo 2 of 12").
- Serve thumbnails with
srcsetandloading="lazy".
- Show placeholders on the live site; hide the section until there are photos.
Learn story row
Learn's story page tells it in alternating rows: a large photo with a small inset and a coloured badge, next to an eyebrow, a two-line heading with an orange .accent second line, and a paragraph. Add .learn-story-row--flip to put the picture on the right. Badges come in orange (default), --blue and --ink.
From first promptto production
Made for builders.
At every level.
Developers, engineers, students and career switchers who want to build with AI, not just read about it. Start with the basics or dive straight into agents, evaluation and security. Every course shows its level and how long it takes, so you can pick what fits.
- Alternate
--fliprows so the page zig-zags. - Use real community photos with descriptive alt text.
- Use this row outside storytelling pages; it is too big for lists.
Course rating
The anonymous rating of a Learn course: one star, the average to one decimal and how many learners rated it. It sits under the title on course cards. The course page uses .learn-rating--hero with the five-star .reg-stars row. Ratings only show once at least 5 different learners have rated the course, and never include names or comments.
- Keep the screen-reader sentence ("Rated 4.6 out of 5 from 12 ratings").
- Show nothing at all until the minimum number of ratings is reached.
- Show single ratings, names or comments next to it.
- Use orange for the star; it uses
--star.
Dashboard cards
The member dashboard at /my greets with a .hi-row, a row of cream .me-stat pills, then a .dash grid of cards. Add .dash-even when the cards sit side by side as equals: they stretch to the same height and their .go link, or .dash-actions buttons, line up at the bottom. Each card has an eyebrow naming the area, an h3 with the one thing that matters, a .cmeta line and a .go link into that area. The badges card adds a .badge-strip.
Hi Ada. What's next?
Your community at a glance - events, tickets, chapters and badges.
- One area per card, with one
.golink. - Lead with a number or a name ("6 unread", "Global AI Berlin").
- Put forms or tables in dashboard cards; link to the area instead.
Empty state
When a list has nothing in it, put an .empty card in its place: a dashed border, a bold one-line reason and a short next step. It takes the place of the grid's items, so it sits inside the same .card-grid or band.
New events are added every week. Follow a chapter to hear about them first.
- Say what is missing and what to do next, in a friendly tone.
- Add a button below the text only if there is a clear action.
- Show an empty grid or a bare "No results".
- Use illustrations or icons that add no meaning.








