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

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


/* 1. TITLE - FORCE CENTER ALIGNMENT */
/* GLOBAL FONTS FORCE (Combined to eliminate duplications) */
h1#firstHeading,
:lang(ml), :lang(ml) *,
.mw-body h1,
body:lang(ml), .mw-body:lang(ml), .mw-body-content:lang(ml), #content:lang(ml),
#mw-content-text .firstHeading,
.mw-parser-output:lang(ml), .article-content:lang(ml), .article-content *,
.mw-parser-output .firstHeading {
.intro-box:lang(ml), p:lang(ml), span:lang(ml), div:lang(ml),
  font-family: Georgia, serif !important;
h1:lang(ml), h2:lang(ml), h3:lang(ml), h4:lang(ml),
  font-size: 2.2em !important;
#firstHeading, .mw-first-heading, .firstHeading {
  text-align: center !important;
    font-family: 'Manjari', 'Meera', 'Rachana', 'Noto Sans Malayalam', 'Nirmala UI', sans-serif !important;
  margin-bottom: 0.1em !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.2em 0 0.6em 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,
  padding: 0 !important;
.article-meta-row,
.article-author {
    font-family: 'Manjari',
                'Meera',
                'Rachana',
                'Noto Sans Malayalam',
                sans-serif !important;
}
}


#mw-content-text .article-meta p {
  display: inline !important;
  margin: 0 !important;
}


#mw-content-text .meta-line {
/* GLOBAL MINOR TWEAKS */
  display: inline-flex !important;
body {
  align-items: baseline !important;
    line-height: 1.7;
  white-space: nowrap !important;
  gap: 0.5em !important;
}
}
 
.article-content * {
.meta-sep {
    line-height: 1.85 !important;
  margin: 0 0.3em !important;
}
}


/* 3. MAIN WRAPPER */
/* ==========================================================================
.article-wrapper {
  2. HEADINGS & TITLES
  max-width: 900px;
  ========================================================================== */
  margin: 0 auto;
#firstHeading, .mw-first-heading, .firstHeading {
  padding: 15px;
    font-size: 2.35em !important;
  font-family: Georgia, serif;
    font-weight: 700 !important;
  line-height: 1.6;
    margin-bottom: 0.4em !important;
  background: #fdfcfc;
    color: #222;
    border-bottom: solid 4px #36c;
}
}
 
:lang(en) #firstHeading, :lang(en) .mw-first-heading {
.article-header {
    font-size: 2.45em !important;
  margin-bottom: 0.3em !important;
}
}


/* 4. CONTENT - NO BLOCK SPACING */
/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
#mw-content-text .article-content p,
.mw-displaytitle-subtitle {
.mw-parser-output .article-content p,
    display: none !important;
.article-content p {
  text-indent: 0 !important;
  margin: 0.2em 0 0.8em 0 !important;
  padding: 0 !important;
}
}


#mw-content-text .article-content > p:first-of-type,
/* ==========================================================================
.mw-parser-output .article-content > p:first-of-type,
  3. LAYOUT & SIDEBARS (FULL WIDTH)
.article-content > p:first-of-type,
  ========================================================================== */
.article-content p:first-child {
#mw-site-navigation, #mw-related-navigation {
  margin-top: 0 !important;
    display: none !important;
  padding-top: 0 !important;
}
}
 
#mw-content-container {
.article-content {
    margin-left: 0 !important;
  font-size: 1.1em;
    margin-right: 0 !important;
  overflow: hidden;
    padding-left: 1rem !important;
  clear: both !important;
    padding-right: 1rem !important;
    max-width: 100% !important;
}
}
 
#content {
/* 5. FLOATBOX - THUMBNAIL + HIGHLIGHTS */
    max-width: 100% !important;
.article-floatbox {
  float: right !important;
  width: 220px !important;
  margin: 0 0 1em 1.5em !important;
  background: #f8f9fa;
  padding: 12px;
  border-left: 4px solid #dee2e6;
  overflow: hidden;
}
}


.article-floatbox h3 {
/* ==========================================================================
  margin: 0 0 8px 0 !important;
  4. FIXED: HIDE PAGE TABS FOR ANONYMOUS USERS ONLY
  font-size: 0.95em !important;
  ========================================================================== */
.anon-visitor #mw-page-header-links,
.anon-visitor #siteSub {
    display: none !important;
}
}
 
.anon-visitor #mw-site-navigation,
/* HIGHLIGHTS BELOW THUMBNAIL */
.anon-visitor #mw-related-navigation {
.article-highlights {
    display: none !important;
  margin-top: 12px !important;
  float: none !important;
  width: 100% !important;
  clear: both;
}
}
 
/* ==========================================================================
.article-highlights ul {
  5. LOGO INTEGRATION FOR DISPLAY NAME PLACE
  margin: 0 !important;
  ========================================================================== */
  padding: 0 !important;
.mw-wiki-title {
  list-style: none !important;
    font-family: 'Manjari', sans-serif !important;
    font-weight: bold;
    font-size: 22px;
    color: #002B49 !important; /* Deep Navy */
}
}
@media (max-width: 768px) {


.article-highlights li {
    #mw-content-container {
  margin-bottom: 10px !important;
        padding-left: 8px !important;
  padding-bottom: 6px !important;
        padding-right: 8px !important;
  border-bottom: 1px solid #dee2e6 !important;
    }
  font-size: 0.9em;
}
#p-logo-text {
        min-width: auto !important;
        width: 240px !important;
        max-width: 240px !important;
    }


.article-highlights li:last-child {
  margin-bottom: 0 !important;
  border-bottom: none !important;
}
}


/* 6. INTRO */
.article-intro {
  font-size: 1.2em;
  background: #f8f9fa;
  padding: 16px;
  border-left: 5px solid #adb5bd;
  margin-bottom: 18px;
}
/* 7. AUTHOR BIO & SOURCE */
.article-author-bio {
  margin-top: 30px;
  font-size: 0.9em;
  font-style: normal !important;
  background: #f1f3f4;
  padding: 15px;
  border-radius: 6px;
  border-top: 2px solid #dee2e6;
}
.article-source {
  margin-top: 25px;
  font-size: 0.9em;
  border-top: 1px solid #dee2e6;
  padding-top: 15px;
}
/* 8. MOBILE RESPONSIVE */
@media (max-width: 768px) {
@media (max-width: 768px) {
  .article-wrapper {
    max-width: 100%;
    padding: 10px;
  }
  .article-floatbox {
    float: none !important;
    width: 100% !important;
    margin: 10px 0 !important;
  }
}
/* 1. SHRINK SPACE ABOVE META */
.article-header {
  margin-bottom: 0.1em !important;
  padding-bottom: 0 !important;
}


#mw-content-text > .article-wrapper > .article-header {
    #p-banner {
  margin-top: 0 !important;
        width: 240px !important;
}
        height: 38px !important;
    }


/* 2. CONTENT STARTS ABOVE Floatbox */
    #simpleSearch {
.article-floatbox {
        margin-left: 30px !important;
  margin-top: -10px !important; /* Pull up beside content */
    }
}
}
@media screen and (max-width: 850px) {


/* 3. TEXT FLOWS AROUND Image1 */
    #p-logo-text {
#mw-content-text .article-content {
        position: static !important;
  overflow: visible !important;
        left: auto !important;
}
        top: auto !important;
    }


/* Image1 float wrap */
.thumb {
  clear: none !important;
  margin: 0.3em 0.5em 0.3em 0 !important;
}
}

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