Jump to content

This site is currently in alpha, so you will run into rough edges.

Please send feedback or ideas to connect@deeptech.wiki

Template:Stakeholder count widget/styles.css: Difference between revisions

From The Deep Tech Wiki
No edit summary
No edit summary
Line 1: Line 1:
/* Layout: center the whole widget block */
/* Center the whole widget and lay out cards in a row */
.stakeholder-count-widget {
.stakeholder-count-widget {
     display: flex;
     display: flex;
     justify-content: center;   /* center the row */
     justify-content: center;
     align-items: flex-start;
     align-items: flex-start;
     gap: 1.5em;
     gap: 1.5em;
Line 9: Line 9:
}
}


/* Make each tile uniform + flex-centered */
/* Individual cards: same size, outline, minimal look */
.stakeholder-count-widget-tile {
.stakeholder-card {
     width: 220px;             /* consistent width */
     width: 220px;
     height: 160px;             /* consistent height */
     height: 160px;
    padding: 12px 10px;
 
    border: 1.5px solid #000001;
    border-radius: 2px;
    background-color: #f9f9f9;
 
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
     justify-content: space-between; /* spread content vertically */
     justify-content: space-between;
     align-items: center;            /* center horizontally */
     align-items: center;
    padding: 12px 0;
     text-align: center;
     text-align: center;
    font-size: 0.95em;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        background-color 0.2s ease;
}
/* Hover effect, similar to your create button */
.stakeholder-card:hover {
    border-color: #000;
    background-color: #f2f2f2;
    transform: translateY(-1px);
}
}


/* Count styling */
/* Count styling */
.stakeholder-count-widget-tile .count {
.stakeholder-card .count {
     font-size: 1.4em;
     font-size: 1.3em;
     font-weight: 700;
     font-weight: 700;
     margin: 8px 0;
     margin: 4px 0;
}
}


/* "See ___" link styling */
/* "See ___" link styling */
.stakeholder-count-widget-tile a {
.stakeholder-card a {
     font-size: 0.9em;
     font-size: 0.9em;
    font-weight: 500;
}
}

Revision as of 13:31, 20 November 2025

/* Center the whole widget and lay out cards in a row */
.stakeholder-count-widget {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5em;
    flex-wrap: wrap;
    margin: 1.5em 0;
}

/* Individual cards: same size, outline, minimal look */
.stakeholder-card {
    width: 220px;
    height: 160px;
    padding: 12px 10px;

    border: 1.5px solid #000001;
    border-radius: 2px;
    background-color: #f9f9f9;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;

    font-size: 0.95em;
    font-weight: 600;
    letter-spacing: 0.01em;

    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        background-color 0.2s ease;
}

/* Hover effect, similar to your create button */
.stakeholder-card:hover {
    border-color: #000;
    background-color: #f2f2f2;
    transform: translateY(-1px);
}

/* Count styling */
.stakeholder-card .count {
    font-size: 1.3em;
    font-weight: 700;
    margin: 4px 0;
}

/* "See ___" link styling */
.stakeholder-card a {
    font-size: 0.9em;
    font-weight: 500;
}