"മീഡിയവിക്കി:Common.css" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

അഭിപ്രായവേദി സംരംഭത്തിൽ നിന്ന്
(ചെ.)No edit summary
(ചെ.)No edit summary
 
(ഒരേ ചെയ്ത ഇടയ്ക്കുള്ള 107 നാൾപ്പതിപ്പുകൾ പ്രദർശിപ്പിക്കുന്നില്ല)
വരി 1: വരി 1:
/* Load Malayalam Google Fonts */
/* ==========================================================================
@import url('https://fonts.googleapis.com/css2?family=Manjari:wght@400;700&family=Meera:wght@400;700&display=swap');
  1. LOAD MALAYALAM GOOGLE FONTS
  ========================================================================== */
@import url('https://smc.org.in/fonts/manjari.css');


:lang(ml),
/* GLOBAL FONTS FORCE (Combined to eliminate duplications) */
:lang(ml) * {
:lang(ml), :lang(ml) *,
     font-family: 'Manjari', 'Meera', 'Rachana', 'Noto Sans Malayalam', sans-serif !important;
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;
}
}


/* Hide namespace subtitle for published articles */
.article-content,
.mw-displaytitle-subtitle {
.article-byline,
     display: none !important;
.author-profile-bio,
.author-card,
.author-card-name,
.author-card-bio,
.article-title,
.related-heading,
.author-heading,
.article-meta-row,
.article-author {
     font-family: 'Manjari',
                'Meera',
                'Rachana',
                'Noto Sans Malayalam',
                sans-serif !important;
}
}


/* Global minor tweaks only */
.page-Main_Page #firstHeading {
body {
    display: none;
   line-height: 1.7;
}
body.ns-14 #firstHeading {
   display: none !important;
}
}


/* Main Article Title (Skin H1) */
/* ==========================================================================
#firstHeading,
  PUBLISHING WORKSPACE — HIDE MEDIAWIKI PAGE TITLES
.mw-first-heading {
  ========================================================================== */
     font-size: 2.4em !important;
body.page-CreateArticle #firstHeading,
    font-weight: bold !important;
body.page-Editorial_Dashboard #firstHeading {
    margin-bottom: 0.4em !important;
     display: none !important;
    color: #222;
    border-bottom: solid 4px #36c;
}
}
/* ================ FORCE MALAYALAM FONTS - HIGHEST PRIORITY ================ */


body:lang(ml),
body.mw-special-FormEdit #firstHeading {
.mw-body:lang(ml),
     display: none !important;
.mw-body-content:lang(ml),
#content:lang(ml),
.mw-parser-output:lang(ml),
.article-content:lang(ml),
.intro-box:lang(ml),
p:lang(ml),
span:lang(ml),
div:lang(ml) {
     font-family: 'Manjari', 'Meera', 'Rachana', 'Noto Sans Malayalam', 'Nirmala UI', sans-serif !important;
    line-height: 1.85 !important;
}
}


/* Extra force for article body */
/* GLOBAL MINOR TWEAKS */
body {
    line-height: 1.7;
}
.article-content * {
.article-content * {
     font-family: 'Manjari', 'Meera', 'Rachana', 'Noto Sans Malayalam', sans-serif !important;
     line-height: 1.85 !important;
}
}
 
#mw-header-hack {
/* Malayalam Headings */
  border-bottom-width: 1px;
h1:lang(ml), h2:lang(ml), h3:lang(ml), h4:lang(ml) {
    font-family: 'Manjari', 'Meera', 'Rachana', 'Noto Sans Malayalam', sans-serif !important;
}
}


/* Force Malayalam Font on Main Article Title */
/* ==========================================================================
  2. HEADINGS & TITLES
  ========================================================================== */
#firstHeading,
#firstHeading,
.mw-first-heading,
.mw-first-heading,
.firstHeading {
.firstHeading {
     font-family: 'Manjari', 'Meera', 'Rachana', 'Noto Sans Malayalam', sans-serif !important;
 
     font-weight: bold !important;
     font-family:'Manjari',
          'Noto Sans Malayalam',
            sans-serif !important;
    font-size:2.2em !important;
     font-weight:700 !important;
    margin:0 !important;
    padding:20px 28px 8px 28px !important;
    background:#f4f7fb;
    border-left:6px solid #36c;
    border-bottom:none !important;
    border-radius:12px 12px 0 0;
    color:#222;
}
 
:lang(en) #firstHeading, :lang(en) .mw-first-heading {
    font-size: 2.45em !important;
}
 
@media (max-width: 768px) {
 
    #firstHeading,
    .mw-first-heading,
    .firstHeading {
 
        font-size: 1.75em !important;
        padding: 16px 20px 8px 20px !important;
    }
 
    :lang(en) #firstHeading,
    :lang(en) .mw-first-heading {
 
        font-size: 1.95em !important;
    }
}
}


/* Also for Malayalam in general headings */
/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
:lang(ml) h1,
.mw-displaytitle-subtitle {
:lang(ml) h2,
     display: none !important;
:lang(ml) h3 {
     font-family: 'Manjari', 'Meera', 'Rachana', 'Noto Sans Malayalam', sans-serif !important;
}
}


/* Hide top tabs (Submissions, Discussion, Edit, etc.) for anonymous users */
/* ==========================================================================
.anon .mw-indicators,
  3. LAYOUT & SIDEBARS (FULL WIDTH)
.anon #mw-content-subtitle,
  ========================================================================== */
.anon .vector-page-toolbar,
#mw-site-navigation, #mw-related-navigation {
.anon .mw-editsection,
.anon #ca-edit,
.anon #ca-edit-source,
.anon #ca-history,
.anon #ca-view {
     display: none !important;
     display: none !important;
}
#mw-content-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    max-width: 100% !important;
}
#content {
    max-width: 100% !important;
}
}


/* Force Malayalam on Main Title */
/* ==========================================================================
#firstHeading,
  4. LOGO INTEGRATION FOR DISPLAY NAME PLACE
.mw-first-heading,
  ==========================================================================*/
.firstHeading {
.mw-wiki-title {
     font-family: 'Manjari', 'Meera', 'Rachana', 'Noto Sans Malayalam', sans-serif !important;
     font-family: 'Manjari', sans-serif !important;
     font-size: 2.35em !important;
     font-weight: bold;
     font-weight: 700 !important;
     font-size: 22px;
    color: #002B49 !important; /* Deep Navy */
}
}
@media (max-width: 768px) {


/* English Title Size */
    #mw-content-container {
:lang(en) #firstHeading,
        padding-left: 8px !important;
:lang(en) .mw-first-heading {
        padding-right: 8px !important;
    font-size: 2.45em !important;
    }
}
}
/* ==========================================================
  5. Editorial Access
  ========================================================== */


/* ================ TIMELESS SKIN SIDEBAR HIDING FOR ANONYMOUS ================ */
/* Initially hide both panels.
  JavaScript will reveal the correct one. */
#editorial-login,
#editorial-workspace {
    display: none;
}


/* 1. ലോഗിൻ ചെയ്യാത്തവർക്ക് (Anonymous) ഇടത്-വലത് വശങ്ങളിലെ പ്രധാന സൈഡ്ബാറുകൾ പൂർണ്ണമായി മറയ്ക്കുന്നു */
.editorial-section {
body.user-anonymous #mw-site-navigation,
     max-width: 700px;
body.user-anonymous #mw-related-navigation,
     margin: 2rem auto;
body.user-anonymous .article-sidebar {
    display: none !important;
    width: 0 !important;
     max-width: 0 !important;
    overflow: hidden !important;
     visibility: hidden !important;
}
}


/*
.editorial-actions {
* 2. CENTRAL CONTENT AREA EXPANSION
     margin-top: 2rem;
* സൈഡ്ബാറുകൾ മാറുമ്പോൾ മധ്യഭാഗത്തെ മെയിൻ കണ്ടെന്റ് ഏരിയ (#mw-content-wrapper)
* പേജിന്റെ മുഴുവൻ വീതിയിലേക്കും (100%) വ്യാപിച്ചു നിൽക്കാൻ താഴെ പറയുന്നവ സഹായിക്കും.
*/
body.user-anonymous #mw-content-wrapper {
     margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}
}


body.user-anonymous #mw-content-container {
.editorial-button {
    padding-left: 0 !important;
     margin-bottom: 1rem;
    padding-right: 0 !important;
     margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}
}


/*
.editorial-button a {
* 3. MAIN BODY & TEXT ALIGNMENT
    display: block;
* വായന സുഖകരമാക്കാൻ അക്ഷരങ്ങൾ ഇരുവശങ്ങളിലും ഒട്ടിപ്പോകാതെ
    padding: 12px 18px;
* മധ്യഭാഗത്തായി മനോഹരമായ ഒരു ലേഔട്ടിലേക്ക് മാറ്റുന്നു.
    border: 1px solid #c8ccd1;
*/
     border-radius: 6px;
body.user-anonymous #content,
     text-align: center;
body.user-anonymous .mw-body {
     text-decoration: none;
     margin-left: auto !important;
     font-weight: 600;
     margin-right: auto !important;
     background: #f8f9fa;
     padding: 2em !important;
     transition: background 0.2s ease;
     width: 90% !important; /* ഇരുവശങ്ങളിലും ചെറിയൊരു സ്പേസ് നൽകിയത് */
     max-width: 1200px !important; /* വായന എളുപ്പമാക്കാൻ മാക്സിമം വീതി നിശ്ചയിച്ചു */
     float: none !important;
}
}


/* 4. നമ്മൾ കസ്റ്റം ആയി നിർമ്മിച്ച ആർട്ടിക്കിൾ പേജിലെ ഉള്ളടക്കം മുഴുവൻ വീതിയിലാക്കുന്നു */
.editorial-button a:hover {
body.user-anonymous .article-content,
     background: #eaecf0;
body.user-anonymous .article-main-wrapper {
     width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}
}

11:58, 22 ജൂലൈ 2026-നു നിലവിലുള്ള രൂപം

/* ==========================================================================
   1. LOAD MALAYALAM GOOGLE FONTS
   ========================================================================== */
@import url('https://smc.org.in/fonts/manjari.css');

/* 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;
}

.article-content,
.article-byline,
.author-profile-bio,
.author-card,
.author-card-name,
.author-card-bio,
.article-title,
.related-heading,
.author-heading,
.article-meta-row,
.article-author {
    font-family: 'Manjari',
                 'Meera',
                 'Rachana',
                 'Noto Sans Malayalam',
                 sans-serif !important;
}

.page-Main_Page #firstHeading {
    display: none;
}
body.ns-14 #firstHeading {
  display: none !important;
}

/* ==========================================================================
   PUBLISHING WORKSPACE — HIDE MEDIAWIKI PAGE TITLES
   ========================================================================== */
body.page-CreateArticle #firstHeading,
body.page-Editorial_Dashboard #firstHeading {
    display: none !important;
}

body.mw-special-FormEdit #firstHeading {
    display: none !important;
}

/* GLOBAL MINOR TWEAKS */
body {
    line-height: 1.7;
}
.article-content * {
    line-height: 1.85 !important;
}
#mw-header-hack {
  border-bottom-width: 1px;
}

/* ==========================================================================
   2. HEADINGS & TITLES
   ========================================================================== */
#firstHeading,
.mw-first-heading,
.firstHeading {

    font-family:'Manjari',
           'Noto Sans Malayalam',
            sans-serif !important;
    font-size:2.2em !important;
    font-weight:700 !important;
    margin:0 !important;
    padding:20px 28px 8px 28px !important;
    background:#f4f7fb;
    border-left:6px solid #36c;
    border-bottom:none !important;
    border-radius:12px 12px 0 0;
    color:#222;
}

:lang(en) #firstHeading, :lang(en) .mw-first-heading {
    font-size: 2.45em !important;
}

@media (max-width: 768px) {

    #firstHeading,
    .mw-first-heading,
    .firstHeading {

        font-size: 1.75em !important;
        padding: 16px 20px 8px 20px !important;
    }

    :lang(en) #firstHeading,
    :lang(en) .mw-first-heading {

        font-size: 1.95em !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: 1rem !important;
    padding-right: 1rem !important;
    max-width: 100% !important;
}
#content {
    max-width: 100% !important;
}

/* ==========================================================================
   4. 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 */
}
@media (max-width: 768px) {

    #mw-content-container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}
 /* ==========================================================
   5. Editorial Access
   ========================================================== */

/* Initially hide both panels.
   JavaScript will reveal the correct one. */
#editorial-login,
#editorial-workspace {
    display: none;
}

.editorial-section {
    max-width: 700px;
    margin: 2rem auto;
}

.editorial-actions {
    margin-top: 2rem;
}

.editorial-button {
    margin-bottom: 1rem;
}

.editorial-button a {
    display: block;
    padding: 12px 18px;
    border: 1px solid #c8ccd1;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    background: #f8f9fa;
    transition: background 0.2s ease;
}

.editorial-button a:hover {
    background: #eaecf0;
}
"https://abhiprayavedi.org/index.php?title=മീഡിയവിക്കി:Common.css&oldid=3294" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്