MediaWiki

MediaWiki:Foreground.css

From Illustrations in German Translations of Mark Twain's Works

Revision as of 10:57, 25 February 2026 by Illus (talk | contribs)

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.
/* All CSS here will be loaded for users of the Foreground skin */
body {
  background: #fff2e6;
  color: #222;
  font-family: "Georgia", 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 */
.page-Main_Page,
.page-Overview {
    background: url("images/b/b1/MTX-illustrations-splash-page-new-size2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


#page-content > .row {
	background: #fff2e6;
	padding: 2em;
}

/*Create gap between page body and category links at the bottom*/
.catlinks {
	margin: 50px 0 0;
}

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

/*Styling blockquotes*/
blockquote {
	border-left: 2px solid #ccc;
}

blockquote,
blockquote p {
	color: #222;
}

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

/*Table styling for .datatables*/
.datatable input {
	padding: 5px;
}

.datatable input::placeholder {
	font-weight: normal;
}
/* Breite des zentralen Inhaltsbereichs erhöhen */
#content, .mw-body, #mw-wrapper {
    max-width: 110% !important;
    width: 110% !important;
    margin: 2em auto;
    padding-left: 0;
    padding-right: 10em;
    box-sizing: border-box;
}
.page-Catalog #page-content {
    margin-left: -333px;
}
.page-Comparison #page-content {
    margin-left: -222px;
}
.page-CatalogDPL #page-content {
    margin-left: -333px;
}



/* Schriftart nur für die Tabelle mit der ID "catalog" */
#catalog {
    font-family: "Georgia", serif;  /* oder z. B. "Arial", "Verdana" etc. */
    font-size: 12px;                /* optional: Schriftgröße */
    color: #222;                    /* optional: Textfarbe */
}
/* Schriftart nur für die Tabelle mit der ID "catalogDPL" */
#catalogDPL {
    font-family: "Georgia", serif;  /* oder z. B. "Arial", "Verdana" etc. */
    font-size: 12px;                /* optional: Schriftgröße */
    color: #222;                    /* optional: Textfarbe */
}

/* Entfernt Padding von .row innerhalb von #page-content */
#page-content > .row {
  padding-top: 0;
  padding-bottom: 0;
}

/* Untertitelzeile unter der Hauptüberschrift ausblenden */
#tagline {
    display: none !important;
}

#footer {
  margin-top: 10px; /* oder dein gewünschter Wert */
  /* Weitere Anpassungen hier */
}
/* "Redirected from" ausblenden */
.mw-redirectedfrom {
    display: none;
}

.mw-body {
    border-radius: 14px;
    overflow: hidden;
}