mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-17 09:09:30 -07:00
- Replace CSS zoom with CSS transform scaling for better mobile compatibility - Implement wrapper-based scaling approach that includes both content and navigation bar - Replace Almanac layout with CSS Grid for better cross-browser layout - Greatly improve scanline algorithm to handle a wide variety of displays - Add setting to override automatic scanlines to user-specified scale factor - Remove scanline scaling debug functions - Refactor settings module: initialize settings upfront and improve change handler declarations - Enhance scanline SCSS with repeating-linear-gradient for better performance - Add app icon for iOS/iPadOS - Add 'fullscreen' event listener - De-bounce 'resize' event listener - Add 'orientationchange' event listener - Implement three resize scaling algorithms: - Baseline (when no scaling is needed, like on the index page) - Mobile scaling (except Mobile Safari kiosk mode) - Mobile Safari kiosk mode (using manual offset calculations) - Standard fullscreen/kiosk mode (using CSS centering)
26 lines
841 B
Plaintext
26 lines
841 B
Plaintext
<%- include('header.ejs', {title:'Almanac', hasTime: true}) %>
|
|
<div class="main has-scroll almanac">
|
|
<div class="sun">
|
|
<div class="grid-item empty"></div>
|
|
<div class="grid-item header day-1"></div>
|
|
<div class="grid-item header day-2"></div>
|
|
<div class="grid-item row-label">Sunrise:</div>
|
|
<div class="grid-item time rise-1"></div>
|
|
<div class="grid-item time rise-2"></div>
|
|
<div class="grid-item row-label">Sunset:</div>
|
|
<div class="grid-item time set-1"></div>
|
|
<div class="grid-item time set-2"></div>
|
|
</div>
|
|
<div class="moon">
|
|
<div class="title">Moon Data:</div>
|
|
<div class="days">
|
|
<div class="day template">
|
|
<div class="type"></div>
|
|
<div class="icon"><img /></div>
|
|
<div class="date"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<%- include('scroll.ejs') %>
|