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

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


/* ================================================================
.page-Main_Page #firstHeading {
  BASE FONT SIZE
     display: none;
  ================================================================ */
body {
     font-size: 17px;
}
}
.mw-body {
body.ns-14 #firstHeading {
    font-size: 1.05em;
  display: none !important;
}
}


/* ================================================================
/* ==========================================================================
   ARTICLE CONTAINER
   PUBLISHING WORKSPACE — HIDE MEDIAWIKI PAGE TITLES
   ================================================================ */
   ========================================================================== */
.article-container {
body.page-CreateArticle #firstHeading,
    max-width: 1200px;
body.page-Editorial_Dashboard #firstHeading {
    margin: 0 auto;
     display: none !important;
    padding: 0 20px 20px 20px; /* top padding 0 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
     font-size: 1.05em;
}
}
.article-container[data-language="Malayalam"] {
 
     font-family: 'Manjari','Meera','Rachana','AnjaliOldLipi','Noto Sans Malayalam',sans-serif;
body.mw-special-FormEdit #firstHeading {
    line-height: 1.75;
     display: none !important;
}
}


/* ================================================================
/* GLOBAL MINOR TWEAKS */
  HEADER
body {
  ================================================================ */
     line-height: 1.7;
.article-container .article-header {
     background: #f8f9fa;
    border-bottom: 2px solid #495057;
    padding: 2px 16px;
    margin-top: 0;
    margin-bottom: 10px;
    border-radius: 6px;
}
}
.article-container .author-info {
.article-content * {
     display: flex;
     line-height: 1.85 !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    margin: 0;
    width: 100%;
}
}
.article-container .author-info > * {
#mw-header-hack {
    flex: 0 0 auto;
  border-bottom-width: 1px;
    width: auto;
    float: none;
}
}
.article-container .author-info .date-info {
 
     flex: 1 1 auto;
/* ==========================================================================
     text-align: center;
  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 {
  INTRODUCTION
     font-size: 2.45em !important;
  ================================================================ */
.article-container .introduction-section {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    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;
}
}


/* ================================================================
@media (max-width: 768px) {
  CONTENT LAYOUT
 
  ================================================================ */
    #firstHeading,
.content-wrapper {
    .mw-first-heading,
    display: flex;
    .firstHeading {
     gap: 30px;
 
     margin-bottom: 30px;
        font-size: 1.75em !important;
        padding: 16px 20px 8px 20px !important;
     }
 
    :lang(en) #firstHeading,
     :lang(en) .mw-first-heading {
 
        font-size: 1.95em !important;
    }
}
}
.main-content { flex: 1 1 70%; min-width: 0; }
 
.right-sidebar { flex: 0 0 300px; }
/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
@media (max-width: 968px) {
.mw-displaytitle-subtitle {
    .content-wrapper { flex-direction: column; }
     display: none !important;
     .right-sidebar { flex: 1 1 auto; max-width: 100%; }
}
}


/* ================================================================
/* ==========================================================================
   ARTICLE TEXT
   3. LAYOUT & SIDEBARS (FULL WIDTH)
   ================================================================ */
   ========================================================================== */
.article-text {
#mw-site-navigation, #mw-related-navigation {
    font-size: 1.15em;
     display: none !important;
    line-height: 1.85;
     color: #212529;
    text-align: left;
}
}
.article-text p { margin-bottom: 1.2em; }
#mw-content-container {
.article-text h2 {
     margin-left: 0 !important;
     font-size: 1.6em;
     margin-right: 0 !important;
     margin: 1.5em 0 0.8em;
     padding-left: 1rem !important;
     color: #212529;
     padding-right: 1rem !important;
     border-bottom: 2px solid #dee2e6;
     max-width: 100% !important;
     padding-bottom: 0.3em;
}
}
.article-text h3 {
#content {
     font-size: 1.3em;
     max-width: 100% !important;
    margin: 1.3em 0 0.7em;
    color: #495057;
}
}


/* ================================================================
/* ==========================================================================
   AUTHOR INFOBOX
   4. LOGO INTEGRATION FOR DISPLAY NAME PLACE
   ================================================================ */
   ==========================================================================*/
.author-infobox {
.mw-wiki-title {
     background: #f8f9fa;
     font-family: 'Manjari', sans-serif !important;
     border: 1px solid #ced4da;
     font-weight: bold;
    border-radius: 8px;
     font-size: 22px;
     margin-bottom: 20px;
     color: #002B49 !important; /* Deep Navy */
     overflow: hidden;
}
}
.author-photo { text-align: center; padding: 12px; background: white; border-bottom: 1px solid #dee2e6; }
@media (max-width: 768px) {
.author-photo img { max-width: 100%; height: auto; border-radius: 6px; }
.author-name-box {
    text-align: center;
    padding: 10px 15px;
    font-size: 1.3rem;
    font-weight: 700;
    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; }


/* ================================================================
    #mw-content-container {
  RESPONSIVE
         padding-left: 8px !important;
  ================================================================ */
         padding-right: 8px !important;
@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; }
}
}
/* ==========================================================
  5. Editorial Access
  ========================================================== */


 
/* Initially hide both panels.
/* ================================================================
   JavaScript will reveal the correct one. */
   DEBUG OUTLINES — temporary visual aid
#editorial-login,
  ================================================================ */
#editorial-workspace {
 
     display: none;
.article-container {
     outline: 2px dashed red;       /* main container */
}
}


.article-header {
.editorial-section {
     outline: 2px dashed blue;     /* header box */
     max-width: 700px;
    margin: 2rem auto;
}
}


.author-info {
.editorial-actions {
     outline: 2px dashed green;     /* author info flex container */
     margin-top: 2rem;
}
}


.author-info > * {
.editorial-button {
     outline: 1px solid orange;     /* each child inside author-info */
     margin-bottom: 1rem;
}
}


.introduction-section {
.editorial-button a {
     outline: 2px dashed purple;   /* intro section */
     display: block;
}
    padding: 12px 18px;
 
    border: 1px solid #c8ccd1;
.content-wrapper {
    border-radius: 6px;
     outline: 2px dashed brown;    /* main content wrapper */
    text-align: center;
    text-decoration: none;
    font-weight: 600;
     background: #f8f9fa;
     transition: background 0.2s ease;
}
}


.right-sidebar {
.editorial-button a:hover {
     outline: 2px dashed teal;     /* sidebar */
     background: #eaecf0;
}
}

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