MediaWiki:Common.css: Difference between revisions

From അഭിപ്രായവേദി
mNo edit summary
mNo edit summary
Line 94: Line 94:


/* 2. ലോഗോ ബാനർ എലമെന്റ് സ്റ്റൈൽ ചെയ്യാൻ */
/* 2. ലോഗോ ബാനർ എലമെന്റ് സ്റ്റൈൽ ചെയ്യാൻ */
#p-logo-text, .ts-inner {
    width: auto !important;
    min-width: 300px !important;
    height: 70px !important;
    display: block !important;
}
/* ബാനർ എലമെന്റ് നിർബന്ധിതമായി വലുതാക്കുന്നു */
a#p-banner {
a#p-banner {
     display: block !important;
     display: block !important;
     background-image: url(https://abhiprayavedi.org/images/1/17/AV-Logo.png) !important; /* നിങ്ങളുടെ ലോഗോ യു.ആർ.എൽ */
     background-image: url('https://abhiprayavedi.org') !important;
     background-size: contain !important;
     background-size: 100% 100% !important; /* ഇമേജ് ബോക്സ് മുഴുവനായി നിറയാൻ */
     background-repeat: no-repeat !important;
     background-repeat: no-repeat !important;
     background-position: left center !important;
     background-position: left center !important;
     width: 100% !important;
     width: 260px !important; /* ഡിസ്‌പ്ലേ നെയിമിന്റെ അതേ വീതി */
    max-width: 300px !important; /* ലോഗോയുടെ വലിപ്പം ഇവിടെ നിയന്ത്രിക്കാം */
     height: 50px !important; /* ഡിസ്‌പ്ലേ നെയിമിന്റെ അതേ ഉയരം */
     height: 60px !important;
     text-indent: -9999px !important;
     text-indent: -9999px !important; /* പഴയ ടെക്സ്റ്റ് മറയ്ക്കാൻ */
     overflow: hidden !important;
     overflow: hidden !important;
     margin-top: 5px !important;
     float: left !important;
}
}

Revision as of 12:47, 16 June 2026

/* ==========================================================================
   1. LOAD MALAYALAM GOOGLE FONTS
   ========================================================================== */
@import url('https://googleapis.com');

/* GLOBAL FONTS FORCE (Combined to eliminate duplications) */
:lang(ml), :lang(ml) *,
body:lang(ml), .mw-body:lang(ml), .mw-body-content:lang(ml), #content:lang(ml),
.mw-parser-output:lang(ml), .article-content:lang(ml), .article-content *,
.intro-box:lang(ml), p:lang(ml), span:lang(ml), div:lang(ml),
h1:lang(ml), h2:lang(ml), h3:lang(ml), h4:lang(ml),
#firstHeading, .mw-first-heading, .firstHeading {
    font-family: 'Manjari', 'Meera', 'Rachana', 'Noto Sans Malayalam', 'Nirmala UI', sans-serif !important;
}

/* ഫയൽ എറർ ഒഴിവാക്കാൻ ഗൂഗിൾ വെബ് ഫോണ്ടുകൾ ഫോഴ്സ് ചെയ്യുക */
@font-face {
    font-family: 'Meera';
    src: url('https://gstatic.com') format('woff2'); /* സെർവർ എറർ മറികടക്കാൻ */
}

/* GLOBAL MINOR TWEAKS */
body {
    line-height: 1.7;
}
.article-content * {
    line-height: 1.85 !important;
}

/* ==========================================================================
   2. HEADINGS & TITLES
   ========================================================================== */
#firstHeading, .mw-first-heading, .firstHeading {
    font-size: 2.35em !important;
    font-weight: 700 !important;
    margin-bottom: 0.4em !important;
    color: #222;
    border-bottom: solid 4px #36c;
}
:lang(en) #firstHeading, :lang(en) .mw-first-heading {
    font-size: 2.45em !important;
}

/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
.mw-displaytitle-subtitle {
    display: none !important;
}

/* ==========================================================================
   3. LAYOUT & SIDEBARS (FULL WIDTH)
   ========================================================================== */
#mw-site-navigation, #mw-related-navigation {
    display: none !important;
}
#mw-content-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    max-width: 100% !important;
}
#content {
    max-width: 100% !important;
}

/* ==========================================================================
   4. FIXED: HIDE PAGE TABS FOR ANONYMOUS USERS (Dynamic Fix)
   ========================================================================== */
/* ==========================================================================
   4. FIXED: HIDE PAGE TABS FOR ANONYMOUS USERS ONLY
   ========================================================================== */
.anon-visitor #mw-page-header-links,
.anon-visitor #siteSub {
    display: none !important;
}

/* ==========================================================================
   5. LOGO INTEGRATION FOR DISPLAY NAME PLACE
   ========================================================================== */
.mw-wiki-title {
    font-family: 'Manjari', sans-serif !important;
    font-weight: bold;
    font-size: 22px;
    color: #002B49 !important; /* Deep Navy */
}

/* 1. ലോഗോ ഇരിക്കുന്ന പേരന്റ് കണ്ടെയ്നറിന്റെ വലിപ്പം കൂട്ടാൻ */
div#p-logo-text {
    width: 320px !important; /* വീതി 212-ൽ നിന്ന് 320px ആയി വർദ്ധിപ്പിച്ചു */
    height: 70px !important;
    padding: 0 !important;
    display: block !important;
}

/* 2. ലോഗോ ബാനർ എലമെന്റ് സ്റ്റൈൽ ചെയ്യാൻ */
#p-logo-text, .ts-inner {
    width: auto !important;
    min-width: 300px !important;
    height: 70px !important;
    display: block !important;
}

/* ബാനർ എലമെന്റ് നിർബന്ധിതമായി വലുതാക്കുന്നു */
a#p-banner {
    display: block !important;
    background-image: url('https://abhiprayavedi.org') !important;
    background-size: 100% 100% !important; /* ഇമേജ് ബോക്സ് മുഴുവനായി നിറയാൻ */
    background-repeat: no-repeat !important;
    background-position: left center !important;
    width: 260px !important; /* ഡിസ്‌പ്ലേ നെയിമിന്റെ അതേ വീതി */
    height: 50px !important;  /* ഡിസ്‌പ്ലേ നെയിമിന്റെ അതേ ഉയരം */
    text-indent: -9999px !important;
    overflow: hidden !important;
    float: left !important;
}