Kontent qismiga oʻtish

Andoza:Ziyosfera/Bosh sahifa/styles.css

ZiyoSfera, erkin ensiklopediya
2026-yil 7-avgust, 16:48 dagi Programmer (munozara | hissa) versiyasi
(farq) ←Avvalgi koʻrinishi | Hozirgi koʻrinishi (farq) | Yangiroq koʻrinishi→ (farq)
/* Ziyosfera — Bosh sahifa / Loyihalar */

.mp-projects {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    margin: 1.5em 0;
}

.mp-project {
    flex: 1 1 280px;
    max-width: 340px;

    background: linear-gradient(135deg,#ffffff,#f7fbff);
    border: 1px solid #d7e7f6;
    border-radius: 14px;

    padding: 20px;

    text-align: center;

    box-shadow: 0 3px 12px rgba(0,0,0,.08);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.mp-project:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0,78,146,.18);
    border-color: #4f9cff;
}

.mp-project-icon {
    width: 72px;
    height: 72px;

    margin: 0 auto 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg,#0b72d0,#3298ff);
    border-radius: 50%;

    color: #fff;
    font-size: 34px;
}

.mp-project-title {
    margin: .2em 0 .5em;

    font-size: 1.2rem;
    font-weight: 700;

    color: #0b4c8c;
}

.mp-project-title a {
    color: inherit;
    text-decoration: none;
}

.mp-project-title a:hover {
    color: #0066cc;
}

.mp-project-desc {
    color: #555;
    line-height: 1.65;
    font-size: .95rem;
    margin-bottom: 18px;
}

.mp-project-button a {
    display: inline-block;

    padding: 10px 22px;

    background: linear-gradient(135deg,#0b72d0,#3298ff);

    color: #fff !important;

    border-radius: 999px;

    text-decoration: none;
    font-weight: 600;

    transition: .25s;
}

.mp-project-button a:hover {
    background: linear-gradient(135deg,#095ca8,#1b82ef);
    text-decoration: none;
    color: #fff !important;
}

@media (max-width:900px){

    .mp-projects{
        flex-direction:column;
        align-items:center;
    }

    .mp-project{
        width:100%;
        max-width:100%;
    }

}