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

അഭിപ്രായവേദി സംരംഭത്തിൽ നിന്ന്
No edit summary
(ചെ.)No edit summary
 
(ഒരേ ചെയ്ത ഇടയ്ക്കുള്ള 243 നാൾപ്പതിപ്പുകൾ പ്രദർശിപ്പിക്കുന്നില്ല)
വരി 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;
}
}


/* ================================================================
.page-Main_Page #firstHeading {
  HEADER - Simple and Clean
     display: none;
  ================================================================ */
 
.article-header {
     background: #f8f9fa;
    border-bottom: 3px solid #495057;
    padding: 25px 30px;
    margin-bottom: 0;
    border-radius: 8px 8px 0 0;
}
}
 
body.ns-14 #firstHeading {
.article-header h1 {
  display: none !important;
    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;
  PUBLISHING WORKSPACE — HIDE MEDIAWIKI PAGE TITLES
  ========================================================================== */
body.page-CreateArticle #firstHeading,
body.page-Editorial_Dashboard #firstHeading {
     display: none !important;
}
}


.author-line .date-info,
body.mw-special-FormEdit #firstHeading {
.author-line .category-info {
     display: none !important;
     color: #6c757d;
}
}


/* ================================================================
/* GLOBAL MINOR TWEAKS */
  INTRODUCTION - Directly After Author Line
body {
  ================================================================ */
 
.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;
}
}
 
.article-content * {
/* ================================================================
     line-height: 1.85 !important;
  TWO COLUMN LAYOUT
  ================================================================ */
 
.two-column-layout {
     display: flex;
    gap: 30px;
    margin-bottom: 30px;
}
}
 
#mw-header-hack {
.main-content {
  border-bottom-width: 1px;
    flex: 1 1 70%;
    min-width: 0;
}
}


.right-sidebar {
/* ==========================================================================
    flex: 0 0 280px;
  2. HEADINGS & TITLES
}
  ========================================================================== */
#firstHeading,
.mw-first-heading,
.firstHeading {


/* Mobile Responsive */
    font-family:'Manjari',
@media (max-width: 968px) {
          'Noto Sans Malayalam',
     .two-column-layout {
            sans-serif !important;
        flex-direction: column;
    font-size:2.2em !important;
     }
     font-weight:700 !important;
      
    margin:0 !important;
     .right-sidebar {
     padding:20px 28px 8px 28px !important;
        flex: 1 1 auto;
     background:#f4f7fb;
        max-width: 100%;
     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 {
  MAIN CONTENT
     font-size: 2.45em !important;
  ================================================================ */
 
.article-text {
     font-size: 1.05em;
    line-height: 1.8;
    color: #212529;
    text-align: justify;
}
}


.article-text p {
@media (max-width: 768px) {
    margin-bottom: 1.2em;
}


/* Image 1 - Left Aligned */
    #firstHeading,
.image-left {
    .mw-first-heading,
     float: left;
     .firstHeading {
    margin: 0 20px 15px 0;
    max-width: 400px;
}


.image-left .thumb {
        font-size: 1.75em !important;
    background: #f8f9fa;
        padding: 16px 20px 8px 20px !important;
     border: 1px solid #dee2e6;
     }
}


/* Content Images */
     :lang(en) #firstHeading,
.content-image {
     :lang(en) .mw-first-heading {
     margin: 25px 0;
     clear: both;
}


/* ================================================================
        font-size: 1.95em !important;
  AUTHOR INFOBOX - Like MediaWiki Style
     }
  ================================================================ */
 
.infobox {
    background: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 6px;
    margin-bottom: 20px;
     overflow: hidden;
}
}


.author-box .author-photo {
/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
     text-align: center;
.mw-displaytitle-subtitle {
    padding: 15px;
     display: none !important;
    background: white;
    border-bottom: 1px solid #dee2e6;
}
}


.author-box .author-photo img {
/* ==========================================================================
     max-width: 100%;
  3. LAYOUT & SIDEBARS (FULL WIDTH)
    height: auto;
  ========================================================================== */
    border-radius: 4px;
#mw-site-navigation, #mw-related-navigation {
     display: none !important;
}
}
 
#mw-content-container {
.author-box .author-name {
     margin-left: 0 !important;
     text-align: center;
     margin-right: 0 !important;
     padding: 12px;
     padding-left: 1rem !important;
     font-size: 1.1em;
     padding-right: 1rem !important;
     font-weight: 600;
     max-width: 100% !important;
     color: #212529;
    background: #e9ecef;
    border-bottom: 1px solid #dee2e6;
}
}
 
#content {
.author-box .author-name a {
     max-width: 100% !important;
     color: #0056b3;
    text-decoration: none;
}
}


.author-box .author-name a:hover {
/* ==========================================================================
     text-decoration: underline;
  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) {


.author-box .author-bio-short {
    #mw-content-container {
    padding: 15px;
        padding-left: 8px !important;
    font-size: 0.9em;
        padding-right: 8px !important;
    line-height: 1.6;
     }
     color: #495057;
}
}
/* ==========================================================
  5. Editorial Access
  ========================================================== */


/* ================================================================
/* Initially hide both panels.
   HIGHLIGHTS - Separated Boxes
   JavaScript will reveal the correct one. */
  ================================================================ */
#editorial-login,
 
#editorial-workspace {
.highlight-box {
     display: none;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-left: 4px solid #28a745;
    border-radius: 6px;
    margin-bottom: 15px;
     overflow: hidden;
}
}


.highlight-title {
.editorial-section {
     background: #28a745;
     max-width: 700px;
    color: white;
     margin: 2rem auto;
    padding: 8px 12px;
    font-weight: 600;
     font-size: 0.9em;
}
}


.highlight-content {
.editorial-actions {
     padding: 12px;
     margin-top: 2rem;
    font-size: 0.9em;
    line-height: 1.6;
    color: #155724;
}
}


/* ================================================================
.editorial-button {
  FLOATING KEY POINTS
     margin-bottom: 1rem;
  ================================================================ */
 
.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 {
.editorial-button a {
     font-weight: 600;
     display: block;
     font-size: 1.05em;
     padding: 12px 18px;
    color: #856404;
     border: 1px solid #c8ccd1;
    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 {
    content: "▸";
    position: absolute;
    left: 0;
    color: #ffc107;
    font-weight: bold;
}
 
/* ================================================================
  SOURCE BOX
  ================================================================ */
 
.source-box {
    background: #e7f3ff;
    border: 1px solid #bee5eb;
    border-left: 4px solid #17a2b8;
     border-radius: 6px;
     border-radius: 6px;
     margin: 25px 0;
     text-align: center;
     overflow: hidden;
     text-decoration: none;
}
 
.source-title {
    background: #17a2b8;
    color: white;
    padding: 10px 15px;
     font-weight: 600;
     font-weight: 600;
    background: #f8f9fa;
    transition: background 0.2s ease;
}
}


.source-content {
.editorial-button a:hover {
    padding: 15px;
     background: #eaecf0;
    font-size: 0.95em;
    line-height: 1.7;
    color: #0c5460;
}
 
.source-content a {
    color: #0056b3;
    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;
}
 
.theme-grey .highlight-content {
    color: #424242;
}
 
/* ================================================================
  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: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" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്