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

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


/* Base Font Size Increase */
/* GLOBAL FONTS FORCE (Combined to eliminate duplications) */
body {
:lang(ml), :lang(ml) *,
     font-size: 16px; /* Increased from default 14px */
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; /* Makes all content 17.6px */
.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 {
  ARTICLE CONTAINER
     display: none;
  ================================================================ */
 
.article-container {
     max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1.05em; /* 18.48px */
}
}
 
body.ns-14 #firstHeading {
/* Malayalam Font Support */
  display: none !important;
.article-container[data-language="Malayalam"] {
    font-family: 'Manjari', 'Meera', 'Rachana', 'AnjaliOldLipi', 'Noto Sans Malayalam', sans-serif;
    line-height: 2; /* More line height for Malayalam */
}
}


/* ================================================================
/* ==========================================================================
   HEADER - Compact, Author Prominent
   PUBLISHING WORKSPACE — HIDE MEDIAWIKI PAGE TITLES
   ================================================================ */
   ========================================================================== */
 
body.page-CreateArticle #firstHeading,
.article-header {
body.page-Editorial_Dashboard #firstHeading {
    background: # f8f8f2;
     display: none !important;
    border-bottom: 2px solid #495057;
    padding: 15px 25px;
     margin-bottom: 2px;
    border-radius: 6px 6px 0 0;
}
}


.author-info {
body.mw-special-FormEdit #firstHeading {
     display: flex;
     display: none !important;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 1.1em; /* 20.3px */
}
}


.author-name {
/* GLOBAL MINOR TWEAKS */
     font-weight: 700;
body {
    font-size: 1.4em; /* 28.4px - PROMINENT */
     line-height: 1.7;
    color: #212529;
}
}
 
.article-content * {
.date-info {
     line-height: 1.85 !important;
     color: #6c757d;
    font-size: 1em;
}
}
 
#mw-header-hack {
.category-badge {
  border-bottom-width: 1px;
    background: #667eea;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}
}


/* ================================================================
/* ==========================================================================
   INTRODUCTION - Prominent but Compact
   2. HEADINGS & TITLES
   ================================================================ */
   ========================================================================== */
#firstHeading,
.mw-first-heading,
.firstHeading {


.introduction-section {
    font-family:'Manjari',
     background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
          'Noto Sans Malayalam',
     border-left: 5px solid #f59e0b;
            sans-serif !important;
     padding: 20px 25px;
     font-size:2.2em !important;
     margin-bottom: 25px;
    font-weight:700 !important;
     border-radius: 0 0 6px 6px;
     margin:0 !important;
     font-size: 1.15em; /* 21.3px */
     padding:20px 28px 8px 28px !important;
     line-height: 1.7;
     background:#f4f7fb;
     color: #78350f;
     border-left:6px solid #36c;
    font-weight: 500;
     border-bottom:none !important;
     border-radius:12px 12px 0 0;
     color:#222;
}
}


/* ================================================================
:lang(en) #firstHeading, :lang(en) .mw-first-heading {
  CONTENT LAYOUT
     font-size: 2.45em !important;
  ================================================================ */
 
.content-wrapper {
     display: flex;
    gap: 30px;
    margin-bottom: 30px;
}
}


.main-content {
@media (max-width: 768px) {
    flex: 1 1 70%;
    min-width: 0;
}


.right-sidebar {
    #firstHeading,
     flex: 0 0 300px;
    .mw-first-heading,
}
     .firstHeading {


@media (max-width: 968px) {
        font-size: 1.75em !important;
    .content-wrapper {
         padding: 16px 20px 8px 20px !important;
         flex-direction: column;
     }
     }
      
 
     .right-sidebar {
     :lang(en) #firstHeading,
        flex: 1 1 auto;
     :lang(en) .mw-first-heading {
         max-width: 100%;
 
         font-size: 1.95em !important;
     }
     }
}
}


/* ================================================================
/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
  ARTICLE TEXT
.mw-displaytitle-subtitle {
  ================================================================ */
     display: none !important;
 
.article-text {
     font-size: 1.15em; /* 21.3px - LARGER */
    line-height: 1.9;
    color: #212529;
    text-align: justify;
}
}


.article-text p {
/* ==========================================================================
     margin-bottom: 1.3em;
  3. LAYOUT & SIDEBARS (FULL WIDTH)
  ========================================================================== */
#mw-site-navigation, #mw-related-navigation {
     display: none !important;
}
}
 
#mw-content-container {
/* Headings in Article */
     margin-left: 0 !important;
.article-text h2 {
     margin-right: 0 !important;
    font-size: 1.6em; /* 34px */
     padding-left: 1rem !important;
     margin-top: 1.5em;
     padding-right: 1rem !important;
     margin-bottom: 0.8em;
     max-width: 100% !important;
     color: #212529;
     border-bottom: 2px solid #dee2e6;
     padding-bottom: 0.3em;
}
}
 
#content {
.article-text h3 {
     max-width: 100% !important;
     font-size: 1.3em; /* 27.7px */
    margin-top: 1.3em;
    margin-bottom: 0.7em;
    color: #495057;
}
}


/* ================================================================
/* ==========================================================================
   IMAGES
   4. LOGO INTEGRATION FOR DISPLAY NAME PLACE
   ================================================================ */
   ==========================================================================*/
 
.mw-wiki-title {
.image-left {
     font-family: 'Manjari', sans-serif !important;
     float: left;
     font-weight: bold;
     margin: 0 25px 20px 0;
     font-size: 22px;
     max-width: 420px;
    color: #002B49 !important; /* Deep Navy */
}
}
@media (max-width: 768px) {


.image-left .thumb {
    #mw-content-container {
    background: #f8f9fa;
        padding-left: 8px !important;
    border: 1px solid #dee2e6;
        padding-right: 8px !important;
    }
}
}
/* ==========================================================
  5. Editorial Access
  ========================================================== */


.content-image {
/* Initially hide both panels.
     margin: 30px 0;
  JavaScript will reveal the correct one. */
    clear: both;
#editorial-login,
#editorial-workspace {
     display: none;
}
}


/* Image Captions - Larger */
.editorial-section {
.thumbcaption {
     max-width: 700px;
     font-size: 0.95em !important; /* Larger captions */
     margin: 2rem auto;
    line-height: 1.5 !important;
     padding: 8px !important;
}
}


/* ================================================================
.editorial-actions {
  AUTHOR INFOBOX
     margin-top: 2rem;
  ================================================================ */
 
.author-infobox {
    background: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 8px;
     margin-bottom: 20px;
    overflow: hidden;
}
}


.author-photo {
.editorial-button {
     text-align: center;
     margin-bottom: 1rem;
    padding: 15px;
    background: white;
    border-bottom: 1px solid #dee2e6;
}
}


.author-photo img {
.editorial-button a {
     max-width: 100%;
     display: block;
     height: auto;
    padding: 12px 18px;
     border: 1px solid #c8ccd1;
     border-radius: 6px;
     border-radius: 6px;
}
.author-name-box {
     text-align: center;
     text-align: center;
    padding: 15px;
    font-size: 1.2em; /* 22.2px */
    font-weight: 700;
    color: #212529;
    background: #e9ecef;
    border-bottom: 1px solid #dee2e6;
}
.author-name-box a {
    color: #0056b3;
     text-decoration: none;
     text-decoration: none;
}
.author-name-box a:hover {
    text-decoration: underline;
}
.author-bio {
    padding: 15px;
    font-size: 1em; /* 18.5px */
    line-height: 1.7;
    color: #495057;
}
/* ================================================================
  HIGHLIGHTS
  ================================================================ */
.highlight-box {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-left: 4px solid #28a745;
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
}
.highlight-title {
    background: #28a745;
    color: white;
    padding: 10px 14px;
     font-weight: 600;
     font-weight: 600;
     font-size: 1em;
     background: #f8f9fa;
    transition: background 0.2s ease;
}
}


.highlight-text {
.editorial-button a:hover {
    padding: 14px;
     background: #eaecf0;
    font-size: 1em; /* 18.5px */
    line-height: 1.7;
    color: #155724;
}
 
/* ================================================================
  KEY POINTS - Floating Box in Sidebar
  ================================================================ */
 
.keypoints-float {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}
 
.keypoints-header {
    background: #ffc107;
    color: #212529;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 1em;
}
 
.keypoints-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
 
.keypoints-list li {
    padding: 12px 14px;
    border-bottom: 1px solid #ffeaa7;
    position: relative;
    padding-left: 30px;
    font-size: 1em; /* 18.5px */
    line-height: 1.6;
    color: #856404;
}
 
.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: 15px 18px;
    margin: 25px 0;
    border-radius: 6px;
    font-size: 1em; /* 18.5px */
    line-height: 1.7;
    color: #0c5460;
}
 
.source-attribution a {
    color: #0056b3;
    text-decoration: underline;
}
 
/* ================================================================
  MODERN STYLE ALTERNATIVES
  ================================================================ */
 
/* Alternative 1: Card Style */
.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;
}
 
/* Alternative 2: Gradient Header */
.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;
}
 
/* Alternative 3: Minimal Style */
.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;
}
 
/* ================================================================
  PRINT STYLES
  ================================================================ */
 
@media print {
    .article-container {
        max-width: 100%;
        font-size: 12pt;
    }
   
    .content-wrapper {
        display: block;
    }
   
    .right-sidebar {
        float: right;
        width: 250px;
        margin-left: 20px;
    }
   
    .author-header,
    .category-badge {
        color: #000 !important;
    }
}
 
/* ================================================================
  ACCESSIBILITY
  ================================================================ */
 
/* Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}
 
/* High contrast mode support */
@media (prefers-contrast: high) {
    .article-container {
        border: 2px solid currentColor;
    }
   
    .article-header {
        border-bottom: 3px solid currentColor;
    }
}
}

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