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

അഭിപ്രായവേദി സംരംഭത്തിൽ നിന്ന്
No edit summary
(ചെ.)No edit summary
 
(ഒരേ ചെയ്ത ഇടയ്ക്കുള്ള 245 നാൾപ്പതിപ്പുകൾ പ്രദർശിപ്പിക്കുന്നില്ല)
വരി 1: വരി 1:
<!-- Custom CSS for Modern Design -->
/* ==========================================================================
<style>
  1. LOAD MALAYALAM GOOGLE FONTS
.article-container {
  ========================================================================== */
    max-width: 1200px;
@import url('https://smc.org.in/fonts/manjari.css');
    margin: 0 auto;
 
     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, 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-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;
}
}


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


.article-meta-box {
/* ==========================================================================
    background: linear-gradient(135deg, #e0e7ff 0%, #cfd9ff 100%);
  PUBLISHING WORKSPACE — HIDE MEDIAWIKI PAGE TITLES
    border-left: 5px solid #4c51bf;
  ========================================================================== */
    padding: 20px;
body.page-CreateArticle #firstHeading,
    margin: 25px 0;
body.page-Editorial_Dashboard #firstHeading {
     border-radius: 8px;
     display: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
}


.introduction-box {
body.mw-special-FormEdit #firstHeading {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
     display: none !important;
     border-left: 5px solid #f59e0b;
    padding: 25px;
    margin: 25px 0;
    border-radius: 8px;
    font-size: 1.15em;
    line-height: 1.9;
    color: #78350f;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}
}


.left-sidebar {
/* GLOBAL MINOR TWEAKS */
     background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
body {
    border: 2px solid #fbbf24;
     line-height: 1.7;
     border-radius: 10px;
}
    padding: 20px;
.article-content * {
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
     line-height: 1.85 !important;
}
#mw-header-hack {
  border-bottom-width: 1px;
}
}


.right-sidebar {
/* ==========================================================================
     background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  2. HEADINGS & TITLES
     border: 2px solid #34d399;
  ========================================================================== */
     border-radius: 10px;
#firstHeading,
     padding: 20px;
.mw-first-heading,
     box-shadow: 0 4px 12px rgba(52, 211, 153, 0.2);
.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;
}
}


.sidebar-title {
:lang(en) #firstHeading, :lang(en) .mw-first-heading {
    font-weight: bold;
     font-size: 2.45em !important;
    margin-bottom: 15px;
     font-size: 1.1em;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}
}


.highlight-box {
@media (max-width: 768px) {
     background: white;
 
     padding: 12px;
     #firstHeading,
     margin-bottom: 12px;
     .mw-first-heading,
    border-radius: 6px;
     .firstHeading {
     border-left: 4px solid #10b981;
 
     box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        font-size: 1.75em !important;
        padding: 16px 20px 8px 20px !important;
     }
 
    :lang(en) #firstHeading,
     :lang(en) .mw-first-heading {
 
        font-size: 1.95em !important;
    }
}
}


.keypoint-list {
/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
     list-style: none;
.mw-displaytitle-subtitle {
    padding: 0;
     display: none !important;
    margin: 0;
}
}


.keypoint-list li {
/* ==========================================================================
     padding: 10px;
  3. LAYOUT & SIDEBARS (FULL WIDTH)
     margin-bottom: 8px;
  ========================================================================== */
     background: white;
#mw-site-navigation, #mw-related-navigation {
     border-radius: 6px;
    display: none !important;
     border-left: 4px solid #f59e0b;
}
     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 {
     max-width: 100% !important;
}
}


.keypoint-list li:before {
/* ==========================================================================
     content: "▸ ";
  4. LOGO INTEGRATION FOR DISPLAY NAME PLACE
    color: #f59e0b;
  ==========================================================================*/
.mw-wiki-title {
     font-family: 'Manjari', sans-serif !important;
     font-weight: bold;
     font-weight: bold;
     margin-right: 8px;
     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;
}
}


.source-box {
.editorial-section {
     background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
     max-width: 700px;
    border: 2px solid #fbbf24;
     margin: 2rem auto;
    border-radius: 8px;
    padding: 18px;
     margin: 30px 0;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.15);
}
}


.author-bio-box {
.editorial-actions {
    background: linear-gradient(135deg, #e0e7ff 0%, #cfd9ff 100%);
     margin-top: 2rem;
    padding: 25px;
     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-button {
     font-size: 1.08em;
     margin-bottom: 1rem;
    line-height: 1.9;
    color: #1f2937;
    text-align: justify;
}
}


.article-content p {
.editorial-button a {
     margin-bottom: 1.2em;
     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;
}
}


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