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

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


/* Malayalam Font Support */
/* GLOBAL FONTS FORCE (Combined to eliminate duplications) */
.article-container {
:lang(ml), :lang(ml) *,
    max-width: 1200px;
body:lang(ml), .mw-body:lang(ml), .mw-body-content:lang(ml), #content:lang(ml),
    margin: 0 auto;
.mw-parser-output:lang(ml), .article-content:lang(ml), .article-content *,
    padding: 20px;
.intro-box:lang(ml), p:lang(ml), span:lang(ml), div:lang(ml),
     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
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;
}
}


/* Apply Malayalam fonts for Malayalam articles */
.article-content,
.article-container[data-language="Malayalam"],
.article-byline,
.article-container.malayalam-article {
.author-profile-bio,
     font-family: 'Manjari', 'Meera', 'Rachana', 'AnjaliOldLipi', 'Noto Sans Malayalam', 'Lohit Malayalam', sans-serif;
.author-card,
    line-height: 1.9;
.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;
}
}


/* ================================================================
  HEADER - Simple and Clean
  ================================================================ */


.article-header {
/* GLOBAL MINOR TWEAKS */
    background: #f8f9fa;
body {
    border-bottom: 3px solid #495057;
    padding: 25px 30px;
    margin-bottom: 0;
    border-radius: 8px 8px 0 0;
}
 
.article-header h1 {
    margin: 0;
    color: #212529;
    font-size: 2.2em;
    font-weight: 600;
}
 
/* ================================================================
  AUTHOR LINE - Single Line, Sober
  ================================================================ */
 
.author-line {
    background: #e9ecef;
    padding: 12px 30px;
    margin-bottom: 20px;
    border-radius: 0 0 8px 8px;
    font-size: 0.95em;
    color: #495057;
}
 
.author-line .author-info {
    font-weight: 600;
}
 
.author-line .date-info,
.author-line .category-info {
    color: #6c757d;
}
 
/* ================================================================
  INTRODUCTION - Directly After Author Line
  ================================================================ */
 
.introduction-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px 25px;
    margin-bottom: 25px;
    border-radius: 6px;
    font-size: 1.1em;
     line-height: 1.7;
     line-height: 1.7;
    color: #856404;
}
/* ================================================================
  TWO COLUMN LAYOUT
  ================================================================ */
.two-column-layout {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}
.main-content {
    flex: 1 1 70%;
    min-width: 0;
}
.right-sidebar {
    flex: 0 0 280px;
}
/* Mobile Responsive */
@media (max-width: 968px) {
    .two-column-layout {
        flex-direction: column;
    }
   
    .right-sidebar {
        flex: 1 1 auto;
        max-width: 100%;
    }
}
/* ================================================================
  MAIN CONTENT
  ================================================================ */
.article-text {
    font-size: 1.05em;
    line-height: 1.8;
    color: #212529;
    text-align: justify;
}
.article-text p {
    margin-bottom: 1.2em;
}
/* Image 1 - Left Aligned */
.image-left {
    float: left;
    margin: 0 20px 15px 0;
    max-width: 400px;
}
.image-left .thumb {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
}
/* Content Images */
.content-image {
    margin: 25px 0;
    clear: both;
}
/* ================================================================
  AUTHOR INFOBOX - Like MediaWiki Style
  ================================================================ */
.infobox {
    background: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
}
.author-box .author-photo {
    text-align: center;
    padding: 15px;
    background: white;
    border-bottom: 1px solid #dee2e6;
}
}
 
.article-content * {
.author-box .author-photo img {
     line-height: 1.85 !important;
     max-width: 100%;
    height: auto;
    border-radius: 4px;
}
}


.author-box .author-name {
/* ==========================================================================
    text-align: center;
  2. HEADINGS & TITLES
    padding: 12px;
  ========================================================================== */
     font-size: 1.1em;
#firstHeading, .mw-first-heading, .firstHeading {
     font-weight: 600;
     font-size: 2.35em !important;
     color: #212529;
     font-weight: 700 !important;
     background: #e9ecef;
     margin-bottom: 0.4em !important;
     border-bottom: 1px solid #dee2e6;
     color: #222;
     border-bottom: solid 4px #36c;
}
}
 
:lang(en) #firstHeading, :lang(en) .mw-first-heading {
.author-box .author-name a {
     font-size: 2.45em !important;
     color: #0056b3;
    text-decoration: none;
}
}


.author-box .author-name a:hover {
/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
     text-decoration: underline;
.mw-displaytitle-subtitle {
     display: none !important;
}
}


.author-box .author-bio-short {
/* ==========================================================================
     padding: 15px;
  3. LAYOUT & SIDEBARS (FULL WIDTH)
    font-size: 0.9em;
  ========================================================================== */
    line-height: 1.6;
#mw-site-navigation, #mw-related-navigation {
    color: #495057;
     display: none !important;
}
}
 
#mw-content-container {
/* ================================================================
     margin-left: 0 !important;
  HIGHLIGHTS - Separated Boxes
     margin-right: 0 !important;
  ================================================================ */
     padding-left: 1rem !important;
 
     padding-right: 1rem !important;
.highlight-box {
     max-width: 100% !important;
     background: #d4edda;
     border: 1px solid #c3e6cb;
     border-left: 4px solid #28a745;
     border-radius: 6px;
     margin-bottom: 15px;
    overflow: hidden;
}
}
 
#content {
.highlight-title {
     max-width: 100% !important;
     background: #28a745;
    color: white;
    padding: 8px 12px;
    font-weight: 600;
    font-size: 0.9em;
}
}


.highlight-content {
/* ==========================================================================
    padding: 12px;
  4. FIXED: HIDE PAGE TABS FOR ANONYMOUS USERS ONLY
    font-size: 0.9em;
  ========================================================================== */
    line-height: 1.6;
.anon-visitor #mw-page-header-links,
     color: #155724;
.anon-visitor #siteSub {
     display: none !important;
}
}
 
.anon-visitor #mw-site-navigation,
/* ================================================================
.anon-visitor #mw-related-navigation {
  FLOATING KEY POINTS
     display: none !important;
  ================================================================ */
 
.floating-keypoints {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 15px 20px;
    margin: 25px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
 
.keypoints-title {
    font-weight: 600;
    font-size: 1.05em;
    color: #856404;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ffeaa7;
}
 
.keypoints-list {
     list-style: none;
    padding: 0;
    margin: 0;
}
 
.keypoints-list li {
    padding: 8px 0 8px 20px;
    position: relative;
    color: #856404;
    line-height: 1.6;
}
}
 
/* ==========================================================================
.keypoints-list li:before {
  5. LOGO INTEGRATION FOR DISPLAY NAME PLACE
     content: "▸";
  ========================================================================== */
    position: absolute;
.mw-wiki-title {
    left: 0;
     font-family: 'Manjari', sans-serif !important;
    color: #ffc107;
     font-weight: bold;
     font-weight: bold;
    font-size: 22px;
    color: #002B49 !important; /* Deep Navy */
}
}
@media (max-width: 768px) {


/* ================================================================
    #mw-content-container {
  SOURCE BOX
        padding-left: 8px !important;
  ================================================================ */
        padding-right: 8px !important;
    }
#p-logo-text {
        min-width: auto !important;
        width: 240px !important;
        max-width: 240px !important;
    }


.source-box {
    background: #e7f3ff;
    border: 1px solid #bee5eb;
    border-left: 4px solid #17a2b8;
    border-radius: 6px;
    margin: 25px 0;
    overflow: hidden;
}
}


.source-title {
@media (max-width: 768px) {
    background: #17a2b8;
    color: white;
    padding: 10px 15px;
    font-weight: 600;
}


.source-content {
    #p-banner {
    padding: 15px;
        width: 240px !important;
    font-size: 0.95em;
        height: 38px !important;
    line-height: 1.7;
     }
     color: #0c5460;
}


.source-content a {
     #simpleSearch {
     color: #0056b3;
        margin-left: 30px !important;
    text-decoration: underline;
     }
}
 
/* ================================================================
  THEME SUPPORT - Viewer Preferences
  ================================================================ */
 
/* Green Theme */
.theme-green .article-header {
    background: #e8f5e9;
    border-bottom-color: #4caf50;
}
 
.theme-green .author-line {
    background: #c8e6c9;
}
 
.theme-green .introduction-box {
    background: #e8f5e9;
    border-left-color: #4caf50;
    color: #2e7d32;
}
 
.theme-green .highlight-box {
    background: #e8f5e9;
    border-color: #c8e6c9;
    border-left-color: #4caf50;
}
 
.theme-green .highlight-title {
    background: #4caf50;
}
 
.theme-green .highlight-content {
     color: #2e7d32;
}
 
/* Blue Theme */
.theme-blue .article-header {
    background: #e3f2fd;
    border-bottom-color: #2196f3;
}
 
.theme-blue .author-line {
    background: #bbdefb;
}
 
.theme-blue .introduction-box {
    background: #e3f2fd;
    border-left-color: #2196f3;
    color: #1565c0;
}
 
.theme-blue .highlight-box {
    background: #e3f2fd;
    border-color: #bbdefb;
    border-left-color: #2196f3;
}
 
.theme-blue .highlight-title {
    background: #2196f3;
}
 
.theme-blue .highlight-content {
    color: #1565c0;
}
 
/* Grey Theme */
.theme-grey .article-header {
    background: #f5f5f5;
    border-bottom-color: #757575;
}
 
.theme-grey .author-line {
    background: #eeeeee;
}
 
.theme-grey .introduction-box {
    background: #fafafa;
    border-left-color: #757575;
    color: #424242;
}
 
.theme-grey .highlight-box {
    background: #fafafa;
    border-color: #e0e0e0;
    border-left-color: #757575;
}
 
.theme-grey .highlight-title {
    background: #757575;
}
}
@media screen and (max-width: 850px) {


.theme-grey .highlight-content {
    #p-logo-text {
    color: #424242;
        position: static !important;
}
        left: auto !important;
 
         top: auto !important;
/* ================================================================
  PRINT STYLES
  ================================================================ */
 
@media print {
    .article-container {
         max-width: 100%;
     }
     }
   
    .two-column-layout {
        display: block;
    }
   
    .right-sidebar {
        float: right;
        width: 250px;
        margin-left: 20px;
    }
   
    .floating-keypoints {
        page-break-inside: avoid;
    }
}
/* ================================================================
  UTILITY CLASSES
  ================================================================ */
/* Text alignment for manual image placement */
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }


/* Clear floats */
.clear { clear: both; }
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
}

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