MediaWiki:Common.css: Difference between revisions
From AbhiprayaVedi
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
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 { | |||
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; | |||
} | } | ||
Revision as of 18:14, 25 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;
}
/* 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;
}