انتقل إلى المحتوى

ميدياويكي:Common.css: الفرق بين النسختين

من موسوعة بصراوي
 
لا ملخص تعديل
سطر ٣: سطر ٣:
.mw-logo-icon {
.mw-logo-icon {
     display: none !important;
     display: none !important;
}
.basrawe-home {
    max-width: 1200px;
    margin: 0 auto;
    font-family: inherit;
}
.basrawe-hero {
    padding: 38px 28px;
    margin-bottom: 28px;
    text-align: center;
    border: 1px solid #eaecf0;
    border-radius: 18px;
    background: linear-gradient(135deg, #fffaf0, #f7f9fc);
}
.basrawe-hero h1 {
    margin: 0 0 8px;
    font-size: 34px;
}
.basrawe-hero p {
    margin: 6px 0;
    color: #555;
    font-size: 17px;
}
.basrawe-section {
    margin: 30px 0;
}
.basrawe-section-title {
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 700;
}
.basrawe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.basrawe-card {
    display: block;
    padding: 22px 18px;
    min-height: 110px;
    border: 1px solid #e1e5ea;
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
.basrawe-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    text-decoration: none;
}
.basrawe-card-title {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 700;
}
.basrawe-card-text {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}
.basrawe-featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.basrawe-box {
    padding: 22px;
    border: 1px solid #e1e5ea;
    border-radius: 14px;
    background: #fff;
}
.basrawe-links {
    line-height: 2;
}
.basrawe-cta {
    margin-top: 32px;
    padding: 26px;
    text-align: center;
    border-radius: 16px;
    background: #f7f9fc;
    border: 1px solid #e1e5ea;
}
@media (max-width: 900px) {
    .basrawe-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .basrawe-featured {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .basrawe-grid {
        grid-template-columns: 1fr;
    }
    .basrawe-hero {
        padding: 28px 18px;
    }
    .basrawe-hero h1 {
        font-size: 28px;
    }
}
}

مراجعة ١١:١٦، ١٥ يوليو ٢٠٢٦

/* الأنماط المتراصة CSS المعروضة هنا ستؤثر على كل الواجهات */
/* إخفاء الأيقونة القديمة والإبقاء على شعار موسوعة بصراوي */
.mw-logo-icon {
    display: none !important;
}

.basrawe-home {
    max-width: 1200px;
    margin: 0 auto;
    font-family: inherit;
}

.basrawe-hero {
    padding: 38px 28px;
    margin-bottom: 28px;
    text-align: center;
    border: 1px solid #eaecf0;
    border-radius: 18px;
    background: linear-gradient(135deg, #fffaf0, #f7f9fc);
}

.basrawe-hero h1 {
    margin: 0 0 8px;
    font-size: 34px;
}

.basrawe-hero p {
    margin: 6px 0;
    color: #555;
    font-size: 17px;
}

.basrawe-section {
    margin: 30px 0;
}

.basrawe-section-title {
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 700;
}

.basrawe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.basrawe-card {
    display: block;
    padding: 22px 18px;
    min-height: 110px;
    border: 1px solid #e1e5ea;
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

.basrawe-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    text-decoration: none;
}

.basrawe-card-title {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 700;
}

.basrawe-card-text {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

.basrawe-featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.basrawe-box {
    padding: 22px;
    border: 1px solid #e1e5ea;
    border-radius: 14px;
    background: #fff;
}

.basrawe-links {
    line-height: 2;
}

.basrawe-cta {
    margin-top: 32px;
    padding: 26px;
    text-align: center;
    border-radius: 16px;
    background: #f7f9fc;
    border: 1px solid #e1e5ea;
}

@media (max-width: 900px) {
    .basrawe-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .basrawe-featured {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .basrawe-grid {
        grid-template-columns: 1fr;
    }

    .basrawe-hero {
        padding: 28px 18px;
    }

    .basrawe-hero h1 {
        font-size: 28px;
    }
}