Changeset 7f46817d in Klonkt


Ignore:
Timestamp:
06/15/2026 03:27:41 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
d54dade
Parents:
3e86f1c
Message:

style: Spotify embed in a white rounded box (border + shadow)

Spotify card gets a white border, rounded corners, and a light shadow so
the (dark) Spotify player sits as a neat box on the page. Facade text
forced dark so it stays readable on the white surface, regardless of theme.
embed.css cache-buster v=1 -> v=2.

Co-Authored-By: Claude <noreply@…>

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/assets/css/embed.css

    r3e86f1c r7f46817d  
    135135.pcms-embed-card--spotify:not(.is-mounted) .pcms-embed-mount { display: none; }
    136136
     137/* Spotify in een nette witte box (Robin 2026-06-15): witte rand + rounded +
     138 * schaduw. Hogere specificity (.folio-embed.pcms-embed-card--spotify) zodat dit
     139 * de generieke .folio-embed.pcms-embed-card-basis (gelijke specificity) wint —
     140 * staat ook later in het bestand. */
     141.folio-embed.pcms-embed-card--spotify {
     142  border: 3px solid #ffffff;
     143  border-radius: 16px;
     144  background: #ffffff;
     145  padding: 5px;
     146  box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
     147}
     148.pcms-embed-card--spotify .pcms-embed-mount iframe { border-radius: 12px; }
     149/* Facade (vóór afspelen) leesbaar op de witte box, ongeacht het thema. */
     150.pcms-embed-card--spotify .pcms-embed-audio { background: #ffffff; border-radius: 12px; overflow: hidden; }
     151.pcms-embed-card--spotify .pcms-embed-art { background: #f0f0f0; color: #191414; }
     152.pcms-embed-card--spotify .pcms-embed-title { color: #191414; }
     153.pcms-embed-card--spotify .pcms-embed-sub { color: #555555; }
     154.pcms-embed-card--spotify .pcms-embed-frame-badge { background: #ffffff; border-top: 0; padding-top: 0; }
     155
    137156/* ---- Grote play-knop (poster/art) ---- */
    138157.pcms-embed-bigplay {
  • src/views/shell.ejs

    r3e86f1c r7f46817d  
    170170<link rel="stylesheet" href="/assets/css/audio.css?v=5">
    171171<!-- Eigen custom media-embeds (YouTube/SoundCloud/Spotify) in huisstijl. -->
    172 <link rel="stylesheet" href="/assets/css/embed.css?v=1">
     172<link rel="stylesheet" href="/assets/css/embed.css?v=2">
    173173
    174174<%- include('partials/shared-styles') %>
Note: See TracChangeset for help on using the changeset viewer.