MediaWiki

MediaWiki:Foreground.css

From Mark Twain in the German Language Press

Revision as of 12:27, 30 June 2025 by KB (talk | contribs) (Created page with "body { background: #fff2e6; color: #222; font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif; font-style:normal; font-weight:normal; text-align: justify; line-height:1.5; margin:0; padding:0; position:relative } Add fixed page background for main pages, category pages, and file pages: .ns-0, .ns-6, .ns-14 { background: url("images/d/d6/MT-splash.jpg"); background-attachment: fixed; background-position: center; } .ns-0 #page-cont...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.
body {
  background: #fff2e6;
  color: #222;
  font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
  font-style:normal;
  font-weight:normal;
  text-align: justify;
  line-height:1.5;
  margin:0;
  padding:0;
  position:relative
}

/*Add fixed page background for main pages, category pages, and file pages */
.ns-0,
.ns-6,
.ns-14 {
	background: url("images/d/d6/MT-splash.jpg");
	background-attachment: fixed;
    background-position: center;
}

.ns-0 #page-content > .row,
.ns-6 #page-content > .row,
.ns-14 #page-content > .row {
	background: #fff2e6;
	padding: 2em;
}

/*Style Footer to be more consistent and same size*/
#footer ul {
	font-size: 85%;
	text-align: left !important;
}
#footer-right-icons li {
	margin: 0;
}

/*Style wikitables to fit the colour scheme*/
table.wikitable > * > tr > td,
table.wikitable > * > tr > th {
	background: #fff2e6;
	border: 1px solid #fff2e6;
	text-align: left;
}