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

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


/* Reduce gap between tab bar and article content */
/* GLOBAL FONTS FORCE (Combined to eliminate duplications) */
#firstHeading {
:lang(ml), :lang(ml) *,
     margin-bottom: 4px;
body:lang(ml), .mw-body:lang(ml), .mw-body-content:lang(ml), #content:lang(ml),
    padding-bottom: 2px;
.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;
}
}


#mw-content-text,
.article-content,
.mw-body-content,
.article-byline,
.mw-parser-output,
.author-profile-bio,
.page-content {
.author-card,
     padding-top: 0;
.author-card-name,
    margin-top: 0;
.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;
}
}


/* ================================================================
 
  BASE FONT SIZE
/* GLOBAL MINOR TWEAKS */
  ================================================================ */
body {
body {
     font-size: 17px;
     line-height: 1.7;
}
}
.mw-body {
.article-content * {
     font-size: 1.05em;
     line-height: 1.85 !important;
}
}


/* ================================================================
/* ==========================================================================
   ARTICLE CONTAINER
   2. HEADINGS & TITLES
   ================================================================ */
   ========================================================================== */
.article-container {
#firstHeading, .mw-first-heading, .firstHeading {
     max-width: 1200px;
     font-size: 2.35em !important;
     margin: 0 auto;
     font-weight: 700 !important;
     padding: 0 20px 20px 20px; /* top padding 0 */
     margin-bottom: 0.4em !important;
     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
     color: #222;
     font-size: 1.05em;
     border-bottom: solid 4px #36c;
}
}
.article-container[data-language="Malayalam"] {
:lang(en) #firstHeading, :lang(en) .mw-first-heading {
     font-family: 'Manjari','Meera','Rachana','AnjaliOldLipi','Noto Sans Malayalam',sans-serif;
     font-size: 2.45em !important;
    line-height: 1.75;
}
}


/* ================================================================
/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
  HEADER
.mw-displaytitle-subtitle {
  ================================================================ */
     display: none !important;
.article-container .article-header {
    background: #f8f9fa;
    border-bottom: 2px solid #495057;
    padding: 6px 16px;
    margin-top: 0;
    margin-bottom: 10px;
    border-radius: 6px;
}
.article-container .author-info {
     display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    margin: 0;
    width: 100%;
}
.article-container .author-info > * {
    flex: 0 0 auto;
    width: auto;
    float: none;
}
.article-container .author-info .date-info {
    flex: 1 1 auto;
    text-align: center;
}
}


/* ================================================================
/* ==========================================================================
   INTRODUCTION
   3. LAYOUT & SIDEBARS (FULL WIDTH)
   ================================================================ */
   ========================================================================== */
.article-container .introduction-section {
#mw-site-navigation, #mw-related-navigation {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
     display: none !important;
    border-left: 5px solid #f59e0b;
    padding: 2px 16px;
    margin-top: 0;
    margin-bottom: 10px;
    border-radius: 6px;
     font-size: 1.12em;
    line-height: 1.65;
    color: #78350f;
    font-weight: 500;
}
}
 
#mw-content-container {
/* ================================================================
    margin-left: 0 !important;
  CONTENT LAYOUT
    margin-right: 0 !important;
  ================================================================ */
     padding-left: 1rem !important;
.content-wrapper {
     padding-right: 1rem !important;
     display: flex;
     max-width: 100% !important;
     gap: 30px;
     margin-bottom: 30px;
}
}
.main-content { flex: 1 1 70%; min-width: 0; }
#content {
.right-sidebar { flex: 0 0 300px; }
     max-width: 100% !important;
@media (max-width: 968px) {
     .content-wrapper { flex-direction: column; }
    .right-sidebar { flex: 1 1 auto; max-width: 100%; }
}
}


/* ================================================================
/* ==========================================================================
   ARTICLE TEXT
   4. FIXED: HIDE PAGE TABS FOR ANONYMOUS USERS ONLY
   ================================================================ */
   ========================================================================== */
.article-text {
.anon-visitor #mw-page-header-links,
    font-size: 1.15em;
.anon-visitor #siteSub {
    line-height: 1.85;
     display: none !important;
    color: #212529;
     text-align: left;
}
}
.article-text p { margin-bottom: 1.2em; }
.anon-visitor #mw-site-navigation,
.article-text h2 {
.anon-visitor #mw-related-navigation {
    font-size: 1.6em;
     display: none !important;
    margin: 1.5em 0 0.8em;
    color: #212529;
    border-bottom: 2px solid #dee2e6;
     padding-bottom: 0.3em;
}
}
.article-text h3 {
/* ==========================================================================
     font-size: 1.3em;
  5. LOGO INTEGRATION FOR DISPLAY NAME PLACE
     margin: 1.3em 0 0.7em;
  ========================================================================== */
     color: #495057;
.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 {
  AUTHOR INFOBOX
        padding-left: 8px !important;
  ================================================================ */
        padding-right: 8px !important;
.author-infobox {
     }
    background: #f8f9fa;
     border: 1px solid #ced4da;
#p-logo-text {
    border-radius: 8px;
        min-width: auto !important;
    margin-bottom: 20px;
        width: 240px !important;
    overflow: hidden;
         max-width: 240px !important;
}
.author-photo { text-align: center; padding: 12px; background: white; border-bottom: 1px solid #dee2e6; }
.author-photo img { max-width: 100%; height: auto; border-radius: 6px; }
.author-name-box {
    text-align: center;
    padding: 10px 15px;
    font-size: 1.2em;
     font-weight: 500;
    color: #212529;
    background: #e9ecef;
    border-bottom: 1px solid #dee2e6;
}
.author-name-box a { color: #0056b3; text-decoration: none; }
.author-name-box a:hover { text-decoration: underline; }
.author-bio { padding: 12px 15px; font-size: 1em; line-height: 1.65; color: #495057; }
 
/* ================================================================
  RESPONSIVE
  ================================================================ */
@media (max-width: 768px) {
    .article-container .author-info {
        flex-direction: column;
         align-items: flex-start;
        gap: 10px;
     }
     }
    .article-container .author-info .date-info { text-align: left; }
    .article-container .author-info .category-badge { align-self: flex-start; }
}


/* ================================================================
  DEBUG OUTLINES — temporary visual aid
  ================================================================ */
.article-container {
    outline: 2px dashed red;      /* main container */
}
}


.article-header {
@media (max-width: 768px) {
    outline: 2px dashed blue;      /* header box */
}


.author-info {
    #p-banner {
    outline: 2px dashed green;    /* author info flex container */
        width: 240px !important;
}
        height: 38px !important;
     }


.author-info > * {
    #simpleSearch {
    outline: 1px solid orange;    /* each child inside author-info */
        margin-left: 30px !important;
     }
}
}
@media screen and (max-width: 850px) {


.introduction-section {
    #p-logo-text {
    outline: 2px dashed purple;   /* intro section */
        position: static !important;
}
        left: auto !important;
 
        top: auto !important;
.content-wrapper {
     }
    outline: 2px dashed brown;    /* main content wrapper */
}


.right-sidebar {
    outline: 2px dashed teal;      /* sidebar */
}
}

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