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

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


.mw-body[lang="ml"],
    font-family:'Manjari',
.article-container[lang="ml"],
          'Noto Sans Malayalam',
.right-sidebar[lang="ml"],
            sans-serif !important;
#mw-content-text[lang="ml"],
    font-size:2.2em !important;
#mw-navigation[lang="ml"],
    font-weight:700 !important;
.form-container[lang="ml"] {
    margin:0 !important;
  font-family: 'Manjari','Meera','Rachana','AnjaliOldLipi','Noto Sans Malayalam',sans-serif;
    padding:20px 28px 8px 28px !important;
  line-height: 1.75;
    background:#f4f7fb;
  --color-primary: #4a2f87;
    border-left:6px solid #36c;
  --color-secondary: #f59e0b;
    border-bottom:none !important;
  --color-accent: #78350f;
    border-radius:12px 12px 0 0;
  --color-neutral: #f8f9fa;
    color:#222;
}
}


/* ================================================================
:lang(en) #firstHeading, :lang(en) .mw-first-heading {
  ARTICLE LAYOUT
    font-size: 2.45em !important;
  ================================================================ */
.article-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
}


/* Header: single line, styled */
@media (max-width: 768px) {
.article-header {
 
  background: var(--color-neutral);
    #firstHeading,
  border-bottom: 2px solid var(--color-primary);
    .mw-first-heading,
  padding: 8px 16px;
    .firstHeading {
  border-radius: 6px;
 
        font-size: 1.75em !important;
        padding: 16px 20px 8px 20px !important;
    }
 
    :lang(en) #firstHeading,
    :lang(en) .mw-first-heading {
 
        font-size: 1.95em !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. LOGO INTEGRATION FOR DISPLAY NAME PLACE
  color: #6c757d;
  ==========================================================================*/
.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;
  border-radius: 20px;
}
}
/* ==========================================================
  5. Editorial Access
  ========================================================== */


/* Intro section */
/* Initially hide both panels.
.introduction-section {
  JavaScript will reveal the correct one. */
  background: var(--color-neutral);
#editorial-login,
  border-left: 4px solid var(--color-secondary);
#editorial-workspace {
  padding: 12px 16px;
    display: none;
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1.5;
}
}


/* Content wrapper: two-column layout */
.editorial-section {
.content-wrapper {
    max-width: 700px;
  display: flex;
    margin: 2rem auto;
  gap: 20px;
}
}


/* Main content */
.editorial-actions {
.main-content {
    margin-top: 2rem;
  flex: 3;
}
}


.article-text {
.editorial-button {
  font-size: 1rem;
    margin-bottom: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
}


/* Sidebar fixed to the right */
.editorial-button a {
.right-sidebar {
    display: block;
  flex: 1;
    padding: 12px 18px;
  background: var(--color-neutral);
    border: 1px solid #c8ccd1;
  padding: 12px;
    border-radius: 6px;
  border-radius: 6px;
    text-align: center;
  display: flex;
    text-decoration: none;
  flex-direction: column;
    font-weight: 600;
  gap: 15px;
    background: #f8f9fa;
    transition: background 0.2s ease;
}
}


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

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