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

അഭിപ്രായവേദി സംരംഭത്തിൽ നിന്ന്
No edit summary
(ചെ.)No edit summary
 
(ഒരേ ചെയ്ത ഇടയ്ക്കുള്ള 207 നാൾപ്പതിപ്പുകൾ പ്രദർശിപ്പിക്കുന്നില്ല)
വരി 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-header {
.article-content,
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
.article-byline,
    color: white;
.author-profile-bio,
    padding: 40px;
.author-card,
    border-radius: 12px;
.author-card-name,
    margin-bottom: 30px;
.author-card-bio,
     box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
.article-title,
.related-heading,
.author-heading,
.article-meta-row,
.article-author {
     font-family: 'Manjari',
                'Meera',
                'Rachana',
                'Noto Sans Malayalam',
                sans-serif !important;
}
}


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


.introduction-box {
/* ==========================================================================
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  2. HEADINGS & TITLES
     border-left: 5px solid #f59e0b;
  ========================================================================== */
     padding: 25px;
#firstHeading, .mw-first-heading, .firstHeading {
     margin: 25px 0;
     font-size: 2.35em !important;
     border-radius: 8px;
     font-weight: 700 !important;
     font-size: 1.15em;
     margin-bottom: 0.4em !important;
    line-height: 1.9;
     color: #222;
    color: #78350f;
     border-bottom: solid 4px #36c;
     font-weight: 500;
}
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
:lang(en) #firstHeading, :lang(en) .mw-first-heading {
     font-size: 2.45em !important;
}
}


.left-sidebar {
/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
     background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
.mw-displaytitle-subtitle {
    border: 2px solid #fbbf24;
     display: none !important;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}
}


.right-sidebar {
/* ==========================================================================
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  3. LAYOUT & SIDEBARS (FULL WIDTH)
    border: 2px solid #34d399;
  ========================================================================== */
    border-radius: 10px;
#mw-site-navigation, #mw-related-navigation {
    padding: 20px;
     display: none !important;
     box-shadow: 0 4px 12px rgba(52, 211, 153, 0.2);
}
}
 
#mw-content-container {
.sidebar-title {
     margin-left: 0 !important;
     font-weight: bold;
     margin-right: 0 !important;
     margin-bottom: 15px;
     padding-left: 1rem !important;
     font-size: 1.1em;
     padding-right: 1rem !important;
     padding-bottom: 10px;
     max-width: 100% !important;
     border-bottom: 2px solid rgba(0,0,0,0.1);
}
}
 
#content {
.highlight-box {
     max-width: 100% !important;
     background: white;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 6px;
    border-left: 4px solid #10b981;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
}


.keypoint-list {
/* ==========================================================================
     list-style: none;
  4. FIXED: HIDE PAGE TABS FOR ANONYMOUS USERS ONLY
    padding: 0;
  ========================================================================== */
    margin: 0;
.anon-visitor #mw-page-header-links,
.anon-visitor #siteSub {
     display: none !important;
}
}
 
.anon-visitor #mw-site-navigation,
.keypoint-list li {
.anon-visitor #mw-related-navigation {
    padding: 10px;
     display: none !important;
    margin-bottom: 8px;
    background: white;
    border-radius: 6px;
    border-left: 4px solid #f59e0b;
     box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
}
 
/* ==========================================================================
.keypoint-list li:before {
  5. LOGO INTEGRATION FOR DISPLAY NAME PLACE
     content: "▸ ";
  ========================================================================== */
    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;
    }
#p-logo-text {
        min-width: auto !important;
        width: 240px !important;
        max-width: 240px !important;
    }


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


.author-bio-box {
@media (max-width: 768px) {
    background: linear-gradient(135deg, #e0e7ff 0%, #cfd9ff 100%);
    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 {
    #p-banner {
    font-size: 1.08em;
        width: 240px !important;
    line-height: 1.9;
        height: 38px !important;
     color: #1f2937;
     }
    text-align: justify;
}


.article-content p {
    #simpleSearch {
    margin-bottom: 1.2em;
        margin-left: 30px !important;
    }
}
}
@media screen and (max-width: 850px) {


@media (max-width: 768px) {
    #p-logo-text {
    .article-layout {
         position: static !important;
         flex-direction: column !important;
        left: auto !important;
    }
         top: auto !important;
   
    .left-sidebar, .right-sidebar {
        flex: 1 1 auto !important;
         margin-bottom: 20px;
     }
     }
}
}
</style>

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