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

لا ملخص تعديل
لا ملخص تعديل
 
(مراجعة متوسّطة واحدة بواسطة نفس المستخدِم غير معروضة)
سطر ٥٧٧: سطر ٥٧٧:
body.page-الصفحة_الرئيسية .mw-body-content {
body.page-الصفحة_الرئيسية .mw-body-content {
     margin-top: 0 !important;
     margin-top: 0 !important;
}
/* =========================================
  Basrawe Main Page - Wide Desktop Layout
  ========================================= */
@media screen and (min-width: 1000px) {
    /* إخفاء العمودين الجانبيين في الصفحة الرئيسية فقط */
    body.page-الصفحة_الرئيسية .vector-column-start,
    body.page-الصفحة_الرئيسية .vector-column-end {
        display: none !important;
    }
    /* جعل محتوى الرئيسية يستفيد من العرض */
    body.page-الصفحة_الرئيسية .mw-page-container-inner {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    body.page-الصفحة_الرئيسية .mw-body {
        grid-column: 1 !important;
        width: 100% !important;
        max-width: none !important;
    }
    body.page-الصفحة_الرئيسية .mw-content-container {
        max-width: 1400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
/* إصلاح الجداول وصناديق المعلومات على الموبايل */
@media screen and (max-width: 720px) {
    /* جميع صناديق المعلومات والجداول العائمة */
    .mw-parser-output .basrawe-infobox,
    .mw-parser-output .infobox,
    .mw-parser-output table[style*="float"],
    .mw-parser-output .wikitable[style*="float"] {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 18px 0 !important;
        box-sizing: border-box !important;
        clear: both !important;
    }
    /* الصور داخل الجداول */
    .mw-parser-output table img,
    .mw-parser-output .basrawe-infobox img,
    .mw-parser-output .infobox img {
        max-width: 100% !important;
        height: auto !important;
    }
    /* منع النص من الالتفاف بجانب الصندوق */
    .mw-parser-output > p,
    .mw-parser-output > h2,
    .mw-parser-output > h3 {
        clear: none;
    }
}
}