Template:MainPage/FeaturedPersonalities/styles.css

From WikiVita
Jump to navigation Jump to search
/* ==========================
   WikiVita Featured Personalities
   Premium Encyclopedia Version
   ========================== */

.wv-featured-box {
    width: 100%;
    background: #f8fbff;
    border: 1px solid #d7e3f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Header */

.wv-featured-header {
    background: #d7e6f6;
    text-align: center;
    padding: 8px 20px;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

/* Individual Row */

.wv-featured-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 24px;
    border-top: 1px solid #e4edf6;
}

.wv-featured-item:first-of-type {
    border-top: none;
}

/* Image */

.wv-featured-item img {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #d7e3f0;
    background: #fff;
    padding: 2px;
}

/* Content Area */

.wv-featured-content {
    flex: 1;
    min-width: 0;
    max-width: 900px;
}

/* Name */

.wv-featured-name {
    display: block;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 6px;
}

.wv-featured-name a {
    text-decoration: none;
}

/* Description */

.wv-featured-description {
    display: block;
    font-size: 1rem;
    line-height: 1.55;
    color: #202122;
    margin-bottom: 8px;
}

/* Links */

.wv-featured-item a {
    text-decoration: none;
}

.wv-featured-item a:hover {
    text-decoration: underline;
}

/* Read More */

.wv-readmore {
    display: block;
    margin-top: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

/* ==========================
   Mobile
   ========================== */

@media screen and (max-width: 768px) {

    .wv-featured-header {
        font-size: 1.2rem;
        padding: 10px 16px;
    }

    .wv-featured-item {
        gap: 14px;
        padding: 14px 16px;
    }

    .wv-featured-item img {
        width: 72px;
        height: 72px;
    }

    .wv-featured-name {
        font-size: 1.05rem;
        line-height: 1.35;
    }

    .wv-featured-description {
        font-size: 0.96rem;
        line-height: 1.5;
    }

    .wv-readmore {
        font-size: 0.92rem;
    }
}

/* ==========================
   Large Screens
   ========================== */

@media screen and (min-width: 1400px) {

    .wv-featured-content {
        max-width: 950px;
    }

}