Template:MainPage/HistoricSnapshot/styles.css

From WikiVita
Jump to navigation Jump to search
/* ==========================
   WikiVita Historic Snapshot
   ========================== */

.wv-history-box {
    width: 100%;
    background: #fff;
    border:1px solid #e7e0f2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Header */

.wv-history-header {
    background: #ddcef2;
    color: #000;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 8px 18px;
border-bottom:1px solid #e4dff0;
}

/* Content */

.wv-history-content {
padding: 24px 28px;
}

.wv-history-item {
    padding-left: 16px;
    border-bottom: 1px solid #e5def2;
    padding-bottom:22px;
    margin-bottom:22px;
    position:relative;
}

.wv-history-item::before {
    content:"";
    width:10px;
    height:10px;
    border-radius:50%;
    background:#0d47a1;
    position:absolute;
    left:-6px;
    top:8px;
}

.wv-history-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.wv-history-item b {
    display: block;
    margin-bottom: 4px;
    color: #0d47a1;;
    font-size: 1.10rem;
    font-weight: 700;
    line-height: 1.4;
}

.wv-history-year {
    background:#ede7f6;
    color:#512da8;
    padding:4px 10px;
    border-radius:999px;
    font-weight:700;
}

/* Mobile */

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

    .wv-history-header {
        font-size: 1.05rem;
        padding: 8px 14px;
    }

    .wv-history-content {
        padding: 14px 16px;
    }

    .wv-history-item {
        margin-bottom: 18px;
        padding-left: 12px;
        font-size: 0.95rem;
        line-height:1.75;
    }
}