MediaWiki:Common.css: Difference between revisions

From AbhiprayaVedi
No edit summary
mNo edit summary
Line 1: Line 1:
 
/* Base Typography */
/*BASE TYPOGRAPHY*/
 
:lang(en) {
:lang(en) {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
Line 9: Line 7:
   font-family: 'Manjari', 'Meera', 'Rachana', 'AnjaliOldLipi', 'Noto Sans Malayalam', sans-serif;
   font-family: 'Manjari', 'Meera', 'Rachana', 'AnjaliOldLipi', 'Noto Sans Malayalam', sans-serif;
   line-height: 1.75;
   line-height: 1.75;
}
/* Article Layout Styles */
.article-header {
    margin-bottom: 12px;
    line-height: 1.25;
}
.article-title {
    font-size: 1.8em;
    margin-bottom: 4px;
}
.article-byline {
    color: #444;
    font-style: italic;
    margin: 2px 0 8px 0;
}
.article-sidebar {
    float: right;
    width: 320px;
    border: 1px solid #ccc;
    padding: 12px;
    margin: 0 0 15px 15px;
    background: #f9f9f9;
}
.intro-box {
    margin: 20px 0;
    padding: 18px;
    background: #f0f8ff;
    border-left: 5px solid #4682b4;
    font-size: 1.15em;
    line-height: 1.5;
}
}


.highlight-box {
/* Global minor tweaks only */
    margin: 10px 0;
body {
    padding: 10px;
  line-height: 1.7;
    border-left: 4px solid #555;
    background: #fff;
}
}


/* Category tag */
/* Optional: Hide top action tabs for anonymous users later */
.article-category {
    margin: 25px 0 15px 0;
    padding: 6px 12px;
    background: #f0f0f0;
    border-radius: 4px;
    display: inline-block;
    font-size: 0.95em;
}

Revision as of 16:58, 27 May 2026

/* Base Typography */
:lang(en) {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

:lang(ml) {
  font-family: 'Manjari', 'Meera', 'Rachana', 'AnjaliOldLipi', 'Noto Sans Malayalam', sans-serif;
  line-height: 1.75;
}

/* Global minor tweaks only */
body {
  line-height: 1.7;
}

/* Optional: Hide top action tabs for anonymous users later */