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

അഭിപ്രായവേദി സംരംഭത്തിൽ നിന്ന്
No edit summary
(ചെ.)No edit summary
 
(ഒരേ ചെയ്ത ഇടയ്ക്കുള്ള 244 നാൾപ്പതിപ്പുകൾ പ്രദർശിപ്പിക്കുന്നില്ല)
വരി 1: വരി 1:
<!-- Custom CSS with Malayalam Font Support -->
/* ==========================================================================
<style>
  1. LOAD MALAYALAM GOOGLE FONTS
/* Malayalam Font Stack */
  ========================================================================== */
.malayalam-text {
@import url('https://smc.org.in/fonts/manjari.css');
     font-family: 'Manjari', 'Meera', 'Rachana', 'AnjaliOldLipi', 'Chilanka', 'Dyuthi', 'Gayathri', 'Karumbi', 'Keraleeyam', 'Lohit Malayalam', 'Noto Sans Malayalam', 'Noto Serif Malayalam', sans-serif;
 
/* 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-container {
.article-content,
    max-width: 1200px;
.article-byline,
    margin: 0 auto;
.author-profile-bio,
     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
.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;
}
}


/* Apply Malayalam fonts when Language=Malayalam */
.page-Main_Page #firstHeading {
{{#ifeq:{{{Language|}}}|Malayalam|
    display: none;
.article-container {
}
    font-family: 'Manjari', 'Meera', 'Rachana', 'AnjaliOldLipi', 'Chilanka', 'Dyuthi', 'Gayathri', 'Karumbi', 'Keraleeyam', 'Lohit Malayalam', 'Noto Sans Malayalam', 'Noto Serif Malayalam', sans-serif;
body.ns-14 #firstHeading {
  display: none !important;
}
}


.article-header h1,
/* ==========================================================================
.article-content,
  PUBLISHING WORKSPACE — HIDE MEDIAWIKI PAGE TITLES
.introduction-box,
  ========================================================================== */
.sidebar-title,
body.page-CreateArticle #firstHeading,
.keypoint-list li,
body.page-Editorial_Dashboard #firstHeading {
.highlight-box,
     display: none !important;
.source-box,
.author-bio-box {
     font-family: 'Manjari', 'Meera', 'Rachana', 'AnjaliOldLipi', 'Chilanka', 'Dyuthi', 'Gayathri', 'Karumbi', 'Keraleeyam', 'Lohit Malayalam', 'Noto Sans Malayalam', 'Noto Serif Malayalam', sans-serif;
    line-height: 1.8;
}
}
|}}


.article-header {
body.mw-special-FormEdit #firstHeading {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     display: none !important;
    color: white;
    padding: 40px;
    border-radius: 12px;
     margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}
}


.article-meta-box {
/* GLOBAL MINOR TWEAKS */
     background: linear-gradient(135deg, #e0e7ff 0%, #cfd9ff 100%);
body {
    border-left: 5px solid #4c51bf;
     line-height: 1.7;
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
}
.article-content * {
    line-height: 1.85 !important;
}
#mw-header-hack {
  border-bottom-width: 1px;
}
/* ==========================================================================
  2. HEADINGS & TITLES
  ========================================================================== */
#firstHeading,
.mw-first-heading,
.firstHeading {


.introduction-box {
    font-family:'Manjari',
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
          'Noto Sans Malayalam',
     border-left: 5px solid #f59e0b;
            sans-serif !important;
     padding: 25px;
     font-size:2.2em !important;
     margin: 25px 0;
     font-weight:700 !important;
     border-radius: 8px;
     margin:0 !important;
     font-size: 1.15em;
     padding:20px 28px 8px 28px !important;
     line-height: 1.9;
     background:#f4f7fb;
     color: #78350f;
     border-left:6px solid #36c;
     font-weight: 500;
     border-bottom:none !important;
     box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
     border-radius:12px 12px 0 0;
     color:#222;
}
}


.left-sidebar {
:lang(en) #firstHeading, :lang(en) .mw-first-heading {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
     font-size: 2.45em !important;
    border: 2px solid #fbbf24;
    border-radius: 10px;
    padding: 20px;
     box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}
}


.right-sidebar {
@media (max-width: 768px) {
     background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
 
     border: 2px solid #34d399;
     #firstHeading,
     border-radius: 10px;
     .mw-first-heading,
    padding: 20px;
     .firstHeading {
     box-shadow: 0 4px 12px rgba(52, 211, 153, 0.2);
 
        font-size: 1.75em !important;
        padding: 16px 20px 8px 20px !important;
     }
 
    :lang(en) #firstHeading,
    :lang(en) .mw-first-heading {
 
        font-size: 1.95em !important;
    }
}
}


.sidebar-title {
/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
     font-weight: bold;
.mw-displaytitle-subtitle {
    margin-bottom: 15px;
     display: none !important;
    font-size: 1.1em;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}
}


.highlight-box {
/* ==========================================================================
     background: white;
  3. LAYOUT & SIDEBARS (FULL WIDTH)
     padding: 12px;
  ========================================================================== */
     margin-bottom: 12px;
#mw-site-navigation, #mw-related-navigation {
     border-radius: 6px;
     display: none !important;
     border-left: 4px solid #10b981;
}
     box-shadow: 0 2px 4px rgba(0,0,0,0.05);
#mw-content-container {
     margin-left: 0 !important;
     margin-right: 0 !important;
     padding-left: 1rem !important;
     padding-right: 1rem !important;
     max-width: 100% !important;
}
}
 
#content {
.keypoint-list {
     max-width: 100% !important;
     list-style: none;
    padding: 0;
    margin: 0;
}
}


.keypoint-list li {
/* ==========================================================================
     padding: 10px;
  4. LOGO INTEGRATION FOR DISPLAY NAME PLACE
     margin-bottom: 8px;
  ==========================================================================*/
    background: white;
.mw-wiki-title {
     border-radius: 6px;
     font-family: 'Manjari', sans-serif !important;
     border-left: 4px solid #f59e0b;
     font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
     font-size: 22px;
     color: #002B49 !important; /* Deep Navy */
}
}
@media (max-width: 768px) {


.keypoint-list li:before {
    #mw-content-container {
    content: "▸ ";
        padding-left: 8px !important;
    color: #f59e0b;
        padding-right: 8px !important;
    font-weight: bold;
    }
    margin-right: 8px;
}
}
/* ==========================================================
  5. Editorial Access
  ========================================================== */


.source-box {
/* Initially hide both panels.
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  JavaScript will reveal the correct one. */
    border: 2px solid #fbbf24;
#editorial-login,
    border-radius: 8px;
#editorial-workspace {
     padding: 18px;
     display: none;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.15);
}
}


.author-bio-box {
.editorial-section {
     background: linear-gradient(135deg, #e0e7ff 0%, #cfd9ff 100%);
     max-width: 700px;
    padding: 25px;
     margin: 2rem auto;
     margin: 35px 0 25px 0;
    border-top: 4px solid #667eea;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}
}


.article-content {
.editorial-actions {
     font-size: 1.08em;
     margin-top: 2rem;
    line-height: 1.9;
    color: #1f2937;
    text-align: justify;
}
}


.article-content p {
.editorial-button {
     margin-bottom: 1.2em;
     margin-bottom: 1rem;
}
}


/* Language Badge */
.editorial-button a {
.language-badge {
     display: block;
     display: inline-block;
     padding: 12px 18px;
     background: rgba(255, 255, 255, 0.2);
    border: 1px solid #c8ccd1;
     color: white;
     border-radius: 6px;
     padding: 4px 12px;
     text-align: center;
     border-radius: 20px;
     text-decoration: none;
     font-size: 0.85em;
     font-weight: 600;
     margin-left: 10px;
    background: #f8f9fa;
     transition: background 0.2s ease;
}
}


@media (max-width: 768px) {
.editorial-button a:hover {
     .article-layout {
     background: #eaecf0;
        flex-direction: column !important;
    }
   
    .left-sidebar, .right-sidebar {
        flex: 1 1 auto !important;
        margin-bottom: 20px;
    }
}
}
</style>

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