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

അഭിപ്രായവേദി സംരംഭത്തിൽ നിന്ന്
No edit summary
(ചെ.)No edit summary
 
(ഒരേ ചെയ്ത ഇടയ്ക്കുള്ള 121 നാൾപ്പതിപ്പുകൾ പ്രദർശിപ്പിക്കുന്നില്ല)
വരി 1: വരി 1:
/* ================================================================
/* ==========================================================================
   MediaWiki:CommonTest.css
   1. LOAD MALAYALAM GOOGLE FONTS
  Test stylesheet for AbhiprayaVedi
   ========================================================================== */
  Cleaned and merged with scoped reset for .article-container
@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-content * {
/* ------------------------------------------------
    line-height: 1.85 !important;
  ARTICLE CONTAINER RESET
  Scoped reset to avoid affecting global wiki styles
  ------------------------------------------------ */
.article-container p,
.article-container figure,
.article-container figcaption,
.article-container ul,
.article-container ol,
.article-container li,
.article-container h1,
.article-container h2,
.article-container h3,
.article-container h4,
.article-container h5,
.article-container h6 {
  margin: 0;
  padding: 0;
}
}


/* Figures and captions */
/* ==========================================================================
.article-container figure {
  2. HEADINGS & TITLES
  display: block;
  ========================================================================== */
  float: none;
#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;
}
}
.article-container figcaption {
:lang(en) #firstHeading, :lang(en) .mw-first-heading {
  display: block;
    font-size: 2.45em !important;
  text-align: center;
}
}


/* Lists */
/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
.article-container ul,
.mw-displaytitle-subtitle {
.article-container ol {
    display: none !important;
  list-style-position: inside;
  padding-left: 1em;
}
.article-container li {
  margin: 0.25em 0;
}
}


/* Headings */
/* ==========================================================================
.article-container h1,
  3. LAYOUT & SIDEBARS (FULL WIDTH)
.article-container h2,
  ========================================================================== */
.article-container h3,
#mw-site-navigation, #mw-related-navigation {
.article-container h4,
    display: none !important;
.article-container h5,
.article-container h6 {
  font-weight: 600;
  line-height: 1.3;
  margin: 0.5em 0;
}
}
 
#mw-content-container {
/* ------------------------------------------------
    margin-left: 0 !important;
  ARTICLE CONTAINER LAYOUT AND COMPONENTS
    margin-right: 0 !important;
  ------------------------------------------------ */
    padding-left: 1rem !important;
.article-container {
    padding-right: 1rem !important;
  max-width: 1200px;
    max-width: 100% !important;
  margin: 0 auto;
}
}
 
#content {
/* Article header and author info */
    max-width: 100% !important;
.article-container .article-header {
  margin: 0 auto;        /* no extra top/bottom margin */
  padding: 2px 0;        /* slim padding */
  background: #C7D2FE;
  text-align: center;
}
}


.article-container .author-info {
/* ==========================================================================
  margin: 0;            /* remove auto vertical margin */
  4. FIXED: HIDE PAGE TABS FOR ANONYMOUS USERS ONLY
  display: flex;
  ========================================================================== */
  justify-content: center;
.anon-visitor #mw-page-header-links,
  align-items: center;
.anon-visitor #siteSub {
  gap: 6px;              /* balanced spacing between items */
    display: none !important;
  font-size: 1.05em;
  color: #444;
}
}
.article-container .author-info span:not(:last-child)::after {
.anon-visitor #mw-site-navigation,
  content: "•";
.anon-visitor #mw-related-navigation {
  margin-left: 8px;
    display: none !important;
  color: #999;
}
}
.article-container .author-info p {
/* ==========================================================================
  margin: 2px 0;        /* small vertical spacing */
  5. LOGO INTEGRATION FOR DISPLAY NAME PLACE
  padding: 0;
  ========================================================================== */
  text-align: center;
.mw-wiki-title {
}
    font-family: 'Manjari', sans-serif !important;
.article-container .author-name {
    font-weight: bold;
  font-weight: 600;
    font-size: 22px;
}
    color: #002B49 !important; /* Deep Navy */
.article-container .date-info {
  font-size: 0.9em;
  color: #666;
}
.article-container .category-badge {
  background: #e0e7ff;
  color: #333;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.85em;
}
}
@media (max-width: 768px) {


/* Introduction section */
    #mw-content-container {
.article-container .introduction-section {
        padding-left: 8px !important;
  background: #f5f7fa;
        padding-right: 8px !important;
  border-left: 4px solid #4a6edb;
    }
  padding: 10px 14px;
  margin: 0 0 14px 0;
#p-logo-text {
  border-radius: 4px;
        min-width: auto !important;
  font-size: 1.05em;
        width: 240px !important;
  line-height: 1.6;
        max-width: 240px !important;
  color: #222;
    }
}
.article-container .introduction-section p {
  margin: 0;
  text-indent: 0;
}


/* Content layout */
.article-container .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
}
.article-container .main-content {
  flex: 3;
  min-width: 0;
}
.article-container .right-sidebar {
  flex: 1;
  max-width: 280px;
}
}


@media (max-width: 768px) {


/* Ensure the file wrapper and link shrink to the image width */
    #p-banner {
.article-container .image-left figure[typeof~='mw:File/Thumb'] .mw-file-element,
        width: 240px !important;
.article-container .image-left figure[typeof~='mw:File/Thumb'] a.mw-file-description,
        height: 38px !important;
.article-container .image-left figure[typeof~='mw:File/Thumb'] a {
    }
  display: inline-block !important;
  width: auto !important;
  max-width: 100%;
  box-sizing: border-box;
}


/* Keep the image responsive inside that wrapper */
    #simpleSearch {
.article-container .image-left figure[typeof~='mw:File/Thumb'] img {
        margin-left: 30px !important;
  display: block;
    }
  width: auto;         /* natural width */
  max-width: 100%;      /* but never exceed container */
  height: auto;
}
}
@media screen and (max-width: 850px) {


/* Caption matches the figure width */
    #p-logo-text {
.article-container .image-left figure[typeof~='mw:File/Thumb'] figcaption {
        position: static !important;
  display: block;
        left: auto !important;
  width: 100%;
        top: auto !important;
  box-sizing: border-box;
    }
  text-align: left;
  margin-top: 6px;
}


/* Sidebar author photo and name */
.article-container .author-photo {
  margin: 0;
  display: block;
  border: 1px solid #ccc;
  padding: 2px;
  max-width: 180px;
}
.article-container .author-photo p {
  margin: 0;
  padding: 0;
  text-align: center;
}
.article-container .author-photo figcaption {
  text-align: center;
  margin-top: 4px;
}
.article-container .author-name-box {
  text-align: center;
  margin-top: 4px;
  max-width: 180px;
}
.article-container .author-infobox {
  display: flex;
  flex-direction: column;
  align-items: center;  /* center photo and name by default */
}
/* stronger keypoints block */
.article-container .keypoints-float {
  background: #fff8e6;          /* warmer, higher-contrast background */
  padding: 14px;
  border-left: 4px solid #8ba2e8;/* keep accent */
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03); /* subtle separation */
  color: #1f2937;              /* slightly darker text for contrast */
}
.article-container .highlight-box {
  background: #ecfffb;
  border-left: 5px solid #00c49c;
  padding: 12px;
  margin: 12px 0;
  border-radius: 6px;
}
.article-container .highlight-title {
  background: #00c49c;
  color: #333;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px 4px 0 0;
  margin-bottom: 6px;
}
.article-container .highlight-text {
  color: #333;
  font-size: 0.95em;
  line-height: 1.5;
}
.article-container .keypoints-header {
  background: #8ba2e8;
  color: #dde4f8;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px 4px 0 0;
  margin-bottom: 6px;
}
/* ------------------------------------------------
  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 {
  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;
  -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;
}
/* ------------------------------------------------
  RESPONSIVE BREAKPOINTS
  ------------------------------------------------ */
@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) {
  .av-featured { flex-direction: column; }
  .av-featured-image img { max-width: 100%; }
  .av-latest-grid { grid-template-columns: 1fr; }
}
/* ------------------------------------------------
  ACCESSIBILITY
  ------------------------------------------------ */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}
.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" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്