5.1 HOME PAGE INTERFACE

The home page displays all published books in a responsive grid layout.

Interface Components:

User Actions:

5.2 BOOK PAGE INTERFACE

Book pages provide comprehensive information about a work and chapter access.

Layout Structure:

Left Column (Desktop):

Right Column (Desktop):

Mobile Layout:

On screens below 768px width, layout converts to single column with cover image at top.

5.3 CHAPTER READING INTERFACE

Chapter pages provide optimized reading experience with minimal distractions.

Interface Components:

Top Navigation Bar:

Reading Progress Bar:

Content Area:

5.4 THEME SWITCHING

Grimoire supports light and dark reading modes.

PROCEDURE 5.4.1: Manual Theme Toggle

Method 1: Click moon/sun icon in navigation bar
Method 2: Press T key on keyboard

Theme Characteristics:

Element Light Mode Dark Mode
Background White (#FFFFFF) Dark Gray (#111827)
Primary Text Black (#000000) Light Gray (#F9FAFB)
Secondary Text Gray (#6B7280) Medium Gray (#9CA3AF)
Progress Bar Black gradient White gradient

Persistence: Theme preference stored in browser LocalStorage, persists across sessions.

5.5 FONT SIZE ADJUSTMENT

Desktop users can adjust reading text size for optimal comfort.

PROCEDURE 5.5.1: Font Size Selection

  1. Navigate to any chapter page
  2. Locate font size controls (A-, A, A+) in navigation bar
  3. Click desired size:
    • A- (Small): prose-sm class
    • A (Default): prose-lg class
    • A+ (Large): prose-xl class
  4. Size preference saved automatically

NOTE: Font size controls hidden on mobile devices (screen width < 768px) to preserve navigation bar space.

5.6 READING PROGRESS TRACKING

Grimoire automatically tracks reading progress at both chapter and book levels.

TRACKING MECHANISM 5.6.1: Chapter Progress

TRACKING MECHANISM 5.6.2: Book Progress

5.7 SCROLL POSITION MEMORY

The system preserves exact scroll position for each chapter.

MECHANISM 5.7.1: Position Saving

MECHANISM 5.7.2: Position Restoration

5.8 READING TIME ESTIMATES

All reading time calculations based on 225 words per minute (industry standard).

Display Locations:

Calculation Method:

words_in_content = str_word_count(chapter_content)
minutes = ceil(words_in_content / 225)

5.9 KEYBOARD SHORTCUTS

The following keyboard shortcuts enhance reading efficiency:

Key Function Context
T Toggle theme All pages
→ (Right Arrow) Next chapter Chapter pages
← (Left Arrow) Previous page Chapter pages

NOTE: Keyboard shortcuts disabled when input/textarea elements have focus.

5.10 DISTRACTION-FREE READING MODE

Navigation bar automatically hides during scrolling to maximize reading space.

BEHAVIOR 5.10.1: Auto-Hide Navigation

This feature reduces visual clutter during active reading while maintaining quick access to controls.

5.11 RSS FEED ACCESS

Each book provides an XML RSS feed for chapter notifications.

PROCEDURE 5.12.1: Subscribing to Book Feed

  1. Navigate to book page
  2. Click RSS icon in navigation bar
  3. Browser displays XML feed or prompts for feed reader
  4. Add URL to preferred RSS reader application

Feed URL Format: https://[domain]/[book-slug].xml

Read Next: Chapter 6 - Administrative Functions