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

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


/*BASE TYPOGRAPHY*/
/* GLOBAL FONTS FORCE (Combined to eliminate duplications) */
 
:lang(ml), :lang(ml) *,
:lang(en) {
body:lang(ml), .mw-body:lang(ml), .mw-body-content:lang(ml), #content:lang(ml),
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
.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;
}
}


:lang(ml) {
.article-content,
  font-family: 'Manjari', 'Meera', 'Rachana', 'AnjaliOldLipi', 'Noto Sans Malayalam', sans-serif;
.article-byline,
  line-height: 1.75;
.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;
}
}


body {
.page-Main_Page #firstHeading {
  font-size: 17px;
    display: none;
}
}
 
body.ns-14 #firstHeading {
/*ARTICLE CONTAINER (Scoped Control)*/
   display: none !important;
 
.article-container {
   max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
}
.article-container .main-content {
  min-width: 0;  /* already present but essential */
}
}


.article-container * {
/* ==========================================================================
  box-sizing: border-box;
  PUBLISHING WORKSPACE — HIDE MEDIAWIKI PAGE TITLES
  ========================================================================== */
body.page-CreateArticle #firstHeading,
body.page-Editorial_Dashboard #firstHeading {
    display: none !important;
}
}


/* Basic spacing */
body.mw-special-FormEdit #firstHeading {
.article-container p {
    display: none !important;
  margin: 0 0 1em 0;
}
}


.article-container ul,
/* GLOBAL MINOR TWEAKS */
.article-container ol {
body {
  padding-left: 1.2em;
    line-height: 1.7;
  margin-bottom: 1em;
}
 
.article-container li {
  margin: 0.25em 0;
}
 
/* Headings */
.article-container h1,
.article-container h2,
.article-container h3,
.article-container h4 {
  margin: 0.6em 0 0.4em;
  line-height: 1.3;
  font-weight: 600;
}
 
.article-container .main-content::after {
  content: "";
  display: block;
  clear: both;
}
 
/*MEDIAWIKI IMAGE SYSTEM (CRITICAL — FIXED)*/
 
 
/* ===== CLEAN MEDIAWIKI IMAGE SYSTEM ===== */
 
.article-container figure.mw-halign-left,
.article-container figure.mw-halign-right,
.article-container figure.mw-halign-center {
  float: none !important;
  margin: 0 !important;
}
}
 
.article-content * {
.article-container .image-left {
    line-height: 1.85 !important;
  float: left;
  margin: 0 12px 8px 0;
  max-width: 45%;
}
}
 
#mw-header-hack {
/* FIGURE = single source of truth */
   border-bottom-width: 1px;
.article-container figure[typeof~='mw:File/Thumb'],
.article-container figure[typeof~='mw:File/Frame'] {
   display: block;
  width: 100%;    /* follow container */
  margin: 0;
}
}


/* Make anchor behave correctly */
/* ==========================================================================
.article-container figure > a {
  2. HEADINGS & TITLES
  display: block;
  ========================================================================== */
}
#firstHeading,
.mw-first-heading,
.firstHeading {


/* Image */
    font-family:'Manjari',
.article-container figure img {
          'Noto Sans Malayalam',
  display: block;
            sans-serif !important;
  width: 100%;
    font-size:2.2em !important;
  height: auto;
    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;
}
}


/* Caption */
:lang(en) #firstHeading, :lang(en) .mw-first-heading {
.article-container figure figcaption {
    font-size: 2.45em !important;
  display: block;
  width: 100%;
  box-sizing: border-box;
 
  margin-top: 6px;
 
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}
}


/*SIMPLE CONTENT LAYOUT*/
@media (max-width: 768px) {


.article-container .content-wrapper {
    #firstHeading,
  display: flex;
    .mw-first-heading,
  gap: 24px;
    .firstHeading {
  align-items: flex-start;
}
 
.article-container .main-content {
  flex: 1 1 0;
  min-width: 0;
}


.article-container .right-sidebar {
        font-size: 1.75em !important;
  flex: 0 0 260px;   /* fixed width column */
        padding: 16px 20px 8px 20px !important;
}
    }


/*AUTHOR BLOCK (cleaned)*/
    :lang(en) #firstHeading,
    :lang(en) .mw-first-heading {


.article-container .article-header {
        font-size: 1.95em !important;
  background: #C7D2FE;
    }
  text-align: center;
  padding: 4px 0;
}
}


.article-container .author-info {
/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
  display: flex;
.mw-displaytitle-subtitle {
  justify-content: center;
    display: none !important;
  align-items: center;
  gap: 6px;
  font-size: 1em;
  color: #444;
}
}


.article-container .author-info span:not(:last-child)::after {
/* ==========================================================================
  content: "•";
  3. LAYOUT & SIDEBARS (FULL WIDTH)
  margin-left: 6px;
  ========================================================================== */
  color: #999;
#mw-site-navigation, #mw-related-navigation {
    display: none !important;
}
}
 
#mw-content-container {
.article-container .author-name {
    margin-left: 0 !important;
  font-weight: 600;
    margin-right: 0 !important;
}
    padding-left: 1rem !important;
 
    padding-right: 1rem !important;
.article-container .date-info {
    max-width: 100% !important;
  font-size: 0.9em;
  color: #666;
}
 
/*INTRO BLOCK*/
 
.article-container .introduction-section {
  background: #f5f7fa;
  border-left: 4px solid #4a6edb;
  padding: 10px 14px;
  margin-bottom: 14px;
  border-radius: 4px;
  line-height: 1.6;
}
}
 
#content {
/*SIDEBAR (Author Image)*/
     max-width: 100% !important;
 
.article-container .author-infobox {
  display: flex;
  flex-direction: column;
  align-items: center;
}
 
.article-container .author-photo {
  border: 1px solid #ccc;
  padding: 2px;
  max-width: 180px;
}
 
.article-container .author-photo img {
  display: block;
  max-width: 100%;
}
 
.article-container .author-name-box {
  text-align: center;
  margin-top: 6px;
}
 
/*HIGHLIGHT / KEYPOINT BOXES*/
 
.article-container .highlight-title {
  background: #00c49c;
  color: #333;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px 4px 0 0;
}
 
.article-container .keypoints-header {
  background: #8ba2e8;
  color: #fff;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px 4px 0 0;
}
.article-container .highlight-box {
  background: #ecfffb;          /* restore background */
  border-left: 5px solid #00c49c; /* restore accent */
  padding: 12px;
  margin: 12px 0;
  border-radius: 6px;
}
 
.article-container .keypoints-float {
  background: #fff8e6;
  border-left: 4px solid #8ba2e8;
  padding: 14px;
  border-radius: 6px;
}
 
.article-container .highlight-title {
  color: #1f2937;
}
 
.article-container .keypoints-header {
  color: #ffffff;
}
 
/*RESPONSIVE*/
 
@media (max-width: 900px) {
 
  .article-container .content-wrapper {
    flex-direction: column;
  }
 
  .article-container .right-sidebar {
     max-width: 100%;
  }
 
.article-container figure {
  display: block;
  max-width: 100%;
}
 
/*ACCESSIBILITY (keep minimal)*/
 
a:focus-visible,
button:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}
 
/*AUTHOR*/
 
.author-infobox {
  border: 1px solid #ccc;
  padding: 10px;
  max-width: 250px;
}
 
/*BOOK CHAPTER*/
 
/* Chapter template styling */
.book-chapter {
  max-width: 800px;
  margin: 2em auto;
  font-family: 'Georgia', serif;
  line-height: 1.5;
}
}


.chapter-meta {
/* ==========================================================================
  border-bottom: 2px solid #2c3e50;
  4. LOGO INTEGRATION FOR DISPLAY NAME PLACE
  margin-bottom: 1.5em;
  ==========================================================================*/
  padding-bottom: 0.5em;
.mw-wiki-title {
    font-family: 'Manjari', sans-serif !important;
    font-weight: bold;
    font-size: 22px;
    color: #002B49 !important; /* Deep Navy */
}
}
@media (max-width: 768px) {


.chapter-number {
    #mw-content-container {
  font-size: 1.2em;
        padding-left: 8px !important;
  text-transform: uppercase;
        padding-right: 8px !important;
  letter-spacing: 2px;
    }
  color: #7f8c8d;
}
}
/* ==========================================================
  5. Editorial Access
  ========================================================== */


.chapter-title {
/* Initially hide both panels.
  font-size: 2.2em;
  JavaScript will reveal the correct one. */
  margin: 0.2em 0 0.1em;
#editorial-login,
  color: #2c3e50;
#editorial-workspace {
    display: none;
}
}


.chapter-author {
.editorial-section {
  font-style: italic;
    max-width: 700px;
  color: #34495e;
    margin: 2rem auto;
}
}


.chapter-content {
.editorial-actions {
  text-align: justify;
    margin-top: 2rem;
}
}


.chapter-footer {
.editorial-button {
  margin-top: 3em;
    margin-bottom: 1rem;
  padding-top: 1em;
  border-top: 1px solid #ecf0f1;
  text-align: center;
  font-size: 0.9em;
}
}


.page-nav a {
.editorial-button a {
  color: #2980b9;
    display: block;
  text-decoration: none;
    padding: 12px 18px;
  padding: 0 1em;
    border: 1px solid #c8ccd1;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    background: #f8f9fa;
    transition: background 0.2s ease;
}
}


.page-nav a:hover {
.editorial-button a:hover {
  text-decoration: underline;
    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" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്