MediaWiki:Common.css
From AbhiprayaVedi
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/*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;
}
/* 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 {
margin: 10px 0;
padding: 10px;
border-left: 4px solid #555;
background: #fff;
}
/* Category tag */
.article-category {
margin: 25px 0 15px 0;
padding: 6px 12px;
background: #f0f0f0;
border-radius: 4px;
display: inline-block;
font-size: 0.95em;
}