বিষয়বস্তুতে চলুন

মিডিয়াউইকি:Common.css: সংশোধিত সংস্করণের মধ্যে পার্থক্য

বইপিডিয়া থেকে
সম্পাদনা সারাংশ নেই
ট্যাগ: হাতদ্বারা প্রত্যাবর্তন
পরীক্ষার জন্য
ট্যাগ: পুনর্বহালকৃত
১৬৩ নং লাইন: ১৬৩ নং লাইন:
     width: auto !important;
     width: auto !important;
     vertical-align: middle !important;
     vertical-align: middle !important;
}
/*test*/
/* --- Premium Boipedia Theme --- */
/* Main Wrapper */
.premium-container {
    font-family: 'Georgia', 'Times New Roman', serif; /* Serif font for bookish feel */
    color: #333;
    max-width: 1100px;
    margin: 0 auto;
    background: #fdfdfd;
}
/* 1. Hero Section */
.premium-hero {
    background: linear-gradient(135deg, #1a1a2e, #16213e); /* Deep Royal Blue/Black */
    color: #fff;
    padding: 80px 40px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}
.hero-title {
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 3.5em;
    font-weight: bold;
    margin: 0;
    color: #e0c097; /* Gold Color */
    letter-spacing: 2px;
    border: none;
}
.hero-subtitle {
    font-size: 1.2em;
    opacity: 0.8;
    max-width: 600px;
    margin: 10px auto 30px auto;
    font-weight: 300;
}
.hero-search-box {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 50px;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.2);
}
.search-placeholder {
    display: block;
    background: #fff;
    color: #777;
    padding: 10px 20px;
    border-radius: 30px;
    text-align: left;
    font-family: sans-serif;
    cursor: pointer;
}
/* 2. Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 30px;
}
.section-header h2 {
    font-size: 2em;
    color: #2c3e50;
    border: none;
    margin-bottom: 10px;
}
.divider {
    height: 3px;
    width: 60px;
    background: #e0c097; /* Gold divider */
    margin: 0 auto;
}
/* 3. Featured Book Card */
.featured-grid {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}
.featured-book-card {
    display: flex;
    background: #fff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    border: 1px solid #eee;
}
.book-cover-placeholder {
    background: #2c3e50;
    color: #fff;
    flex: 1;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}
.book-details {
    flex: 2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tag {
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 1px;
    color: #e0c097;
    font-weight: bold;
    margin-bottom: 10px;
}
.book-details h3 {
    font-size: 2.2em;
    margin: 0 0 10px 0;
    color: #222;
    border: none;
}
.book-details .author {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}
.book-details .excerpt {
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}
/* Buttons */
.btn-gold {
    background: #e0c097;
    color: #1a1a2e;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin-right: 10px;
    transition: 0.3s;
}
.btn-gold:hover {
    background: #d4b080;
    text-decoration: none;
}
.btn-outline {
    border: 2px solid #e0c097;
    color: #b58b4c;
    padding: 8px 23px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
}
.btn-outline:hover {
    background: #e0c097;
    color: #fff;
    text-decoration: none;
}
/* 4. Collections Grid */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.collection-card {
    background: #fff;
    padding: 30px;
    text-align: center;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #e0c097;
}
.icon-box {
    font-size: 2.5em;
    margin-bottom: 15px;
}
.collection-card h3 {
    font-family: sans-serif;
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #2c3e50;
    border: none;
}
/* 5. Stats & Footer */
.premium-footer-stats {
    display: flex;
    justify-content: space-around;
    padding: 40px 0;
    border-top: 1px solid #eee;
    background: #fafafa;
    border-radius: 8px;
    margin-bottom: 40px;
}
.stat-box {
    text-align: center;
}
.big-number {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    color: #1a1a2e;
}
.stat-label {
    text-transform: uppercase;
    font-size: 0.8em;
    color: #777;
    letter-spacing: 1px;
}
.join-banner {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 40px;
    border-radius: 8px;
}
.join-banner h3 {
    color: white;
    border: none;
    margin-bottom: 10px;
}
.btn-white {
    background: white;
    color: #2c3e50;
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
}
/* Responsive */
@media (max-width: 768px) {
    .featured-book-card {
        flex-direction: column;
    }
    .book-cover-placeholder {
        min-height: 200px;
    }
    .premium-footer-stats {
        flex-direction: column;
        gap: 20px;
    }
}
}

২১:৩৪, ১৭ ফেব্রুয়ারি ২০২৬ তারিখে সংশোধিত সংস্করণ

/* =========================
   Global Base
   ========================= */
body {
    background: linear-gradient(180deg, #f8faff 0%, #eef2ff 100%);
    color: #1e293b;
    font-family: "Segoe UI", "Noto Sans Bengali", "Helvetica Neue", sans-serif;
    line-height: 1.7;
    margin: 0;
}

/* =========================
   Main Content
   ========================= */
#content,
.mw-body {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    padding: 1.5em;
    margin: 1.5em auto;
    max-width: 1100px;
    box-shadow: 0 6px 20px rgba(30,58,138,0.08);
}

/* =========================
   Links
   ========================= */
a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    color: #1e40af;
    background: #e0e7ff;
    padding: 2px 6px;
    border-radius: 6px;
}

/* =========================
   HEADER LOGO — EXACT SIZE
   ========================= */
.mw-logo-wordmark,
.mw-wiki-title,
.mw-site-title {
    display: none !important;
}

.mw-header .mw-logo img {
    width: 128px !important;
    height: 40px !important;
    object-fit: contain;
}

/* =====================================================
   🔥 FIXED SEARCH ALIGNMENT (Vector 2022)
   ===================================================== */

/* ❌ Remove default floating icons that cause clutter */
.vector-search-toggle,
.vector-search-toggle-button {
    display: none !important;
}

/* ✅ Main container: Force row layout */
.vector-search-box,
.vector-search-box form {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    margin: 0 !important;
    max-width: 100%;
}

/* ✅ Input Field: Fix box-sizing and borders */
.vector-search-box input,
.vector-search-box .cdx-text-input__input,
.vector-search-box .cdx-search-input__input {
    box-sizing: border-box !important; /* Critical for matching button height */
    height: 36px !important;
    padding: 0 10px !important;
    border: 1px solid #a2a9b1 !important;
    border-right: none !important; /* Merge seamlessly with button */
    border-radius: 6px 0 0 6px !important;
    font-size: 14px !important;
}

/* ✅ Search Button: Fix box-sizing and alignment */
.vector-search-box button,
.vector-search-box .cdx-button {
    box-sizing: border-box !important;
    height: 36px !important;
    padding: 0 16px !important;
    background-color: #f8f9fa !important;
    border: 1px solid #a2a9b1 !important;
    border-radius: 0 6px 6px 0 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    font-size: 14px !important;
}

/* Hover effect for the search button */
.vector-search-box button:hover {
    background-color: #e0e7ff !important;
    border-color: #2563eb !important;
    color: #1e40af !important;
}

/* =========================
   Sidebar (unchanged)
   ========================= */
#mw-panel {
    background: #f0f5ff;
    border-right: 1px solid #dbeafe;
}

/* =========================
   Footer Base
   ========================= */
.mw-footer {
    background: #ffffff;
    border-top: 1px solid #a2a9b1;
    padding: 1em 1.5em;
    font-size: 0.875em;
}

/* Hide default Wikimedia logo if needed */
.mw-footer .mw-wikimedia-logo {
    display: none !important;
}

/* =========================
   🔥 FOOTER ICONS ALIGNMENT
   ========================= */

/* Align the "Powered By" logos side-by-side */
#footer-icons {
    display: flex !important;
    justify-content: flex-end; /* Aligns to the right. Change to 'center' if preferred */
    align-items: center !important;
    gap: 15px; /* Space between the two logos */
    list-style: none !important;
    margin: 10px 0 0 0 !important;
    padding: 0 !important;
}

/* Ensure individual list items don't force a line break */
#footer-icons li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important; /* Overrides default MediaWiki float behavior */
}

/* Force images to be consistent height */
#footer-icons img {
    height: 31px !important; /* Standard MediaWiki button height */
    width: auto !important;
    vertical-align: middle !important;
}

/*test*/

/* --- Premium Boipedia Theme --- */

/* Main Wrapper */
.premium-container {
    font-family: 'Georgia', 'Times New Roman', serif; /* Serif font for bookish feel */
    color: #333;
    max-width: 1100px;
    margin: 0 auto;
    background: #fdfdfd;
}

/* 1. Hero Section */
.premium-hero {
    background: linear-gradient(135deg, #1a1a2e, #16213e); /* Deep Royal Blue/Black */
    color: #fff;
    padding: 80px 40px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 3.5em;
    font-weight: bold;
    margin: 0;
    color: #e0c097; /* Gold Color */
    letter-spacing: 2px;
    border: none;
}

.hero-subtitle {
    font-size: 1.2em;
    opacity: 0.8;
    max-width: 600px;
    margin: 10px auto 30px auto;
    font-weight: 300;
}

.hero-search-box {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 50px;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.2);
}

.search-placeholder {
    display: block;
    background: #fff;
    color: #777;
    padding: 10px 20px;
    border-radius: 30px;
    text-align: left;
    font-family: sans-serif;
    cursor: pointer;
}

/* 2. Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2em;
    color: #2c3e50;
    border: none;
    margin-bottom: 10px;
}

.divider {
    height: 3px;
    width: 60px;
    background: #e0c097; /* Gold divider */
    margin: 0 auto;
}

/* 3. Featured Book Card */
.featured-grid {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.featured-book-card {
    display: flex;
    background: #fff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    border: 1px solid #eee;
}

.book-cover-placeholder {
    background: #2c3e50;
    color: #fff;
    flex: 1;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.book-details {
    flex: 2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tag {
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 1px;
    color: #e0c097;
    font-weight: bold;
    margin-bottom: 10px;
}

.book-details h3 {
    font-size: 2.2em;
    margin: 0 0 10px 0;
    color: #222;
    border: none;
}

.book-details .author {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}

.book-details .excerpt {
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

/* Buttons */
.btn-gold {
    background: #e0c097;
    color: #1a1a2e;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin-right: 10px;
    transition: 0.3s;
}

.btn-gold:hover {
    background: #d4b080;
    text-decoration: none;
}

.btn-outline {
    border: 2px solid #e0c097;
    color: #b58b4c;
    padding: 8px 23px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #e0c097;
    color: #fff;
    text-decoration: none;
}

/* 4. Collections Grid */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.collection-card {
    background: #fff;
    padding: 30px;
    text-align: center;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #e0c097;
}

.icon-box {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.collection-card h3 {
    font-family: sans-serif;
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #2c3e50;
    border: none;
}

/* 5. Stats & Footer */
.premium-footer-stats {
    display: flex;
    justify-content: space-around;
    padding: 40px 0;
    border-top: 1px solid #eee;
    background: #fafafa;
    border-radius: 8px;
    margin-bottom: 40px;
}

.stat-box {
    text-align: center;
}

.big-number {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    color: #1a1a2e;
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.8em;
    color: #777;
    letter-spacing: 1px;
}

.join-banner {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 40px;
    border-radius: 8px;
}

.join-banner h3 {
    color: white; 
    border: none; 
    margin-bottom: 10px;
}

.btn-white {
    background: white;
    color: #2c3e50;
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .featured-book-card {
        flex-direction: column;
    }
    .book-cover-placeholder {
        min-height: 200px;
    }
    .premium-footer-stats {
        flex-direction: column;
        gap: 20px;
    }
}