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

അഭിപ്രായവേദി സംരംഭത്തിൽ നിന്ന്
No edit summary
(ചെ.)No edit summary
 
(ഒരേ ചെയ്ത ഇടയ്ക്കുള്ള 158 നാൾപ്പതിപ്പുകൾ പ്രദർശിപ്പിക്കുന്നില്ല)
വരി 1: വരി 1:
/* ================================================================
/* ==========================================================================
   MediaWiki:CommonTest.css
   1. LOAD MALAYALAM GOOGLE FONTS
  Test stylesheet for AbhiprayaVedi
   ========================================================================== */
   ================================================================ */
@import url('https://smc.org.in/fonts/manjari.css');


/* ------------------------------------------------
/* GLOBAL FONTS FORCE (Combined to eliminate duplications) */
  BASE TYPOGRAPHY
:lang(ml), :lang(ml) *,
  ------------------------------------------------ */
body:lang(ml), .mw-body:lang(ml), .mw-body-content:lang(ml), #content:lang(ml),
: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),
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;
}
}


:lang(ml) {
.article-content,
  font-family: 'Manjari', 'Meera', 'Rachana', 'AnjaliOldLipi', 'Noto Sans Malayalam', sans-serif;
.article-byline,
  line-height: 1.75;
.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 {
body {
  font-size: 17px;
    line-height: 1.7;
}
 
/* ------------------------------------------------
  ARTICLE CONTAINER
  ------------------------------------------------ */
.article-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 20px 20px;
  font-size: 1.05em;
}
}
 
.article-content * {
/* Suppress empty <p> tags */
    line-height: 1.85 !important;
.article-container > p:empty,
.mw-parser-output > p:empty {
  display: none;
  margin: 0;
  padding: 0;
}
}


/* ------------------------------------------------
/* ==========================================================================
   ARTICLE HEADER
   2. HEADINGS & TITLES
   ------------------------------------------------ */
   ========================================================================== */
.article-header {
#firstHeading, .mw-first-heading, .firstHeading {
  background: #f8f9fa;
    font-size: 2.35em !important;
  border-bottom: 2px solid #495057;
    font-weight: 700 !important;
  padding: 6px 16px;
    margin-bottom: 0.4em !important;
  margin: 0 0 10px 0;
    color: #222;
  border-radius: 6px;
    border-bottom: solid 4px #36c;
}
}
 
:lang(en) #firstHeading, :lang(en) .mw-first-heading {
.author-info {
    font-size: 2.45em !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 1.1em;
}
 
.author-name {
  font-weight: 700;
  font-size: 1.3em;
  color: #212529;
}
}


.date-info {
/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
  color: #6c757d;
.mw-displaytitle-subtitle {
  font-size: 1.05em;
    display: none !important;
  text-align: center;
  flex: 1 1 auto;
}
}


.category-badge {
/* ==========================================================================
  background: #667eea;
  3. LAYOUT & SIDEBARS (FULL WIDTH)
  color: white;
  ========================================================================== */
  padding: 5px 12px;
#mw-site-navigation, #mw-related-navigation {
  border-radius: 20px;
    display: none !important;
  font-size: 0.88em;
  font-weight: 600;
}
}
 
#mw-content-container {
/* ------------------------------------------------
    margin-left: 0 !important;
  INTRODUCTION
    margin-right: 0 !important;
  ------------------------------------------------ */
    padding-left: 1rem !important;
.introduction-section {
    padding-right: 1rem !important;
  background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    max-width: 100% !important;
  border-left: 5px solid #f59e0b;
  padding: 10px;
  margin: 0 0 10px 0;
  border-radius: 6px;
  font-size: 1.12em;
  line-height: 1.45;
  color: #78350f;
  font-weight: 550;
}
}
 
#content {
/* ------------------------------------------------
    max-width: 100% !important;
  CONTENT LAYOUT
  ------------------------------------------------ */
.content-wrapper {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}
}


.main-content {
/* ==========================================================================
  flex: 1 1 70%;
  4. FIXED: HIDE PAGE TABS FOR ANONYMOUS USERS ONLY
  min-width: 0;
  ========================================================================== */
.anon-visitor #mw-page-header-links,
.anon-visitor #siteSub {
    display: none !important;
}
}
 
.anon-visitor #mw-site-navigation,
.right-sidebar {
.anon-visitor #mw-related-navigation {
  flex: 0 0 300px;
    display: none !important;
}
}
 
/* ==========================================================================
/* ------------------------------------------------
   5. LOGO INTEGRATION FOR DISPLAY NAME PLACE
   ARTICLE TEXT
   ========================================================================== */
   ------------------------------------------------ */
.mw-wiki-title {
.article-text {
    font-family: 'Manjari', sans-serif !important;
  font-size: 1.15em;
    font-weight: bold;
  line-height: 1.85;
    font-size: 22px;
  color: #212529;
    color: #002B49 !important; /* Deep Navy */
}
}
@media (max-width: 768px) {


.article-text p {
    #mw-content-container {
  margin-bottom: 1.2em;
        padding-left: 8px !important;
}
        padding-right: 8px !important;
    }
#p-logo-text {
        min-width: auto !important;
        width: 240px !important;
        max-width: 240px !important;
    }


/* ------------------------------------------------
  FEATURED SECTION (Magazine Index)
  ------------------------------------------------ */
.av-featured {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #f8f9fa;
  border-left: 5px solid #667eea;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 8px;
}
}


.av-featured-image {
@media (max-width: 768px) {
  flex: 0 0 260px;
  max-width: 260px;
}
 
.av-featured-image img {
  width: 260px;
  height: auto;
  border-radius: 6px;
  display: block;
}
 
.av-featured-body {
  flex: 1 1 auto;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 8; /* Adjust lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
 
.av-featured-title {
  font-size: 1.45em;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}
 
.av-featured-intro {
  font-size: 1.05em;
  line-height: 1.75;
  color: #495057;
  margin-bottom: 12px;
  max-height: 200px;
  overflow: hidden;
}


/* ------------------------------------------------
    #p-banner {
  RESPONSIVE BREAKPOINTS
        width: 240px !important;
  ------------------------------------------------ */
        height: 38px !important;
@media (max-width: 960px) {
    }
  .content-wrapper { flex-direction: column; }
  .right-sidebar { max-width: 100%; }
  .av-cards-row { flex-direction: column; }
  .av-latest-grid { grid-template-columns: repeat(2, 1fr); }
}


@media (max-width: 768px) {
    #simpleSearch {
  .av-featured { flex-direction: column; }
        margin-left: 30px !important;
  .av-featured-image img { max-width: 100%; }
    }
  .av-latest-grid { grid-template-columns: 1fr; }
}
}
@media screen and (max-width: 850px) {


/* ------------------------------------------------
    #p-logo-text {
  ACCESSIBILITY
        position: static !important;
  ------------------------------------------------ */
        left: auto !important;
a:focus-visible,
        top: auto !important;
button:focus-visible {
    }
  outline: 2px solid #667eea;
  outline-offset: 2px;
}
 
/* Hidden text for emoji headers */
.highlight-title::before {
  content: "Highlight ";
  position: absolute;
  left: -9999px;
}


.keypoints-header::before {
  content: "Key Points ";
  position: absolute;
  left: -9999px;
}
}

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