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

അഭിപ്രായവേദി സംരംഭത്തിൽ നിന്ന്
No edit summary
(ചെ.)No edit summary
 
(ഒരേ ചെയ്ത ഇടയ്ക്കുള്ള 177 നാൾപ്പതിപ്പുകൾ പ്രദർശിപ്പിക്കുന്നില്ല)
വരി 1: വരി 1:
/* ================================================================
/* ==========================================================================
   LANGUAGE-AWARE TYPOGRAPHY & COLOR VARIABLES
   1. LOAD MALAYALAM GOOGLE FONTS
   ================================================================ */
   ========================================================================== */
@import url('https://smc.org.in/fonts/manjari.css');


/* English articles */
/* GLOBAL FONTS FORCE (Combined to eliminate duplications) */
.mw-body[lang="en"],
:lang(ml), :lang(ml) *,
.article-container[lang="en"],
body:lang(ml), .mw-body:lang(ml), .mw-body-content:lang(ml), #content:lang(ml),
.right-sidebar[lang="en"],
.mw-parser-output:lang(ml), .article-content:lang(ml), .article-content *,
#mw-content-text[lang="en"],
.intro-box:lang(ml), p:lang(ml), span:lang(ml), div:lang(ml),
.form-container[lang="en"] {
h1:lang(ml), h2:lang(ml), h3:lang(ml), h4:lang(ml),
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
#firstHeading, .mw-first-heading, .firstHeading {
  line-height: 1.6;
    font-family: 'Manjari', 'Meera', 'Rachana', 'Noto Sans Malayalam', 'Nirmala UI', sans-serif !important;
  --color-primary: #212529;
  --color-secondary: #667eea;
  --color-accent: #17a2b8;
  --color-neutral: #f8f9fa;
}
}


/* Malayalam articles */
.article-content,
.mw-body[lang="ml"],
.article-byline,
.article-container[lang="ml"],
.author-profile-bio,
.right-sidebar[lang="ml"],
.author-card,
#mw-content-text[lang="ml"],
.author-card-name,
.form-container[lang="ml"] {
.author-card-bio,
  font-family: 'Manjari','Meera','Rachana','AnjaliOldLipi','Noto Sans Malayalam',sans-serif;
.article-title,
  line-height: 1.75;
.related-heading,
  --color-primary: #4a2f87;
.author-heading,
  --color-secondary: #f59e0b;
.article-meta-row,
  --color-accent: #78350f;
.article-author {
  --color-neutral: #f8f9fa;
    font-family: 'Manjari',
                'Meera',
                'Rachana',
                'Noto Sans Malayalam',
                sans-serif !important;
}
}


/* ================================================================
  ARTICLE HEADER
  ================================================================ */
.article-container .author-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.4;
  margin: 0;
}


.article-container .date-info {
/* GLOBAL MINOR TWEAKS */
  font-size: 1rem;
body {
  color: #6c757d;
    line-height: 1.7;
  text-align: center;
  line-height: 1.4;
  margin: 0;
}
}
 
.article-content * {
.article-container .category-badge {
    line-height: 1.85 !important;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--color-secondary);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  line-height: 1.4;
  margin: 0;
}
}


/* ================================================================
/* ==========================================================================
   INTRODUCTION SECTION
   2. HEADINGS & TITLES
   ================================================================ */
   ========================================================================== */
.introduction-section {
#firstHeading, .mw-first-heading, .firstHeading {
  background: var(--color-neutral);
    font-size: 2.35em !important;
  border-left: 4px solid var(--color-secondary);
    font-weight: 700 !important;
  padding: 12px 16px;
    margin-bottom: 0.4em !important;
  border-radius: 4px;
    color: #222;
  font-size: 1rem;
    border-bottom: solid 4px #36c;
  line-height: 1.5;
}
}
 
:lang(en) #firstHeading, :lang(en) .mw-first-heading {
.introduction-section p {
    font-size: 2.45em !important;
  margin: 0;
  text-indent: 0;
}
}


/* ================================================================
/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
  ARTICLE TEXT
.mw-displaytitle-subtitle {
  ================================================================ */
    display: none !important;
.article-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
}


.article-text p {
/* ==========================================================================
  margin: 0;
  3. LAYOUT & SIDEBARS (FULL WIDTH)
  text-indent: 0;
  ========================================================================== */
#mw-site-navigation, #mw-related-navigation {
    display: none !important;
}
}
 
#mw-content-container {
.article-text p:first-of-type {
    margin-left: 0 !important;
  margin-top: 0;
    margin-right: 0 !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    max-width: 100% !important;
}
}
 
#content {
/* ================================================================
    max-width: 100% !important;
  FIRST HEADING
  ================================================================ */
.mw-body h1.firstHeading {
  font-weight: 700;
  line-height: 1.3;
  margin: 0.4em 0;
  color: var(--color-primary);
}
}


/* ================================================================
/* ==========================================================================
   SIDEBAR
   4. FIXED: HIDE PAGE TABS FOR ANONYMOUS USERS ONLY
   ================================================================ */
   ========================================================================== */
.right-sidebar {
.anon-visitor #mw-page-header-links,
  background: var(--color-neutral);
.anon-visitor #siteSub {
  padding: 12px;
    display: none !important;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
}
 
.anon-visitor #mw-site-navigation,
.right-sidebar .mw-category,
.anon-visitor #mw-related-navigation {
.right-sidebar .mw-list-item {
    display: none !important;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-primary);
}
}
 
/* ==========================================================================
/* ================================================================
   5. LOGO INTEGRATION FOR DISPLAY NAME PLACE
   FORM USABILITY
   ========================================================================== */
   ================================================================ */
.mw-wiki-title {
.form-container {
    font-family: 'Manjari', sans-serif !important;
  max-width: 900px;
    font-weight: bold;
  margin: 0 auto;
    font-size: 22px;
  padding: 20px;
    color: #002B49 !important; /* Deep Navy */
}
}
@media (max-width: 768px) {


.form-header {
    #mw-content-container {
  background: var(--color-primary);
        padding-left: 8px !important;
  color: #fff;
        padding-right: 8px !important;
  padding: 25px;
    }
  border-radius: 8px;
  margin-bottom: 25px;
#p-logo-text {
  text-align: center;
        min-width: auto !important;
}
        width: 240px !important;
        max-width: 240px !important;
    }


.form-section {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
}
}


.form-required {
@media (max-width: 768px) {
  border-left: 5px solid #dc3545;
}


.form-optional {
    #p-banner {
  border-left: 5px solid #28a745;
        width: 240px !important;
}
        height: 38px !important;
    }


.form-table {
    #simpleSearch {
  width: 100%;
        margin-left: 30px !important;
  border-collapse: separate;
    }
  border-spacing: 0 12px;
}
}
@media screen and (max-width: 850px) {


.form-label {
    #p-logo-text {
  width: 180px;
        position: static !important;
  text-align: right;
        left: auto !important;
  padding: 10px 15px 10px 0;
        top: auto !important;
  vertical-align: top;
    }
}
 
.form-field {
  padding: 10px 0;
}
 
.form-hint {
  color: #666;
  font-size: 0.85rem;
  margin-top: 4px;
  display: block;
}
 
/* Tightened rhythm for inputs */
.mw-htmlform-field label,
.mw-htmlform-field input,
.mw-htmlform-field textarea,
.mw-htmlform-field select {
  line-height: 1.3;
  font-size: 1rem;
}
 
.form-controls {
  text-align: center;
  padding: 25px;
  background: var(--color-neutral);
  border-radius: 8px;
}


.form-controls p {
  margin-bottom: 15px;
  color: #666;
}
}

11:55, 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;
}


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

/* ==========================================================================
   4. FIXED: HIDE PAGE TABS FOR ANONYMOUS USERS ONLY
   ========================================================================== */
.anon-visitor #mw-page-header-links,
.anon-visitor #siteSub {
    display: none !important;
}
.anon-visitor #mw-site-navigation,
.anon-visitor #mw-related-navigation {
    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 */
}
@media (max-width: 768px) {

    #mw-content-container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
 
#p-logo-text {
        min-width: auto !important;
        width: 240px !important;
        max-width: 240px !important;
    }

}

@media (max-width: 768px) {

    #p-banner {
        width: 240px !important;
        height: 38px !important;
    }

    #simpleSearch {
        margin-left: 30px !important;
    }
}
@media screen and (max-width: 850px) {

    #p-logo-text {
        position: static !important;
        left: auto !important;
        top: auto !important;
    }

}
"https://abhiprayavedi.org/index.php?title=മീഡിയവിക്കി:Common.css&oldid=2243" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്