Card
No edit summary
No edit summary
Tag: 2017 source edit
Line 1: Line 1:
<!-- Widget code for a single card -->
<!-- Widget code for a single card with a constant location for the arrow and its label -->
<div style="max-width: 361px; min-height: 183px; padding: 24px; background: <!--{$cardColor|default:'#F3F6F9'}-->; border-radius: 6px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; position: relative;">
<div style="max-width: 361px; min-height: 183px; padding: 24px; background: <!--{$cardColor|default:'#F3F6F9'}-->; border-radius: 6px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; position: relative;">
     <!-- Row container for icon and headings -->
     <!-- Row container for icon and headings -->
     <div style="display: flex; align-items: center; gap: 10px;">
     <div style="display: flex; align-items: center; gap: 10px;">
Line 13: Line 13:
     <!-- Description text below icon and heading -->
     <!-- Description text below icon and heading -->
     <div style="max-width: 100%; color: black; font-size: 14px; font-weight: 300; word-wrap: break-word;"><!--{$text|default:'At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.'}--></div>
     <div style="max-width: 100%; color: black; font-size: 14px; font-weight: 300; word-wrap: break-word;"><!--{$text|default:'At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.'}--></div>
     <!-- Link and arrow at the bottom -->
     <!-- Link and arrow at the bottom, now with absolute positioning -->
     <div style="align-self: stretch; justify-content: flex-start; align-items: center; gap: 6px; display: inline-flex; margin-top:10px;">
     <div style="position: absolute; bottom: 24px; left: 24px; display: flex; align-items: center; gap: 6px;">
         <a href="<!--{$link|default:'#'}-->" style="display: inline-flex; align-items: center;">
         <a href="<!--{$link|default:'#'}-->" style="display: flex; align-items: center;">
             <div style="color: #1A50AD; font-size: 14px; font-weight: 600; word-wrap: break-word; margin-right: 10px;"><!--{$linktext|default:'Take Training'}--></div>
             <div style="color: #1A50AD; font-size: 14px; font-weight: 600; word-wrap: break-word; margin-right: 10px;"><!--{$linktext|default:'Take Training'}--></div>
             <!-- SVG arrow inline with link text -->
             <!-- SVG arrow inline with link text -->

Revision as of 20:01, 5 February 2024

       <img src="" alt="Icon" style="width: ; display: ; height: auto;">
       <a href="" style="display: flex; align-items: center;">
           <svg xmlns="http://www.w3.org/2000/svg" width="14" height="10" viewBox="0 0 14 10" fill="none">
               <path d="M1 5H13M13 5L9.57143 1.57143M13 5L9.57143 8.42857" stroke="#1A50AD" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
           </svg>
       </a>
This page was edited 99 days ago on 02/10/2024. What links here