Changeset 628056f in Klonkt for src/views


Ignore:
Timestamp:
06/22/2026 01:38:13 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
050aa02
Parents:
546f102
Message:

feat(circles): new vectorised icon via CSS mask (accent colour) as header

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/circle-feed.ejs

    r546f102 r628056f  
    11<div class="container cirkel-hero">
    2   <span class="cirkel-badge" aria-hidden="true">
    3     <svg viewBox="0 0 100 100" fill="none" stroke="currentColor" stroke-width="5" stroke-linecap="round" stroke-linejoin="round">
    4       <defs>
    5         <marker id="cf-a" viewBox="0 0 10 10" refX="6.5" refY="5" markerWidth="3" markerHeight="3" orient="auto-start-reverse"><path d="M2 2 L7 5 L2 8" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></marker>
    6       </defs>
    7       <circle cx="50" cy="50" r="45"/>
    8       <line x1="35" y1="40" x2="54" y2="29" marker-start="url(#cf-a)" marker-end="url(#cf-a)"/>
    9       <line x1="65" y1="34" x2="65" y2="61" marker-end="url(#cf-a)"/>
    10       <line x1="33.2" y1="53.3" x2="54" y2="66.2" marker-end="url(#cf-a)"/>
    11       <circle cx="23" cy="47" r="9"/>
    12       <circle cx="65" cy="23" r="9"/>
    13       <circle cx="65" cy="73" r="9"/>
    14     </svg>
    15   </span>
     2  <span class="cirkel-badge" aria-hidden="true"></span>
    163  <h1><%= t('cfeed.title') %></h1>
    174  <p class="cirkel-sub"><%= t('cfeed.sub') %></p>
     
    6653<style>
    6754.cirkel-hero { text-align: center; max-width: 640px; margin: 2.5rem auto 2rem; }
    68 .cirkel-badge { display: block; width: 104px; height: 104px; margin: 0 auto .7rem; color: var(--accent); }
     55.cirkel-badge { display: block; width: 104px; height: 104px; margin: 0 auto .7rem; background-color: var(--accent);
     56  -webkit-mask: url('/assets/img/cirkel-logo.svg?v=3') center / contain no-repeat;
     57          mask: url('/assets/img/cirkel-logo.svg?v=3') center / contain no-repeat; }
    6958.cirkel-badge svg { width: 100%; height: 100%; }
    7059.cirkel-hero h1 { font-family: var(--font-display, serif); font-size: 2.4rem; margin: 0 0 .3rem; }
Note: See TracChangeset for help on using the changeset viewer.