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

അഭിപ്രായവേദി സംരംഭത്തിൽ നിന്ന്
No edit summary
(ചെ.)No edit summary
 
(ഒരേ ചെയ്ത ഇടയ്ക്കുള്ള 218 നാൾപ്പതിപ്പുകൾ പ്രദർശിപ്പിക്കുന്നില്ല)
വരി 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;
}
}


/* ================================================================
.page-Main_Page #firstHeading {
  ARTICLE HEADER
    display: none;
  ================================================================ */
}
.article-container .article-header {
body.ns-14 #firstHeading {
  background: var(--color-neutral);
   display: none !important;
  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 {
/* ==========================================================================
  font-size: 1.3rem;
  PUBLISHING WORKSPACE — HIDE MEDIAWIKI PAGE TITLES
  font-weight: 700;
  ========================================================================== */
  color: var(--color-primary);
body.page-CreateArticle #firstHeading,
  line-height: 1.4;
body.page-Editorial_Dashboard #firstHeading {
  margin: 0;
    display: none !important;
}
}


.article-container .date-info {
body.mw-special-FormEdit #firstHeading {
  font-size: 1rem;
    display: none !important;
  color: #6c757d;
  text-align: center;
  line-height: 1.4;
  margin: 0;
  flex: 1 1 auto;
}
}


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


@media (max-width: 768px) {
/* ==========================================================================
  .article-container .article-header {
  2. HEADINGS & TITLES
     flex-direction: column;
  ========================================================================== */
     align-items: flex-start;
#firstHeading,
     gap: 10px;
.mw-first-heading,
  }
.firstHeading {
  .article-container .date-info { text-align: left; }
 
  .article-container .category-badge { align-self: flex-start; }
     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 {
  FIRST HEADING (Article Title)
    font-size: 2.45em !important;
  ================================================================ */
.mw-body h1.firstHeading {
  font-weight: 700;
  line-height: 1.3;
  margin: 0.4em 0;
  color: var(--color-primary);
}
}


/* ================================================================
@media (max-width: 768px) {
  SIDEBAR & CATEGORY LISTINGS
 
  ================================================================ */
    #firstHeading,
.right-sidebar,
    .mw-first-heading,
.right-sidebar .mw-category,
    .firstHeading {
.right-sidebar .mw-list-item {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-primary);
}


/* ================================================================
        font-size: 1.75em !important;
  NAVIGATION TABS
        padding: 16px 20px 8px 20px !important;
  ================================================================ */
    }
#mw-navigation .tab {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  background: var(--color-neutral);
  color: var(--color-primary);
}


#mw-navigation .tab.active {
    :lang(en) #firstHeading,
  background: var(--color-secondary);
    :lang(en) .mw-first-heading {
  color: #fff;
}


#mw-navigation .tab:hover {
        font-size: 1.95em !important;
  background: var(--color-accent);
    }
  color: #fff;
}
}


/* ================================================================
/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
  FORM USABILITY (Form:Article, Submit:Article)
.mw-displaytitle-subtitle {
  ================================================================ */
    display: none !important;
.form-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}
}


.form-header {
/* ==========================================================================
  background: var(--color-primary);
  3. LAYOUT & SIDEBARS (FULL WIDTH)
  color: #fff;
  ========================================================================== */
  padding: 25px;
#mw-site-navigation, #mw-related-navigation {
  border-radius: 8px;
    display: none !important;
  margin-bottom: 25px;
  text-align: center;
}
}
 
#mw-content-container {
.form-section {
    margin-left: 0 !important;
  background: #fff;
    margin-right: 0 !important;
  padding: 25px;
    padding-left: 1rem !important;
  border-radius: 8px;
    padding-right: 1rem !important;
  margin-bottom: 20px;
    max-width: 100% !important;
}
}
 
#content {
.form-required {
    max-width: 100% !important;
  border-left: 5px solid #dc3545; /* red for required */
}
}


.form-optional {
/* ==========================================================================
  border-left: 5px solid #28a745; /* green for optional */
  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) {


.form-table {
    #mw-content-container {
  width: 100%;
        padding-left: 8px !important;
  border-collapse: separate;
        padding-right: 8px !important;
  border-spacing: 0 12px;
    }
}
}
/* ==========================================================
  5. Editorial Access
  ========================================================== */


.form-label {
/* Initially hide both panels.
  width: 180px;
  JavaScript will reveal the correct one. */
  text-align: right;
#editorial-login,
  padding: 10px 15px 10px 0;
#editorial-workspace {
  vertical-align: top;
    display: none;
}
}


.form-field {
.editorial-section {
  padding: 10px 0;
    max-width: 700px;
    margin: 2rem auto;
}
}


.form-hint {
.editorial-actions {
  color: #666;
    margin-top: 2rem;
  font-size: 0.85rem;
  margin-top: 4px;
  display: block;
}
}


/* Tightened rhythm for inputs */
.editorial-button {
.mw-htmlform-field label,
    margin-bottom: 1rem;
.mw-htmlform-field input,
.mw-htmlform-field textarea,
.mw-htmlform-field select {
  line-height: 1.3;
  font-size: 1rem;
}
}


/* Submission controls */
.editorial-button a {
.form-controls {
    display: block;
  text-align: center;
    padding: 12px 18px;
  padding: 25px;
    border: 1px solid #c8ccd1;
  background: var(--color-neutral);
    border-radius: 6px;
  border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    background: #f8f9fa;
    transition: background 0.2s ease;
}
}


.form-controls p {
.editorial-button a:hover {
  margin-bottom: 15px;
    background: #eaecf0;
  color: #666;
}
}

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