Custom Blocks and Styling

Every page can have its own look. Pick a theme, choose a layout, and on the Summit tier add your own CSS to restyle blocks, the page bar and the navigation tree.

How to turn it on

  1. Open the page you want to style and choose Edit page from its tab.
  2. Find the Custom CSS section and switch it on.
  3. Type or paste your CSS. It previews live as you type, and invalid CSS is flagged before you can save.
  4. Save. The styles apply to that page only.

Custom CSS is a Summit feature. If your account does not have it, the section is shown locked and nothing you enter is saved.

Built-in presets

Start from a preset and change the colors or fonts. Each one is plain CSS with comments explaining which values to swap.

  • Midnight Glass. Deep dark background, frosted glass blocks, cool indigo glow
  • La Maison. Upscale restaurant feel: serif type, bordeaux accents, styled menu blocks
  • Liquid Glass. Soft translucent panels with light refraction
  • Petal Glass. Light, airy glass with pastel accents

Selectors you can use

SelectorWhat it targets
.profile-layout-content-containerThe main panel that holds all of a page's blocks
.content-block-innerThe card around every block
[data-block-type="menu"]Menu blocks (also: link, location, markdown, record, code-editor, audio, file, stl-viewer, checklist)
.kanban-card, .kanban-itemKanban board columns and items
.profile-page-bar-containerThe bottom page bar (horizontal navigation)
.profile-tree-sidebarThe collapsible page tree (tree navigation), with .profile-tree-page-link for each page

Blocks are built with CSS modules, so class names have generated suffixes. Use attribute matches such as [class*="menuItemCard"] to target them reliably. Add !important where the default theme would otherwise win.

Example

/* Dark page, soft cards, teal links */
body, .min-h-screen { background: #0b1117 !important; }

.content-block-inner {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
}

.content-block-inner a { color: #5fd0c5 !important; }

Want to see what is possible? Browse the showcase or read about every block type in the block documentation.