MediaWiki:Timeless.css: Difference between revisions

From Tuyin Archives
No edit summary
No edit summary
Line 1: Line 1:
/* === Load Google Font (IM Fell DW Pica with Georgia fallback) === */
/* === Load Google Font (Readable, Fantasy Style) === */
@import url('https://fonts.googleapis.com/css2?family=IM+Fell+DW+Pica&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IM+Fell+DW+Pica&display=swap');


/* === Global Background and Font === */
/* === Global Background and Font === */
body {
body {
   background: #f5e6c6 url('https://www.transparenttextures.com/patterns/paper-fibers.png') repeat;
   background: #f5e6c6 url('https://www.transparenttextures.com/patterns/paper.png') repeat;
   color: #2b1b0f;
   color: #2b1b0f;
   font-family: 'IM Fell DW Pica', Georgia, serif;
   font-family: 'IM Fell DW Pica', Georgia, serif;
Line 33: Line 33:
   font-weight: 600;
   font-weight: 600;
   color: #5b3a10;
   color: #5b3a10;
   text-shadow: none;
   text-shadow:
    0 0 2px #f0d290,
    0 0 5px #d9a441;
}
}



Revision as of 21:34, 6 July 2025

/* === Load Google Font (Readable, Fantasy Style) === */
@import url('https://fonts.googleapis.com/css2?family=IM+Fell+DW+Pica&display=swap');

/* === Global Background and Font === */
body {
  background: #f5e6c6 url('https://www.transparenttextures.com/patterns/paper.png') repeat;
  color: #2b1b0f;
  font-family: 'IM Fell DW Pica', Georgia, serif;
  font-size: 1.05em;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* === Main Content Area === */
#content,
.mw-body {
  background-color: rgba(255, 248, 230, 0.95);
  border: 1px solid #cbb282;
  padding: 20px;
  box-shadow: 0 0 12px #bba57d;
}

/* === Page Content Blocks === */
.mw-body-content, .mw-parser-output {
  font-size: 1.05em;
  line-height: 1.65;
  color: #2b1b0f;
}

/* === Headings === */
h1, h2, h3, h4, h5 {
  font-family: 'IM Fell DW Pica', Georgia, serif;
  font-weight: 600;
  color: #5b3a10;
  text-shadow:
    0 0 2px #f0d290,
    0 0 5px #d9a441;
}

/* === Table of Contents === */
#toc {
  background-color: #f0e3c0;
  border: 1px solid #c4a973;
  color: #3b2b1c;
}
#toc a {
  color: #7c410f;
}
#toc a:hover {
  color: #aa5b14;
  text-decoration: underline;
}

/* === Links === */
a {
  color: #7c410f;
}
a:visited {
  color: #9a4e18;
}
a:hover {
  color: #aa5b14;
  text-decoration: underline;
}

/* === Sidebar Panels (Navigation, Tools, Categories, etc.) === */
#mw-navigation,
#mw-site-navigation,
#mw-related-navigation,
#mw-data-navigation,
#mw-page-tools,
.mw-portlet,
#p-logo,
#mw-footer {
  background-color: rgba(255, 248, 230, 0.85);
  border: 1px solid #cbb282;
  color: #2b1b0f;
}

/* === Sidebar Links === */
#mw-navigation a,
.mw-portlet a,
#mw-related-navigation a,
#mw-data-navigation a,
#mw-page-tools a {
  color: #7c4c14;
}
#mw-navigation a:hover,
.mw-portlet a:hover,
#mw-related-navigation a:hover,
#mw-data-navigation a:hover,
#mw-page-tools a:hover {
  color: #aa7722;
  text-decoration: underline;
}

/* === Header Tabs (View, Edit, History) === */
.mw-portlet .mw-portlet-body li a {
  background-color: #f0e3c0;
  border: 1px solid #c4a973;
  color: #3b2b1c;
}
.mw-portlet .mw-portlet-body li a:hover {
  background-color: #fff5dd;
  color: #000;
}

/* === Infoboxes & Tables === */
table.infobox,
table.wikitable {
  background-color: #fdf6e3;
  border: 1px solid #c4a973;
  color: #3b2b1c;
}
table.infobox th,
table.wikitable th {
  background-color: #f0e3c0;
  color: #603a13;
}
table.infobox td,
table.wikitable td {
  border-color: #c4a973;
}

/* === Input Fields (Search, Login, etc.) === */
input,
textarea,
select {
  background-color: #fff8e2;
  color: #3b2b1c;
  border: 1px solid #cbb282;
}

/* === Category Bar at Bottom === */
.catlinks {
  background-color: #f0e3c0;
  border: 1px solid #c4a973;
  color: #3b2b1c;
}

/* === Code Blocks === */
pre,
code {
  background-color: #f8efd8;
  border: 1px solid #c4a973;
  color: #4a3b2c;
}