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

അഭിപ്രായവേദി സംരംഭത്തിൽ നിന്ന്
No edit summary
(ചെ.)No edit summary
 
(ഒരേ ചെയ്ത ഇടയ്ക്കുള്ള 179 നാൾപ്പതിപ്പുകൾ പ്രദർശിപ്പിക്കുന്നില്ല)
വരി 1: വരി 1:
/* ================================================================
/* ==========================================================================
   LANGUAGE-AWARE TYPOGRAPHY & COLOR VARIABLES
   1. LOAD MALAYALAM GOOGLE FONTS
   ================================================================ */
   ========================================================================== */
.mw-body[lang="en"],
@import url('https://smc.org.in/fonts/manjari.css');
.article-container[lang="en"],
 
.right-sidebar[lang="en"],
/* GLOBAL FONTS FORCE (Combined to eliminate duplications) */
#mw-content-text[lang="en"],
:lang(ml), :lang(ml) *,
#mw-navigation[lang="en"],
body:lang(ml), .mw-body:lang(ml), .mw-body-content:lang(ml), #content:lang(ml),
.form-container[lang="en"] {
.mw-parser-output:lang(ml), .article-content:lang(ml), .article-content *,
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
.intro-box:lang(ml), p:lang(ml), span:lang(ml), div:lang(ml),
  line-height: 1.6;
h1:lang(ml), h2:lang(ml), h3:lang(ml), h4:lang(ml),
  --color-primary: #212529;
#firstHeading, .mw-first-heading, .firstHeading {
  --color-secondary: #667eea;
    font-family: 'Manjari', 'Meera', 'Rachana', 'Noto Sans Malayalam', 'Nirmala UI', sans-serif !important;
  --color-accent: #17a2b8;
  --color-neutral: #f8f9fa;
}
}


.mw-body[lang="ml"],
.article-content,
.article-container[lang="ml"],
.article-byline,
.right-sidebar[lang="ml"],
.author-profile-bio,
#mw-content-text[lang="ml"],
.author-card,
#mw-navigation[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 LAYOUT
/* GLOBAL MINOR TWEAKS */
  ================================================================ */
body {
.article-container {
    line-height: 1.7;
  display: flex;
}
  flex-direction: column;
.article-content * {
  gap: 20px;
    line-height: 1.85 !important;
}
}


/* Header: single line, styled */
/* ==========================================================================
.article-header {
  2. HEADINGS & TITLES
  background: var(--color-neutral);
  ========================================================================== */
  border-bottom: 2px solid var(--color-primary);
#firstHeading, .mw-first-heading, .firstHeading {
  padding: 8px 16px;
    font-size: 2.35em !important;
  border-radius: 6px;
    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;
}
}


.article-header .author-info {
/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
  display: flex;
.mw-displaytitle-subtitle {
  align-items: center;
    display: none !important;
  gap: 12px; /* keeps author, date, category inline */
}
}


.author-name {
/* ==========================================================================
  font-size: 1.2rem;
  3. LAYOUT & SIDEBARS (FULL WIDTH)
  font-weight: 700;
  ========================================================================== */
  color: var(--color-primary);
#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;
}
}


.date-info {
/* ==========================================================================
  font-size: 1rem;
  4. FIXED: HIDE PAGE TABS FOR ANONYMOUS USERS ONLY
  color: #6c757d;
  ========================================================================== */
.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) {


.category-badge {
    #mw-content-container {
  font-size: 0.9rem;
        padding-left: 8px !important;
  font-weight: 600;
        padding-right: 8px !important;
  background: var(--color-secondary);
    }
  color: #fff;
  padding: 4px 10px;
#p-logo-text {
  border-radius: 20px;
        min-width: auto !important;
}
        width: 240px !important;
        max-width: 240px !important;
    }


/* Intro section */
.introduction-section {
  background: var(--color-neutral);
  border-left: 4px solid var(--color-secondary);
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1.5;
}
}


/* Content wrapper: two-column layout */
@media (max-width: 768px) {
.content-wrapper {
  display: flex;
  gap: 20px;
}


/* Main content */
    #p-banner {
.main-content {
        width: 240px !important;
  flex: 3;
        height: 38px !important;
}
    }


.article-text {
    #simpleSearch {
  font-size: 1rem;
        margin-left: 30px !important;
  line-height: 1.6;
    }
  margin-bottom: 20px;
}
}
@media screen and (max-width: 850px) {


/* Sidebar fixed to the right */
    #p-logo-text {
.right-sidebar {
        position: static !important;
  flex: 1;
        left: auto !important;
  background: var(--color-neutral);
        top: auto !important;
  padding: 12px;
    }
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}


/* Responsive: stack sidebar below on small screens */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
  }
  .right-sidebar {
    order: 2;
  }
}
}

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" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്