<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Css on homelab</title>
    <link>https://homelab.nbkelley.com/tags/css/</link>
    <description>Recent content in Css on homelab</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Fri, 01 May 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://homelab.nbkelley.com/tags/css/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Jellyfin Help Link Integration</title>
      <link>https://homelab.nbkelley.com/docs/services/jellyfin-help-link/</link>
      <pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate>
      <guid>https://homelab.nbkelley.com/docs/services/jellyfin-help-link/</guid>
      <description>&lt;h1 id=&#34;jellyfin-help-link-integration&#34;&gt;Jellyfin Help Link Integration&lt;a class=&#34;anchor&#34; href=&#34;#jellyfin-help-link-integration&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;h2 id=&#34;what-was-established&#34;&gt;What Was Established&lt;a class=&#34;anchor&#34; href=&#34;#what-was-established&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Goal&lt;/strong&gt;: Integrate a persistent, user-facing help link directly into the Jellyfin UI for logged-in users, directing them to the Hinterflix documentation.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Methods Evaluated&lt;/strong&gt;: Custom Login Message (pre-login only), Custom CSS (Dashboard &amp;gt; General), Reverse Proxy HTML injection (Nginx), Custom JavaScript, and Plugin-based solutions.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Selected Approach&lt;/strong&gt;: Custom CSS injected via the Jellyfin Dashboard. It provides immediate visibility without requiring external dependencies or server restarts.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;key-decisions&#34;&gt;Key Decisions&lt;a class=&#34;anchor&#34; href=&#34;#key-decisions&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Placement&lt;/strong&gt;: Prioritized persistent in-interface links over pre-login messages. Options included header navigation, floating action button, and sidebar integration.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Implementation Path&lt;/strong&gt;: Chose &lt;code&gt;Dashboard &amp;gt; General &amp;gt; Custom CSS&lt;/code&gt; for its simplicity and zero-dependency nature compared to reverse proxy modifications or plugin development.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Target URL&lt;/strong&gt;: The CSS &lt;code&gt;href&lt;/code&gt; attributes should point to the deployed Hinterflix help site (e.g., &lt;code&gt;https://status.nbkelley.com&lt;/code&gt; or the specific docs subdomain).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;current-configuration&#34;&gt;Current Configuration&lt;a class=&#34;anchor&#34; href=&#34;#current-configuration&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Location&lt;/strong&gt;: Jellyfin Web UI → Dashboard → General → Custom CSS&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Active Selectors&lt;/strong&gt;:&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;headerTabs::after&lt;/code&gt; for top navigation bar integration&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;body::after&lt;/code&gt; for a fixed floating action button (FAB)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;sidebarBox:last-child::after&lt;/code&gt; for sidebar menu integration&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Dependencies&lt;/strong&gt;: None. Relies entirely on Jellyfin&amp;rsquo;s built-in CSS injection capability.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;historical-notes&#34;&gt;Historical Notes&lt;a class=&#34;anchor&#34; href=&#34;#historical-notes&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Conversation dated 2025-11-22.&lt;/li&gt;&#xA;&lt;li&gt;Jellyfin&amp;rsquo;s frontend framework (Ember.js/React hybrid) frequently updates CSS class names. Selectors like &lt;code&gt;headerTabs&lt;/code&gt; and &lt;code&gt;sidebarBox&lt;/code&gt; may break after major Jellyfin version upgrades, requiring CSS updates.&lt;/li&gt;&#xA;&lt;li&gt;The &lt;code&gt;sub_filter&lt;/code&gt; Nginx approach was considered but discarded in favor of native dashboard configuration to avoid proxy overhead and cache invalidation issues.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;open-questions&#34;&gt;Open Questions&lt;a class=&#34;anchor&#34; href=&#34;#open-questions&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Has the chosen CSS snippet been applied and verified against the current Jellyfin version running on the homelab?&lt;/li&gt;&#xA;&lt;li&gt;Are there any specific UX guidelines or family-user constraints that dictate the preferred placement (header vs. floating vs. sidebar)?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;related-pages&#34;&gt;Related Pages&lt;a class=&#34;anchor&#34; href=&#34;#related-pages&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://homelab.nbkelley.com/docs/services/hinterflix-help-site/&#34;&gt;Hinterflix Help Site - Cloudflare Deployment&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://homelab.nbkelley.com/docs/services/jellyfin-gpu-passthrough/&#34;&gt;Jellyfin LXC GPU Passthrough &amp;amp; Hardware Acceleration&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://homelab.nbkelley.com/docs/services/servarr/&#34;&gt;Servarr - Media Automation Stack&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;sources&#34;&gt;Sources&lt;a class=&#34;anchor&#34; href=&#34;#sources&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;ingested/chats/128-Add User to Sudoers Group Guide.md&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;ingested/chats/113-Adding Help Link to Jellyfin Server.md&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;ingested/chats/028-Basic Header with Hamburger Menu Design.md&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;DeepSeek conversation: &amp;ldquo;Adding Help Link to Jellyfin Server&amp;rdquo; (2025-11-22)&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
    <item>
      <title>MBTA Dashboard - Frontend Implementation</title>
      <link>https://homelab.nbkelley.com/docs/services/mbta-dashboard-frontend/</link>
      <pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate>
      <guid>https://homelab.nbkelley.com/docs/services/mbta-dashboard-frontend/</guid>
      <description>&lt;h1 id=&#34;mbta-dashboard---frontend-implementation&#34;&gt;MBTA Dashboard - Frontend Implementation&lt;a class=&#34;anchor&#34; href=&#34;#mbta-dashboard---frontend-implementation&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;h2 id=&#34;what-was-established&#34;&gt;What Was Established&lt;a class=&#34;anchor&#34; href=&#34;#what-was-established&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;A portrait-mode (1080x1920) transit dashboard displaying real-time MBTA departures, commuter rail, weather, news, and a static transit map. Hosted on PLT-MBTADisplay (&lt;code&gt;192.168.168.42&lt;/code&gt;), served via Nginx with a Node/Express proxy that handles all external API calls server-side. Target display is a 1080p vertical screen driven by Anthias on a Raspberry Pi 3B+.&lt;/p&gt;&#xA;&lt;h2 id=&#34;design-evolution&#34;&gt;Design Evolution&lt;a class=&#34;anchor&#34; href=&#34;#design-evolution&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;The dashboard went through several major design iterations:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Initial&lt;/strong&gt;: Line-based cards with MBTA colors, horizontal layout for 1080p TV&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Minimalist redesign&lt;/strong&gt;: White background, grey dividers, MBTA colors only on small abbreviated line pills (RL, OL, BL, GL-B/C/D/E), smaller station-only headers with walk time&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Station-based cards&lt;/strong&gt;: Cards grouped by station (South Station, State Street, Park Street) rather than by line, with all routes listed per station&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Final portrait layout&lt;/strong&gt;: 2-column CSS Grid, flex column containers, flat time-sorted departure list with line pills, full-width static map image at bottom&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3 id=&#34;layout-1080x1920-portrait&#34;&gt;Layout (1080x1920 Portrait)&lt;a class=&#34;anchor&#34; href=&#34;#layout-1080x1920-portrait&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;2-column, 3-row card grid above a full-width static map image&lt;/li&gt;&#xA;&lt;li&gt;Cards flex with content height (no preset card height)&lt;/li&gt;&#xA;&lt;li&gt;CSS Grid with &lt;code&gt;grid-template-columns: 1fr 1fr&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;key-features&#34;&gt;Key Features&lt;a class=&#34;anchor&#34; href=&#34;#key-features&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;h3 id=&#34;css-tickermarquee&#34;&gt;CSS Ticker/Marquee&lt;a class=&#34;anchor&#34; href=&#34;#css-tickermarquee&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Header text that overflows its container scrolls seamlessly in a ticker&lt;/li&gt;&#xA;&lt;li&gt;Uses CSS animation with &lt;code&gt;transform: translateX()&lt;/code&gt; — no JavaScript&lt;/li&gt;&#xA;&lt;li&gt;Animation speed set slow for readability&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;station-based-grouping&#34;&gt;Station-Based Grouping&lt;a class=&#34;anchor&#34; href=&#34;#station-based-grouping&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Cards grouped by physical station: South Station, State Street, Park Street&lt;/li&gt;&#xA;&lt;li&gt;Each station card shows all lines serving that station&lt;/li&gt;&#xA;&lt;li&gt;Departures sorted by time, each with abbreviated line pill (RL, OL, BL, GL-B, etc.)&lt;/li&gt;&#xA;&lt;li&gt;Filtered to show departures within 10 minutes walking distance&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;server-side-proxy-architecture&#34;&gt;Server-Side Proxy Architecture&lt;a class=&#34;anchor&#34; href=&#34;#server-side-proxy-architecture&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;All API calls proxied through Node/Express on &lt;code&gt;localhost:3000&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Client fetches single &lt;code&gt;/api/data&lt;/code&gt; endpoint — no direct browser-to-MBTA calls&lt;/li&gt;&#xA;&lt;li&gt;API keys stored in environment variables, never exposed to browser&lt;/li&gt;&#xA;&lt;li&gt;Server-side caching with TTL to reduce upstream API calls&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;news-ticker&#34;&gt;News Ticker&lt;a class=&#34;anchor&#34; href=&#34;#news-ticker&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Pulls from multiple RSS feeds (MassLive Boston, State House News)&lt;/li&gt;&#xA;&lt;li&gt;Displays first 3 items from each feed as &lt;code&gt;&amp;lt;title&amp;gt; - &amp;lt;description&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Modular RSS feed configuration for easy addition of new sources&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;static-map&#34;&gt;Static Map&lt;a class=&#34;anchor&#34; href=&#34;#static-map&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Originally Leaflet.js with OpenStreetMap and hardcoded markers&lt;/li&gt;&#xA;&lt;li&gt;Replaced with static image for performance on Raspberry Pi&lt;/li&gt;&#xA;&lt;li&gt;Generated via Snazzy Maps + PowerPoint, served as local &lt;code&gt;webp&lt;/code&gt; file&lt;/li&gt;&#xA;&lt;li&gt;Full-width, placed below the card grid&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;performance--optimization&#34;&gt;Performance &amp;amp; Optimization&lt;a class=&#34;anchor&#34; href=&#34;#performance--optimization&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;h3 id=&#34;memory-constraints-raspberry-pi-3b&#34;&gt;Memory Constraints (Raspberry Pi 3B+)&lt;a class=&#34;anchor&#34; href=&#34;#memory-constraints-raspberry-pi-3b&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Total system memory: 788MB&lt;/li&gt;&#xA;&lt;li&gt;Dockerized Anthias viewer consumes significant resources&lt;/li&gt;&#xA;&lt;li&gt;Strategies employed:&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Server-side proxy&lt;/strong&gt;: Eliminates duplicate API calls from browser&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Lazy loading&lt;/strong&gt;: Defer non-critical rendering&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;DOM optimization&lt;/strong&gt;: Remove unused elements, minimize reflows&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Image optimization&lt;/strong&gt;: Convert to WebP, use static image over dynamic map&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Cache management&lt;/strong&gt;: Server-side cache with periodic clearing&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Swap avoidance&lt;/strong&gt;: Swap degrades SD card — keep memory footprint below physical RAM&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;font-standardization&#34;&gt;Font Standardization&lt;a class=&#34;anchor&#34; href=&#34;#font-standardization&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Default to Arial for cross-platform consistency&lt;/li&gt;&#xA;&lt;li&gt;Helvetica Neue as preferred fallback&lt;/li&gt;&#xA;&lt;li&gt;Qt WebEngine (Anthias) renders fonts differently than desktop Chrome&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;current-configuration&#34;&gt;Current Configuration&lt;a class=&#34;anchor&#34; href=&#34;#current-configuration&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Host&lt;/strong&gt;: PLT-MBTADisplay (&lt;code&gt;192.168.168.42&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Web root&lt;/strong&gt;: &lt;code&gt;/var/www/MBTADisplay/public&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Proxy&lt;/strong&gt;: &lt;code&gt;/opt/mbta-proxy/server.js&lt;/code&gt; (Node/Express, port 3000)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Process manager&lt;/strong&gt;: pm2 with systemd service (&lt;code&gt;pm2-administrator&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Deployment&lt;/strong&gt;: Git push → GitHub → manual pull on server&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Access URLs&lt;/strong&gt;: &lt;code&gt;http://transit.intra.plgt.com&lt;/code&gt; (internal), &lt;code&gt;https://mbtadash.nbkelley.com&lt;/code&gt; (Cloudflare)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;historical-notes&#34;&gt;Historical Notes&lt;a class=&#34;anchor&#34; href=&#34;#historical-notes&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Conversation dates: 2026-03-12 to 2026-04-12.&lt;/li&gt;&#xA;&lt;li&gt;Collaborative workflow: Claude AI (creative/prompt engineering) → Claude Code (implementation).&lt;/li&gt;&#xA;&lt;li&gt;Blue Bikes section was added, then fully removed when GBFS feed deprecated.&lt;/li&gt;&#xA;&lt;li&gt;Ferry panel configuration evolved significantly — seasonal routes removed seasonally.&lt;/li&gt;&#xA;&lt;li&gt;Several Claude Code UI hallucinations corrected by user during Bambu Studio discussion.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;related-pages&#34;&gt;Related Pages&lt;a class=&#34;anchor&#34; href=&#34;#related-pages&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://homelab.nbkelley.com/docs/services/mbta-dashboard-setup/&#34;&gt;MBTA Dashboard - Setup&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://homelab.nbkelley.com/docs/services/mbta-kiosk-mode/&#34;&gt;MBTA Dashboard - Kiosk Mode&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://homelab.nbkelley.com/docs/services/bluebikes-api/&#34;&gt;BlueBikes API Feeds Guide&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;sources&#34;&gt;Sources&lt;a class=&#34;anchor&#34; href=&#34;#sources&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;ingested/chats/159-Create MBTA Train Dashboard with API.md&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Claude Code conversation: &amp;ldquo;MBTADashboard - Prompt Maker&amp;rdquo; (chat 24)&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
  </channel>
</rss>
