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

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


/* ------------------------------------------------
/* GLOBAL FONTS FORCE (Combined to eliminate duplications) */
  BASE TYPOGRAPHY
:lang(ml), :lang(ml) *,
  ------------------------------------------------ */
body:lang(ml), .mw-body:lang(ml), .mw-body-content:lang(ml), #content:lang(ml),
:lang(en) {
.mw-parser-output:lang(ml), .article-content:lang(ml), .article-content *,
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
.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 {
/* ------------------------------------------------
   display: none !important;
  ARTICLE CONTAINER
  ------------------------------------------------ */
/* Scope all rules to article-container so they don't bleed */
.article-container {
   max-width: 1000px;
  margin: 0 auto;
}
}


/* 1. Author section inline, narrow margins */
/* ==========================================================================
.article-container .article-header {
  PUBLISHING WORKSPACE — HIDE MEDIAWIKI PAGE TITLES
  margin: 0 0 8px 0;
  ========================================================================== */
  padding: 4px 0;
body.page-CreateArticle #firstHeading,
  border: none;
body.page-Editorial_Dashboard #firstHeading {
  background: none;
    display: none !important;
}
}


.article-container .author-info {
body.mw-special-FormEdit #firstHeading {
  display: flex;
    display: none !important;
  align-items: center;
  gap: 10px;
  font-size: 0.95em;
  color: #444;
}
.article-container .author-info span:not(:last-child)::after {
  content: "•";
  margin-left: 8px;
  color: #999;
}
.article-container .author-name {
  font-weight: 600;
}
}


.article-container .date-info {
/* GLOBAL MINOR TWEAKS */
  font-size: 0.9em;
body {
  color: #666;
    line-height: 1.7;
}
}
 
.article-content * {
.article-container .category-badge {
    line-height: 1.85 !important;
  background: #e0e7ff;
  color: #333;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.85em;
}
}
 
#mw-header-hack {
/* 2. Introduction section subtle block */
   border-bottom-width: 1px;
.article-container .introduction-section {
  background: #fdfdfd;
  border-left: 4px solid #4a6edb;
  padding: 10px 14px;
  margin: 0 0 14px 0;
   border-radius: 4px;
  font-size: 1.05em;
  line-height: 1.6;
  color: #222;
}
}


.article-container .introduction-section p {
/* ==========================================================================
  margin: 0;        /* remove default margins */
  2. HEADINGS & TITLES
  text-indent: 0;  /* no indent */
  ========================================================================== */
}
#firstHeading,
.mw-first-heading,
.firstHeading {


/* Do NOT add indent to subsequent paragraphs — MediaWiki uses : :: for that */
    font-family:'Manjari',
 
          'Noto Sans Malayalam',
/* Restore right sidebar two-column layout */
            sans-serif !important;
.article-container .content-wrapper {
    font-size:2.2em !important;
  display: flex;
    font-weight:700 !important;
  flex-direction: row;
    margin:0 !important;
  gap: 20px;
    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;
}
}


.article-container .main-content {
:lang(en) #firstHeading, :lang(en) .mw-first-heading {
  flex: 3;
    font-size: 2.45em !important;
}
}


.article-container .article-text p:first-of-type {
@media (max-width: 768px) {
  margin-top: 0;
  text-indent: 0;
  font-weight: 400;
}
.article-container .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
}


.article-container .main-content {
    #firstHeading,
  flex: 3;
    .mw-first-heading,
  min-width: 0;
    .firstHeading {
}


.article-container .right-sidebar {
        font-size: 1.75em !important;
  flex: 1;
        padding: 16px 20px 8px 20px !important;
  max-width: 280px;
    }
}


/* Restore highlight box colors */
    :lang(en) #firstHeading,
.article-container .highlight-box {
    :lang(en) .mw-first-heading {
  background: #fff3cd;
  border-left: 5px solid #ffc107;
  padding: 10px;
  margin: 10px 0;
  border-radius: 6px;
}


.article-container .highlight-title {
        font-size: 1.95em !important;
  font-weight: bold;
    }
  color: #856404;
}
}


.article-container .highlight-text {
/* HIDE NAMESPACE SUBTITLE FOR PUBLISHED ARTICLES */
  color: #333;
.mw-displaytitle-subtitle {
  font-size: 0.95em;
    display: none !important;
}
}


/* ------------------------------------------------
/* ==========================================================================
   FEATURED SECTION (Magazine Index)
   3. LAYOUT & SIDEBARS (FULL WIDTH)
   ------------------------------------------------ */
   ========================================================================== */
.av-featured {
#mw-site-navigation, #mw-related-navigation {
  display: flex;
    display: none !important;
  gap: 20px;
  align-items: flex-start;
  background: #f8f9fa;
  border-left: 5px solid #667eea;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 8px;
}
}
 
#mw-content-container {
.av-featured-image {
    margin-left: 0 !important;
  flex: 0 0 260px;
    margin-right: 0 !important;
  max-width: 260px;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    max-width: 100% !important;
}
}
 
#content {
.av-featured-image img {
    max-width: 100% !important;
  width: 260px;
  height: auto;
  border-radius: 6px;
  display: block;
}
}


.av-featured-body {
/* ==========================================================================
  flex: 1 1 auto;
  4. LOGO INTEGRATION FOR DISPLAY NAME PLACE
  min-width: 0;
  ==========================================================================*/
  display: -webkit-box;
.mw-wiki-title {
  -webkit-line-clamp: 8; /* Adjust lines */
    font-family: 'Manjari', sans-serif !important;
  -webkit-box-orient: vertical;
    font-weight: bold;
  overflow: hidden;
    font-size: 22px;
  text-overflow: ellipsis;
    color: #002B49 !important; /* Deep Navy */
}
}
@media (max-width: 768px) {


.av-featured-title {
    #mw-content-container {
  font-size: 1.45em;
        padding-left: 8px !important;
  font-weight: 700;
        padding-right: 8px !important;
  line-height: 1.4;
    }
  margin-bottom: 10px;
}
}
/* ==========================================================
  5. Editorial Access
  ========================================================== */


.av-featured-intro {
/* Initially hide both panels.
  font-size: 1.05em;
  JavaScript will reveal the correct one. */
  line-height: 1.75;
#editorial-login,
  color: #495057;
#editorial-workspace {
  margin-bottom: 12px;
    display: none;
  max-height: 200px;
  overflow: hidden;
}
}


/* ------------------------------------------------
.editorial-section {
  RESPONSIVE BREAKPOINTS
    max-width: 700px;
  ------------------------------------------------ */
    margin: 2rem auto;
@media (max-width: 960px) {
  .content-wrapper { flex-direction: column; }
  .right-sidebar { max-width: 100%; }
  .av-cards-row { flex-direction: column; }
  .av-latest-grid { grid-template-columns: repeat(2, 1fr); }
}
}


@media (max-width: 768px) {
.editorial-actions {
  .av-featured { flex-direction: column; }
    margin-top: 2rem;
  .av-featured-image img { max-width: 100%; }
  .av-latest-grid { grid-template-columns: 1fr; }
}
}


/* ------------------------------------------------
.editorial-button {
  ACCESSIBILITY
    margin-bottom: 1rem;
  ------------------------------------------------ */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}
}


/* Hidden text for emoji headers */
.editorial-button a {
.highlight-title::before {
    display: block;
  content: "Highlight ";
    padding: 12px 18px;
  position: absolute;
    border: 1px solid #c8ccd1;
  left: -9999px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    background: #f8f9fa;
    transition: background 0.2s ease;
}
}


.keypoints-header::before {
.editorial-button a:hover {
  content: "Key Points ";
    background: #eaecf0;
  position: absolute;
  left: -9999px;
}
}

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