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

അഭിപ്രായവേദി സംരംഭത്തിൽ നിന്ന്
No edit summary
(ചെ.)No edit summary
 
(ഒരേ ചെയ്ത ഇടയ്ക്കുള്ള 258 നാൾപ്പതിപ്പുകൾ പ്രദർശിപ്പിക്കുന്നില്ല)
വരി 1: വരി 1:
/* ===== CLEAN TIMESS SKIN CSS - NO DUPLICATIONS ===== */
/* ==========================================================================
  1. LOAD MALAYALAM GOOGLE FONTS
  ========================================================================== */
@import url('https://smc.org.in/fonts/manjari.css');


/* 1. TITLE - CENTERED, TIGHT SPACING */
/* GLOBAL FONTS FORCE (Combined to eliminate duplications) */
h1#firstHeading,
:lang(ml), :lang(ml) *,
#mw-content-text .firstHeading,
body:lang(ml), .mw-body:lang(ml), .mw-body-content:lang(ml), #content:lang(ml),
.mw-parser-output .firstHeading {
.mw-parser-output:lang(ml), .article-content:lang(ml), .article-content *,
  font-family: Georgia, serif !important;
.intro-box:lang(ml), p:lang(ml), span:lang(ml), div:lang(ml),
  font-size: 2.2em !important;
h1:lang(ml), h2:lang(ml), h3:lang(ml), h4:lang(ml),
  text-align: center !important;
#firstHeading, .mw-first-heading, .firstHeading {
  margin: 0 0 0.1em 0 !important;
    font-family: 'Manjari', 'Meera', 'Rachana', 'Noto Sans Malayalam', 'Nirmala UI', sans-serif !important;
  line-height: 1.1 !important;
}
}


/* 2. META - SINGLE LINE, MINIMAL SPACE */
.article-content,
#mw-content-text .article-meta,
.article-byline,
.mw-parser-output .article-meta {
.author-profile-bio,
  text-align: center !important;
.author-card,
  margin: 0 0 0.4em 0 !important;
.author-card-name,
  font-size: 1.1em !important;
.author-card-bio,
  font-weight: bold !important;
.article-title,
  color: #444 !important;
.related-heading,
  line-height: 1.1 !important;
.author-heading,
.article-meta-row,
.article-author {
    font-family: 'Manjari',
                'Meera',
                'Rachana',
                'Noto Sans Malayalam',
                sans-serif !important;
}
}


.article-meta p { display: inline !important; margin: 0 !important; }
.page-Main_Page #firstHeading {
.meta-line {
    display: none;
   display: inline-flex !important;
}
  align-items: baseline !important;
body.ns-14 #firstHeading {
  white-space: nowrap !important;
   display: none !important;
  gap: 0.5em !important;
}
}
.meta-sep { margin: 0 0.3em !important; }


/* 3. MAIN WRAPPER */
/* ==========================================================================
.article-wrapper {
  PUBLISHING WORKSPACE — HIDE MEDIAWIKI PAGE TITLES
  max-width: 900px;
  ========================================================================== */
  margin: 0 auto;
body.page-CreateArticle #firstHeading,
  padding: 15px;
body.page-Editorial_Dashboard #firstHeading {
  font-family: Georgia, serif;
    display: none !important;
  line-height: 1.6;
  background: #fdfcfc;
}
}


/* 4. CONTENT - PERFECT FLOW */
body.mw-special-FormEdit #firstHeading {
.article-content {
    display: none !important;
  font-size: 1.1em;
  overflow: visible !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  clear: both !important;
}
}


.article-content p {
/* GLOBAL MINOR TWEAKS */
  text-indent: 0 !important;
body {
  margin: 0.1em 0 0.8em 0 !important;
    line-height: 1.7;
   padding: 0 !important;
}
.article-content * {
    line-height: 1.85 !important;
}
#mw-header-hack {
   border-bottom-width: 1px;
}
}


.article-content p:first-of-type,
/* ==========================================================================
.article-content p:first-child,
  2. HEADINGS & TITLES
#mw-content-block .article-content p:first-child {
  ========================================================================== */
  margin-top: 0 !important;
#firstHeading,
  padding-top: 0 !important;
.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;
}
}


/* 5. FLOATBOX - RIGHT SIDE */
:lang(en) #firstHeading, :lang(en) .mw-first-heading {
.article-floatbox {
    font-size: 2.45em !important;
  float: right !important;
  width: 220px !important;
  margin: -10px 0 1em 1.5em !important;
  background: #f8f9fa;
  padding: 12px;
  border-left: 4px solid #dee2e6;
  position: relative;
  z-index: 2;
}
}


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


/* HIGHLIGHTS BELOW THUMBNAIL */
/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
.article-highlights {
.mw-displaytitle-subtitle {
  margin-top: 12px !important;
    display: none !important;
  float: none !important;
  width: 100% !important;
}
}


.article-highlights ul {
/* ==========================================================================
  margin: 0 !important;
  3. LAYOUT & SIDEBARS (FULL WIDTH)
  padding: 0 !important;
  ========================================================================== */
  list-style: none !important;
#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;
}
}


.article-highlights li {
/* ==========================================================================
  margin-bottom: 10px !important;
  4. LOGO INTEGRATION FOR DISPLAY NAME PLACE
  padding-bottom: 6px !important;
  ==========================================================================*/
  border-bottom: 1px solid #dee2e6 !important;
.mw-wiki-title {
  font-size: 0.9em;
    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 !important;
        padding-left: 8px !important;
  border-bottom: none !important;
        padding-right: 8px !important;
    }
}
}
/* ==========================================================
  5. Editorial Access
  ========================================================== */


/* 6. IMAGE1 - TEXT WRAP */
/* Initially hide both panels.
.thumb {
  JavaScript will reveal the correct one. */
  float: left !important;
#editorial-login,
  margin: 0.1em 1em 0.5em 0 !important;
#editorial-workspace {
  clear: none !important;
    display: none;
}
}


/* 7. OTHER SECTIONS */
.editorial-section {
.article-intro {
    max-width: 700px;
  font-size: 1.2em;
    margin: 2rem auto;
  background: #f8f9fa;
  padding: 16px;
  border-left: 5px solid #adb5bd;
  margin-bottom: 18px;
}
}


.article-author-bio {
.editorial-actions {
  margin-top: 30px;
    margin-top: 2rem;
  font-size: 0.9em;
  font-style: normal !important;
  background: #f1f3f4;
  padding: 15px;
  border-radius: 6px;
  border-top: 2px solid #dee2e6;
}
}


.article-source {
.editorial-button {
  margin-top: 25px;
    margin-bottom: 1rem;
  font-size: 0.9em;
  border-top: 1px solid #dee2e6;
  padding-top: 15px;
}
}


/* 8. MOBILE */
.editorial-button a {
@media (max-width: 768px) {
    display: block;
  .article-wrapper { max-width: 100%; padding: 10px; }
    padding: 12px 18px;
  .article-floatbox {
    border: 1px solid #c8ccd1;
     float: none !important;  
    border-radius: 6px;
     width: 100% !important;  
    text-align: center;
     margin: 10px 0 !important;  
     text-decoration: none;
  }
     font-weight: 600;
    background: #f8f9fa;
     transition: background 0.2s ease;
}
 
.editorial-button a:hover {
    background: #eaecf0;
}
}

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