Skip to content
moo-theme theme docs
Overview
Guides
  • Getting Started
  • Typography
  • Shortcodes
  • Auth Visibility
  • Layout
Blog
  • An Example Blog Post
Source
  1. Docs
  2. Guides
  3. Layout

Layout

Structure #

Every page uses the same base layout:

┌──────────┬─────────────────────────────────┐
│ Sidebar  │  Content                        │
│          │  ┌───────────────────────────┐  │
│ Logo     │  │ Breadcrumb                │  │
│ Subtitle │  │ Page title                │  │
│          │  │                           │  │
│ Overview │  │ Content...                │  │
│ Section  │  │                           │  │
│   Page   │  │                           │  │
│   Page   │  │ Footer                    │  │
│ Section  │  └───────────────────────────┘  │
│   Page   │                                 │
│          │                                 │
│ Footer   │                                 │
└──────────┴─────────────────────────────────┘
  • Sidebar (240px, sticky): Logo, subtitle, collapsible section navigation, auth links, repo link.
  • Content: Centred surface card with max-width 68ch. Breadcrumbs at top, footer at bottom.

Responsive #

At 780px, the sidebar collapses into a horizontal header bar showing just the logo and auth link. Section navigation is hidden — users navigate via breadcrumbs and in-page links.

At 480px, the surface card shadow is removed and padding is reduced for edge-to-edge reading.

At 1400px+, the sidebar widens to 280px.

Colour palette #

VariableValueUsage
--color-page-bg#f5f0e8Page background
--color-surface#faf7f2Content card
--color-surface-alt#ede8dfBlockquotes, service cards
--color-text#2c2416Body text
--color-text-muted#6b5d4fSecondary text
--color-text-faint#7a6b5cBreadcrumbs, meta
--color-accent#7a3d1fHeadings, active states
--color-link#4a2c6eLinks
--color-sidebar-bg#e8e0d0Sidebar background

Override any variable in your own CSS to customise the palette.

Print #

The print stylesheet hides the sidebar and breadcrumbs, removes the surface card shadow, and appends URLs after links.

moo-theme · built with Hugo v0.160.1 and moo-theme