Docs Documentación

Mobile Optimization

Telar includes comprehensive mobile and tablet responsiveness, ensuring your narrative exhibitions work beautifully on all screen sizes. The responsive system was rebuilt in v1.4.0 around CSS cascade layers, a single set of breakpoints, and dynamic viewport units for stable heights on iOS Safari.

Responsive Design Overview

Telar uses a mobile-first responsive design approach with:

Story Viewer on Mobile

The story viewing experience is specially optimized for mobile devices:

When the vertical layout activates

Telar switches from the desktop layout (narrative overlaid on the viewer) to the vertical, card-stack layout when the viewport is narrower than 1024px or has an aspect ratio narrower than 3:4. The aspect-ratio trigger means portrait tablets get the vertical layout even when they are wider than 1024px.

Layout Adaptations

Full-Viewport Card Stack:

Navigation:

Card Rotation: Card rotation (the slight “messiness” effect) is halved on smaller screens for better readability.

Mobile-Specific Features

Skeleton Loading: When navigating between story steps on mobile, a subtle shimmer animation appears during viewer initialization, providing visual feedback during transitions.

Optimized Preloading:

Faster Transitions: Mobile uses fade-only transitions without slide animations for quicker navigation.

Compact layout for short viewports

On short viewports — a height of 600px or less, which covers very small phones and most phones in landscape — Telar applies a single compact layout: reduced type sizes and tighter spacing across page content, the collection grid, panels, and navigation. This is triggered by viewport height alone, so it applies regardless of width.

iOS Safari and notch support

Panel Optimization

Slide-over panels adapt for mobile devices:

Size Adjustments

Desktop panels:

Mobile panels:

Typography Scaling

All panel content scales down on mobile:

Touch Interactions

The objects gallery automatically switches to single-column layout on mobile (screens ≤767px):

Desktop: Multi-column grid Tablet: 2-column grid Mobile: Single-column list

This ensures object thumbnails and metadata remain readable on small screens.

Glossary Index

Glossary term listings adapt spacing for mobile:

Testing Your Site on Mobile

Browser DevTools

Use browser developer tools to test responsive behavior:

Chrome:

  1. Open DevTools (F12)
  2. Click device toolbar icon
  3. Select device preset or enter custom dimensions
  4. Test various screen sizes and orientations

Firefox:

  1. Open DevTools (F12)
  2. Click “Responsive Design Mode”
  3. Test different devices

Real Device Testing

Always test on actual mobile devices when possible:

Common Screen Sizes to Test

Content Best Practices for Mobile

Image Selection

For story viewers:

For widgets:

Text Content

Story narratives:

Panel content:

Widget Usage

Widgets work well on mobile, but follow these guidelines:

Carousels:

Tabs:

Accordions:

Performance Optimization

Image Optimization

For local images:

For external IIIF:

Bandwidth Considerations

Mobile users often have limited or metered data:

GitHub Pages Limits

Be mindful of GitHub Pages bandwidth:

Accessibility

Mobile optimization includes accessibility features:

Touch Targets

All interactive elements meet WCAG 2.1 minimum touch target sizes (44 × 44px minimum, Telar uses 45 × 45px).

Screen Reader Support

Color Contrast

All themes maintain WCAG AA color contrast ratios on both desktop and mobile.

Known Limitations

Mobile Story Navigation

Browser Variations

Future Improvements

Planned for future releases:

Troubleshooting

Content Overflowing

If content overflows on mobile:

If mobile navigation fails:

Slow Performance

If site is slow on mobile:

Testing Checklist

Use this checklist when testing mobile responsiveness: