MediaWiki:Common.css: Difference between revisions

From AbhiprayaVedi
No edit summary
No edit summary
Line 13: Line 13:
body {
body {
   font-size: 17px;
   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;
}
}

Revision as of 10:13, 28 April 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;
}

body {
  font-size: 17px;
}