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

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


/* Base Font Size */
/* GLOBAL FONTS FORCE (Combined to eliminate duplications) */
body {
:lang(ml), :lang(ml) *,
     font-size: 17px;
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;
}
}


#content {
.article-content,
     font-size: 1.1em;
.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;
}
}


/* ================================================================
  ARTICLE CONTAINER
  ================================================================ */


.article-container {
/* GLOBAL MINOR TWEAKS */
     max-width: 1200px;
body {
    margin: 0 auto;
     line-height: 1.7;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1.05em;
}
}
 
.article-content * {
/* Malayalam Font Support */
     line-height: 1.85 !important;
.article-container[data-language="Malayalam"] {
    font-family: 'Manjari', 'Meera', 'Rachana', 'AnjaliOldLipi', 'Noto Sans Malayalam', sans-serif;
     line-height: 1.75;       /* FIX: Reduced from 2 — less stretched for Malayalam */
}
}


/* ================================================================
/* ==========================================================================
   HEADER - Compact, Author | Date | Category properly spread
   2. HEADINGS & TITLES
   ================================================================ */
   ========================================================================== */
 
#firstHeading, .mw-first-heading, .firstHeading {
.article-header {
     font-size: 2.35em !important;
     background: #f8f9fa;
     font-weight: 700 !important;
     border-bottom: 2px solid #495057;
     margin-bottom: 0.4em !important;
     padding: 6px 16px;       /* FIX: Further reduced padding (was 10px 20px) */
     color: #222;
     margin-bottom: 10px;     /* FIX: Tighter gap before introduction */
     border-bottom: solid 4px #36c;
     border-radius: 6px;
}
}
 
: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 {
/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
     font-weight: 700;
.mw-displaytitle-subtitle {
    font-size: 1.3em;
     display: none !important;
    color: #212529;
    flex: 0 0 auto;
}
}


.date-info {
/* ==========================================================================
    color: #6c757d;
  3. LAYOUT & SIDEBARS (FULL WIDTH)
    font-size: 1.05em;
  ========================================================================== */
     flex: 1 1 auto;
#mw-site-navigation, #mw-related-navigation {
    text-align: center;      /* Centered between author and category */
     display: none !important;
}
}
 
#mw-content-container {
.category-badge {
     margin-left: 0 !important;
     background: #667eea;
     margin-right: 0 !important;
     color: white;
     padding-left: 1rem !important;
     padding: 5px 12px;
     padding-right: 1rem !important;
    border-radius: 20px;
     max-width: 100% !important;
     font-size: 0.88em;
     font-weight: 600;
    flex: 0 0 auto;
}
}
 
#content {
/* ================================================================
     max-width: 100% !important;
  INTRODUCTION - Reduced Padding
  ================================================================ */
 
.introduction-section {
     background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border-left: 5px solid #f59e0b;
    padding: 10px 16px;      /* FIX: Further reduced from 15px 20px */
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 1.12em;
    line-height: 1.65;        /* FIX: Reduced line-height */
    color: #78350f;
    font-weight: 500;
}
}


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


@media (max-width: 968px) {
    #mw-content-container {
    .content-wrapper {
        padding-left: 8px !important;
         flex-direction: column;
         padding-right: 8px !important;
     }
     }
    .right-sidebar {
         flex: 1 1 auto;
#p-logo-text {
         max-width: 100%;
         min-width: auto !important;
        width: 240px !important;
         max-width: 240px !important;
     }
     }
}
/* ================================================================
  ARTICLE TEXT
  ================================================================ */


.article-text {
    font-size: 1.15em;
    line-height: 1.85;        /* FIX: Slightly reduced from 1.9 */
    color: #212529;
    text-align: left;        /* FIX: Changed from justify — no unnatural stretching */
}
}


.article-text p {
@media (max-width: 768px) {
    margin-bottom: 1.2em;    /* FIX: Slightly tighter paragraph spacing */
}


.article-text h2 {
     #p-banner {
    font-size: 1.6em;
        width: 240px !important;
    margin-top: 1.5em;
        height: 38px !important;
    margin-bottom: 0.8em;
     }
    color: #212529;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.3em;
}
 
.article-text h3 {
    font-size: 1.3em;
    margin-top: 1.3em;
     margin-bottom: 0.7em;
    color: #495057;
}
 
/* ================================================================
  IMAGES - Reduced bottom margins
  ================================================================ */
 
.image-left {
    float: left;
    margin: 0 20px 8px 0;    /* FIX: Bottom margin reduced from 20px to 8px */
    max-width: 420px;
}
 
.image-left .thumb {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
}
 
.content-image {
    margin: 15px 0 8px 0;    /* FIX: Reduced bottom margin from 30px to 8px */
    clear: both;
}
 
/* FIX: Reduce bottom margin on all MediaWiki thumb wrappers */
.thumb {
    margin-bottom: 6px !important;
}
 
.thumbinner {
    padding-bottom: 4px !important;
}
 
.thumbcaption {
    font-size: 0.95em !important;
    line-height: 1.45 !important;
     padding: 5px 6px !important;  /* FIX: Less padding below caption */
}
 
/* ================================================================
  AUTHOR INFOBOX
  ================================================================ */
 
.author-infobox {
    background: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}
 
.author-photo {
    text-align: center;
    padding: 12px;            /* FIX: Slightly tighter */
    background: white;
    border-bottom: 1px solid #dee2e6;
}
 
.author-photo img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}
 
.author-name-box {
    text-align: center;
    padding: 10px 15px;      /* FIX: Reduced padding */
    font-size: 1.2em;
    font-weight: 500;
    color: #212529;
    background: #e9ecef;
    border-bottom: 1px solid #dee2e6;
}
 
.author-name-box a {
    color: #0056b3;
    text-decoration: none;
}
 
.author-name-box a:hover {
    text-decoration: underline;
}
 
.author-bio {
    padding: 12px 15px;      /* FIX: Slightly tighter */
    font-size: 1em;
    line-height: 1.65;
    color: #495057;
}
 
/* ================================================================
  HIGHLIGHTS - Icon Only, with bottom margin for separation
  ================================================================ */
 
.highlight-box {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-left: 4px solid #28a745;
    border-radius: 6px;
    margin-bottom: 12px;      /* FIX: Was 15px — slightly tighter but still separated */
    overflow: hidden;
}
 
.highlight-title {
    background: #28a745;
    color: white;
    padding: 7px 14px;
    font-size: 1.3em;
    text-align: center;
}
 
.highlight-text {
    padding: 12px 14px;      /* FIX: Slightly tighter */
    font-size: 1em;
    line-height: 1.65;
    color: #155724;
}
 
/* ================================================================
  KEY POINTS - Separation between items
  ================================================================ */
 
.keypoints-float {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}
 
.keypoints-header {
    background: #ffc107;
    color: #212529;
    padding: 7px 14px;
    font-size: 1.3em;
    text-align: center;
}


.keypoints-list {
     #simpleSearch {
    list-style: none;
        margin-left: 30px !important;
    padding: 0;
    margin: 0;
}
 
.keypoints-list li {
    padding: 11px 14px 11px 30px;
    border-bottom: 1px solid #ffeaa7;
    position: relative;
    font-size: 1em;
    line-height: 1.6;
     color: #856404;
}
 
/* FIX: Extra spacing between first two key points for visual separation */
.keypoints-list li:nth-child(1) {
    margin-bottom: 4px;      /* FIX: Small gap between KP1 and KP2 */
}
 
.keypoints-list li:last-child {
    border-bottom: none;
}
 
.keypoints-list li:before {
    content: "▸";
    position: absolute;
    left: 12px;
    color: #f59e0b;
    font-weight: bold;
    font-size: 1.1em;
}
 
/* ================================================================
  SOURCE ATTRIBUTION
  ================================================================ */
 
.source-attribution {
    background: #e7f3ff;
    border: 1px solid #bee5eb;
    border-left: 4px solid #17a2b8;
    padding: 12px 16px;
    margin: 20px 0;
    border-radius: 6px;
    font-size: 1em;
    line-height: 1.65;
    color: #0c5460;
}
 
.source-attribution a {
    color: #0056b3;
    text-decoration: underline;
}
 
/* ================================================================
  MODERN STYLE ALTERNATIVES
  ================================================================ */
 
.article-container.style-card .article-header {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: none;
    border-left: 5px solid #667eea;
}
 
.article-container.style-gradient .article-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}
 
.article-container.style-gradient .author-info,
.article-container.style-gradient .author-name,
.article-container.style-gradient .date-info {
    color: white;
}
 
.article-container.style-gradient .category-badge {
    background: rgba(255,255,255,0.3);
    border: 1px solid white;
}
 
.article-container.style-minimal .article-header {
    background: transparent;
    border-bottom: 3px solid #212529;
    border-radius: 0;
}
 
.article-container.style-minimal .introduction-section {
    background: transparent;
    border-left: 5px solid #ffc107;
    border-radius: 0;
}
 
/* ================================================================
  MOBILE RESPONSIVE
  ================================================================ */
 
@media (max-width: 768px) {
    .author-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .date-info {
        text-align: left;
    }
    .category-badge {
        align-self: flex-start;
     }
     }
}
}
@media screen and (max-width: 850px) {


/* ================================================================
     #p-logo-text {
  PRINT STYLES
         position: static !important;
  ================================================================ */
        left: auto !important;
 
         top: auto !important;
@media print {
     .article-container {
         max-width: 100%;
         font-size: 12pt;
     }
     }
    .content-wrapper {
        display: block;
    }
    .right-sidebar {
        float: right;
        width: 250px;
        margin-left: 20px;
    }
    .author-name,
    .category-badge {
        color: #000 !important;
    }
}
/* ================================================================
  ACCESSIBILITY
  ================================================================ */
a:focus,
button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}


@media (prefers-contrast: high) {
    .article-container {
        border: 2px solid currentColor;
    }
    .article-header {
        border-bottom: 3px solid currentColor;
    }
}
}

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