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

അഭിപ്രായവേദി സംരംഭത്തിൽ നിന്ന്
No edit summary
(ചെ.)No edit summary
 
(ഒരേ ചെയ്ത ഇടയ്ക്കുള്ള 269 നാൾപ്പതിപ്പുകൾ പ്രദർശിപ്പിക്കുന്നില്ല)
വരി 1: വരി 1:
/* FORCE OVERRIDE - Place FIRST in Common.css */
/* ==========================================================================
.mw-body-content .content-body p {
  1. LOAD MALAYALAM GOOGLE FONTS
  margin-top: 0.3em !important;
  ========================================================================== */
  margin-bottom: 0.6em !important;
@import url('https://smc.org.in/fonts/manjari.css');
  text-indent: 0 !important;
 
/* 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;
}
}


/* Target ALL article content directly */
.article-content,
.article-content p {
.article-byline,
  text-indent: 0 !important;
.author-profile-bio,
  margin: 0.6em 0 !important;
.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;
}
}


.article-content p:first-of-type {
.page-Main_Page #firstHeading {
  margin-top: 0 !important;
    display: none;
}
}
 
body.ns-14 #firstHeading {
firstHeading {
   display: none !important;
   font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4em;
  text-align: center;
  margin-bottom: 10px;
}
}


.article-wrapper {
/* ==========================================================================
  max-width: 900px;
  PUBLISHING WORKSPACE — HIDE MEDIAWIKI PAGE TITLES
  width: 100%;
  ========================================================================== */
  margin: 0 auto;
body.page-CreateArticle #firstHeading,
  font-family: Georgia, serif;
body.page-Editorial_Dashboard #firstHeading {
  line-height: 1.7;
    display: none !important;
}
}


/* MOBILE RESPONSIVE */
body.mw-special-FormEdit #firstHeading {
@media (max-width: 768px) {
     display: none !important;
  .article-wrapper {
    max-width: 100%;
    padding: 0 10px;
  }
  .article-floatbox {
     float: none !important;
    width: 100% !important;
    margin: 10px 0;
  }
}
}


 
/* GLOBAL MINOR TWEAKS */
.article-meta {
body {
  text-align: center;
    line-height: 1.7;
  margin-bottom: 10px;
  font-size: 1.25em;
  font-weight: bold;
  color: #444;
}
}
.article-meta p {
.article-content * {
  display: inline !important;
    line-height: 1.85 !important;
  margin: 0 !important;
}
}
.meta-sep {
#mw-header-hack {
   margin: 0 1em;
   border-bottom-width: 1px;
}
}


/* ==========================================================================
  2. HEADINGS & TITLES
  ========================================================================== */
#firstHeading,
.mw-first-heading,
.firstHeading {


.article-intro {
    font-family:'Manjari',
  font-size: 1.2em;
          'Noto Sans Malayalam',
  background: #f2f2f2;
            sans-serif !important;
  padding: 14px;
    font-size:2.2em !important;
  border-left: 5px solid #bbb;
    font-weight:700 !important;
  margin-bottom: 18px;
    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;
}
}


.article-floatbox {
:lang(en) #firstHeading, :lang(en) .mw-first-heading {
  float: right;
    font-size: 2.45em !important;
  width: 220px;
  margin: 0 0 15px 20px;
  background: #fafafa;
  padding: 10px;
  border-left: 4px solid #ccc;
  overflow: hidden; /* Contain floats */
}
}


.article-floatbox h3 {
@media (max-width: 768px) {
  margin: 0 0 8px 0;
 
  font-size: 1em;
    #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;
    }
}
}


/* Fix 1: Prevent highlights filling thumbnail gap */
/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
.article-highlights {
.mw-displaytitle-subtitle {
  margin-top: 10px; /* Space after thumbnail */
    display: none !important;
  clear: both;
  border-bottom: 2px solid #ccc;
}
}


/* Fix 2: Horizontal lines + spacing between highlights */
/* ==========================================================================
.article-highlights  {
  3. LAYOUT & SIDEBARS (FULL WIDTH)
  margin: 0;
  ========================================================================== */
  padding: 0;
#mw-site-navigation, #mw-related-navigation {
  list-style: none;
    display: none !important;
  border-bottom: 2px solid #ccc;
}
#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;
}
}


.article-highlights li {
/* ==========================================================================
  margin-bottom: 8px;
  4. LOGO INTEGRATION FOR DISPLAY NAME PLACE
  padding-bottom: 6px;
  ==========================================================================*/
  border-bottom: 2px solid #ccc; /* Horizontal line */
.mw-wiki-title {
    font-family: 'Manjari', sans-serif !important;
    font-weight: bold;
    font-size: 22px;
    color: #002B49 !important; /* Deep Navy */
}
}
@media (max-width: 768px) {


.article-highlights li:last-child {
    #mw-content-container {
  margin-bottom: 0;
        padding-left: 8px !important;
  border-bottom: none; /* No line on last item */
        padding-right: 8px !important;
    }
}
}
/* ==========================================================
  5. Editorial Access
  ========================================================== */


 
/* Initially hide both panels.
/* COMPLETE RESET - OVERRIDES EVERYTHING */
  JavaScript will reveal the correct one. */
.mw-parser-output .content-body,
#editorial-login,
.mw-parser-output .content-body * {
#editorial-workspace {
  margin-top: 0 !important;
    display: none;
  padding-top: 0 !important;
}
}


.mw-parser-output .content-body p {
.editorial-section {
  text-indent: 0 !important;
    max-width: 700px;
  margin: 0.8em 0 !important;
    margin: 2rem auto;
}
}


.mw-parser-output .content-body > p:first-of-type,
.editorial-actions {
.mw-parser-output .content-body p:first-child {
    margin-top: 2rem;
  margin-top: 0 !important;
  margin-bottom: 0.6em !important;
}
}


/* Empty content-body */
.editorial-button {
.mw-parser-output .content-body:empty {
    margin-bottom: 1rem;
  display: none !important;
}
}


.article-source {
.editorial-button a {
  margin-top: 25px;
    display: block;
  font-size: 0.9em;
    padding: 12px 18px;
  border-top: 1px solid #ddd;
    border: 1px solid #c8ccd1;
  padding-top: 10px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    background: #f8f9fa;
    transition: background 0.2s ease;
}
}


.article-author-bio {
.editorial-button a:hover {
  margin-top: 30px;
    background: #eaecf0;
  font-size: 0.95em;
  font-style: normal !important; /* Kill italics */
  background: #f8f9fa;
  padding: 15px;
  border-radius: 6px;
  border-top: 2px solid #dee2e6;
}
}

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