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

അഭിപ്രായവേദി സംരംഭത്തിൽ നിന്ന്
No edit summary
(ചെ.)No edit summary
 
(ഒരേ ചെയ്ത ഇടയ്ക്കുള്ള 180 നാൾപ്പതിപ്പുകൾ പ്രദർശിപ്പിക്കുന്നില്ല)
വരി 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),
#mw-navigation[lang="en"],
h1:lang(ml), h2:lang(ml), h3:lang(ml), h4:lang(ml),
.form-container[lang="en"] {
#firstHeading, .mw-first-heading, .firstHeading {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-family: 'Manjari', 'Meera', 'Rachana', 'Noto Sans Malayalam', 'Nirmala UI', sans-serif !important;
  line-height: 1.6;
  --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,
#mw-navigation[lang="ml"],
.author-card-bio,
.form-container[lang="ml"] {
.article-title,
  font-family: 'Manjari','Meera','Rachana','AnjaliOldLipi','Noto Sans Malayalam',sans-serif;
.related-heading,
  line-height: 1.75;
.author-heading,
  --color-primary: #4a2f87;
.article-meta-row,
  --color-secondary: #f59e0b;
.article-author {
  --color-accent: #78350f;
    font-family: 'Manjari',
  --color-neutral: #f8f9fa;
                'Meera',
                'Rachana',
                'Noto Sans Malayalam',
                sans-serif !important;
}
}


/* ================================================================
  ARTICLE HEADER
  ================================================================ */
.article-container .article-header {
  background: var(--color-neutral);
  border-bottom: 2px solid var(--color-primary);
  padding: 6px 16px;
  margin: 0 0 10px 0;
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}


.article-container .author-name {
/* GLOBAL MINOR TWEAKS */
  font-size: 1.3rem;
body {
  font-weight: 700;
    line-height: 1.7;
  color: var(--color-primary);
  line-height: 1.4;
  margin: 0;
}
}
 
.article-content * {
.article-container .date-info {
    line-height: 1.85 !important;
  font-size: 1rem;
  color: #6c757d;
  text-align: center;
  line-height: 1.4;
  margin: 0;
  flex: 1 1 auto;
}
}


.article-container .category-badge {
/* ==========================================================================
  font-size: 0.9rem;
  2. HEADINGS & TITLES
  font-weight: 600;
  ========================================================================== */
  background: var(--color-secondary);
#firstHeading, .mw-first-heading, .firstHeading {
  color: #fff;
    font-size: 2.35em !important;
  padding: 5px 12px;
    font-weight: 700 !important;
  border-radius: 20px;
    margin-bottom: 0.4em !important;
  line-height: 1.4;
    color: #222;
  margin: 0;
    border-bottom: solid 4px #36c;
}
}
 
:lang(en) #firstHeading, :lang(en) .mw-first-heading {
@media (max-width: 768px) {
     font-size: 2.45em !important;
  .article-container .article-header {
     flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .article-container .date-info { text-align: left; }
  .article-container .category-badge { align-self: flex-start; }
}
}


/* ================================================================
/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
  FIRST HEADING (Article Title)
.mw-displaytitle-subtitle {
  ================================================================ */
    display: none !important;
.mw-body h1.firstHeading {
  font-weight: 700;
  line-height: 1.3;
  margin: 0.4em 0;
  color: var(--color-primary);
}
}


/* ================================================================
/* ==========================================================================
   SIDEBAR & CATEGORY LISTINGS
   3. LAYOUT & SIDEBARS (FULL WIDTH)
   ================================================================ */
   ========================================================================== */
.right-sidebar,
#mw-site-navigation, #mw-related-navigation {
.right-sidebar .mw-category,
    display: none !important;
.right-sidebar .mw-list-item {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-primary);
}
}
 
#mw-content-container {
/* ================================================================
    margin-left: 0 !important;
  NAVIGATION TABS
    margin-right: 0 !important;
  ================================================================ */
    padding-left: 1rem !important;
#mw-navigation .tab {
    padding-right: 1rem !important;
  font-size: 0.95rem;
    max-width: 100% !important;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  background: var(--color-neutral);
  color: var(--color-primary);
}
}
 
#content {
#mw-navigation .tab.active {
    max-width: 100% !important;
  background: var(--color-secondary);
  color: #fff;
}
}


#mw-navigation .tab:hover {
/* ==========================================================================
  background: var(--color-accent);
  4. FIXED: HIDE PAGE TABS FOR ANONYMOUS USERS ONLY
  color: #fff;
  ========================================================================== */
.anon-visitor #mw-page-header-links,
.anon-visitor #siteSub {
    display: none !important;
}
}
 
.anon-visitor #mw-site-navigation,
/* ================================================================
.anon-visitor #mw-related-navigation {
  FORM USABILITY (Form:Article, Submit:Article)
    display: none !important;
  ================================================================ */
.form-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}
}
 
/* ==========================================================================
.form-header {
  5. LOGO INTEGRATION FOR DISPLAY NAME PLACE
  background: var(--color-primary);
  ========================================================================== */
  color: #fff;
.mw-wiki-title {
  padding: 25px;
    font-family: 'Manjari', sans-serif !important;
  border-radius: 8px;
    font-weight: bold;
  margin-bottom: 25px;
    font-size: 22px;
  text-align: center;
    color: #002B49 !important; /* Deep Navy */
}
 
.form-section {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
}
}
@media (max-width: 768px) {


.form-required {
    #mw-content-container {
  border-left: 5px solid #dc3545; /* red for required */
        padding-left: 8px !important;
}
        padding-right: 8px !important;
    }
#p-logo-text {
        min-width: auto !important;
        width: 240px !important;
        max-width: 240px !important;
    }


.form-optional {
  border-left: 5px solid #28a745; /* green for optional */
}
}


.form-table {
@media (max-width: 768px) {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
}
 
.form-label {
  width: 180px;
  text-align: right;
  padding: 10px 15px 10px 0;
  vertical-align: top;
}


.form-field {
    #p-banner {
  padding: 10px 0;
        width: 240px !important;
}
        height: 38px !important;
    }


.form-hint {
    #simpleSearch {
  color: #666;
        margin-left: 30px !important;
  font-size: 0.85rem;
    }
  margin-top: 4px;
  display: block;
}
}
@media screen and (max-width: 850px) {


/* Tightened rhythm for inputs */
    #p-logo-text {
.mw-htmlform-field label,
        position: static !important;
.mw-htmlform-field input,
        left: auto !important;
.mw-htmlform-field textarea,
        top: auto !important;
.mw-htmlform-field select {
    }
  line-height: 1.3;
  font-size: 1rem;
}
 
/* Submission controls */
.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" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്