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;
}
body {
font-size: 17px;
}
/*RESPONSIVE*/
@media (max-width: 900px) {
/* 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;
margin-bottom: 1.5em;
padding-bottom: 0.5em;
}
.chapter-number {
font-size: 1.2em;
text-transform: uppercase;
letter-spacing: 2px;
color: #7f8c8d;
}
.chapter-title {
font-size: 2.2em;
margin: 0.2em 0 0.1em;
color: #2c3e50;
}
.chapter-author {
font-style: italic;
color: #34495e;
}
.chapter-content {
text-align: justify;
}
.chapter-footer {
margin-top: 3em;
padding-top: 1em;
border-top: 1px solid #ecf0f1;
text-align: center;
font-size: 0.9em;
}
.page-nav a {
color: #2980b9;
text-decoration: none;
padding: 0 1em;
}
.page-nav a:hover {
text-decoration: underline;
}