"میڈیاویکی:Common.css" کے نسخوں کے درمیان فرق

کوئی خلاصۂ ترمیم نہیں
ٹیگ: ردِّ ترمیم
کوئی خلاصۂ ترمیم نہیں
 
(ایک ہی صارف کا 38 درمیانی نسخے نہیں دکھائے گئے)
سطر 445: سطر 445:




/* কাস্টম ক্লাস "infobox-ar" ব্যবহার করে কনফ্লিক্ট এড়ানো হয়েছে */
.infobox-ar {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin-top: 10px;
    float: right; /* ডান পাশে রাখার জন্য */
}


/* ছবির সঠিক সাইজ ঠিক রাখার জন্য */
/* Infobox Styling */.infobox-businessman {width: 250px; /* ডেক্সটপে ইনফোবক্সের প্রস্থ */float: right; /* ডান পাশে অবস্থান করবে */margin: 0 0 1em 1em; /* উপরে এবং ডানে মার্জিন */background: #f8f9fa;border: 1px solid #a2a9b1;padding: 8px;font-size: 90%;border-radius: 5px;}/* ইনফোবক্সের টেক্সট সেন্টার করা */.infobox-businessman th {background: #e5e6fa;text-align: center;font-weight: bold;}/* ইনফোবক্সের টেবিল কন্টেন্ট */.infobox-businessman td, .infobox-businessman th {padding: 6px;}/* ইনফোবক্সে থাকা ইমেজ সম্পূর্ণ প্রস্থে দেখানো */.infobox-businessman img {width: 100%;height: auto;display: block;}/* মোবাইল ভিউতে ইনফোবক্সের অবস্থান */@media (max-width: 768px) {.infobox-businessman {width: 100%; /* পুরো প্রস্থ নেবে */float: none; /* ফ্লোট থাকবে না */margin: 0 auto 1em auto; /* নিচে মার্জিন */}}.infobox-businessman img {max-width: 95%; /* ইনফোবক্সের عرض এর বাইরে না যায় */height: auto; /* আনুপাতিক উচ্চতা ঠিক রাখবে */}.infobox-businessman .verified-icon {display: inline-block;vertical-align: middle;margin-left: 3px; /* নামের পাশে গ্যাপ রাখবে */}.infobox-businessman .verified-icon img {width: 15px;height: 15px;vertical-align: middle;}/* স্বাক্ষরের জন্য */.infobox-businessman .signature img {max-width: 100px; /* স্বাক্ষরের সঠিক সাইজ */height: auto;}
.infobox-ar img {
/* মোবাইল ভিউতে আইকনের সাইজ ছোট করা */
    width: 100%;
@media (max-width: 768px) {.infobox-businessman .verified-icon img {width: 12px;  
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}


/* মোবাইল ভিউতে ফুল-উইডথ করা */
/* মোবাইলে আইকন ছোট হবে */height: 12px;}.infobox-businessman .signature img {max-width: 80px; /* মোবাইলে স্বাক্ষরের সাইজ ছোট হবে */}}
@media (max-width: 768px) {
    .infobox-ar {
        float: none; /* মোবাইলে ফ্লোট বন্ধ */
        width: 100%; /* পুরো স্ক্রীন নেবে */
        margin: 0;
    }
}


/* ডেস্কটপ ভিউতে উইকিপিডিয়ার মতো ডান পাশে রাখবে */
@media (min-width: 768px) {
    .infobox-ar {
        width: 30%; /* ৩০% স্ক্রীন প্রস্থ */
    }
}




.nodesktop { display: none; }


/* ডেস্কটপ ভিউতে ইনফোবক্স ডিজাইন */
@media screen and (max-width: 600px) {
.infobox-person-officeholder {
     .nomobile { display: none; }
    width: 70%; /* ডেস্কটপ ভিউতে ৭০% চওড়া */
     .nodesktop { display: block; }
     margin: 20px 0;
     display: block;
    background-color: #f8f9fa; /* বক্সের ব্যাকগ্রাউন্ড কালার */
    border: 1px solid #ddd; /* সীমানা */
    border-radius: 8px; /* গোলাকার কোণা */
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    box-sizing: border-box; /* বক্স সাইজিং ঠিক রাখা */
    overflow: hidden; /* ডিজাইন ঠিক রাখতে */
    float: right; /* ইনফোবক্স ডানদিকে রাখার জন্য */
}
}


.infobox-title, .infobox-subtitle, .infobox-header {
    text-align: center;
    padding: 15px;
    background-color: #ebecf0; /* টাইটেল বক্স কালার */
    border-radius: 5px;
}
.infobox-office, .infobox-organization {
    color: #3465c5;
}
/* ডেস্কটপ ভিউতে টেবিলের ডিজাইন */
.infobox-person-officeholder table {
    width: 100%;
    border-collapse: collapse;
}
.infobox-person-officeholder th,
.infobox-person-officeholder td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}


.infobox-image-wrapper {
    width: 200px;
    margin: 0 auto;
}


.infobox-img {
/* প্রথম হেডিং, ট্যাগলাইন এবং "From Worldpedia, the free encyclopedia" লুকানো */
     width: 100%;
body.page-Main_Page #firstHeading,
     max-height: 200px;
body.page-Main_Page #siteSub,
     object-fit: cover;
body.page-Main_Page .mw-body-content .mw-parser-output > p:first-child,
     border-radius: 5px;
body.page-Main_Page .pre-content.heading-holder,
body.page-Main_Page .page-heading,
body.page-Main_Page .tagline,
body.page-Main_Page #mw-content-subtitle {
     display: none !important;
    visibility: hidden !important;
     height: 0 !important;
     margin: 0 !important;
     padding: 0 !important;
}
}


/* ডেস্কটপ ভিউতে সিগনেচার */
/* অতিরিক্ত ফাঁকা জায়গা সরানো */
.infobox-signature img {
body.page-Main_Page #content,
     max-width: 100px;
body.page-Main_Page .mw-body {
     height: auto;
     margin: 0 !important;
     padding: 0 !important;
}
}


/* মোবাইল ভিউতে ইনফোবক্স ডিজাইন */
/* মোবাইল ভিউতে একই কাজ */
@media (max-width: 767px) {
@media screen and (max-width: 767px) {
     .infobox-person-officeholder {
     body.page-Main_Page #firstHeading,
        width: 95%; /* মোবাইলে কিছুটা মার্জিন রেখে সুন্দরভাবে ফিট করবে */
    body.page-Main_Page #siteSub,
        margin: 10px auto; /* সেন্টার করা */
    body.page-Main_Page .mw-body-content .mw-parser-output > p:first-child,
        display: block;
     body.page-Main_Page .pre-content.heading-holder,
        background-color: #f8f9fa; /* বক্সের ব্যাকগ্রাউন্ড কালার */
     body.page-Main_Page .page-heading,
        border: 1px solid #ddd; /* সীমানা */
     body.page-Main_Page .tagline,
        border-radius: 8px; /* গোলাকার কোণা */
     body.page-Main_Page #mw-content-subtitle {
        box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
         display: none !important;
        padding: 15px; /* কিছু প্যাডিং দিলাম যাতে কন্টেন্ট খুব কাছে না আসে */
         visibility: hidden !important;
        box-sizing: border-box; /* বক্স সাইজিং ঠিক রাখা */
         height: 0 !important;
        overflow: hidden; /* ডিজাইন ঠিক রাখতে */
         margin: 0 !important;
    }
         padding: 0 !important;
 
    /* মোবাইল ভিউতে ইনফোবক্সের টেবিল ফিট করা */
    .infobox-person-officeholder table {
        width: 100%;
        border-collapse: collapse;
    }
 
     .infobox-person-officeholder th,
     .infobox-person-officeholder td {
        display: block;
        text-align: center;
        padding: 8px;
    }
 
    /* মোবাইল ভিউতে ছবির জন্য */
     .infobox-image-wrapper {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
 
     .infobox-img {
        width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: cover; /* ছবি ঠিকভাবে বসবে */
         border-radius: 5px;
    }
 
    /* মোবাইল ভিউতে সিগনেচার */
    .infobox-signature img {
         max-width: 80px;
         height: auto;
    }
 
    /* ইনফোবক্সের হেডার, টাইটেল এবং সেকশনের কালার ঠিক করা */
    .infobox-title, .infobox-subtitle, .infobox-header {
         text-align: center;
         padding: 10px;
        background-color: #ebecf0; /* টাইটেল বক্স কালার */
        border-radius: 5px;
     }
     }


     /* অফিস এবং অর্গানাইজেশন কালার ঠিক করা */
     body.page-Main_Page #content,
     .infobox-office, .infobox-organization {
     body.page-Main_Page .mw-body {
         color: #3465c5;
         margin: 0 !important;
        padding: 0 !important;
     }
     }
}
}