MediaWiki

Foreground.css: Difference between revisions

From Illustrations in German Translations of Mark Twain's Works

No edit summary
Tag: Reverted
Undo revision 766 by HMHTEST (talk)
Tag: Undo
Line 13: Line 13:
}
}


/* Add fixed page background for main pages and start page */
/*Add fixed page background for main pages, category pages, and file pages */
.page-Overview,
.ns-0,
.page-Main_Page {
.ns-6,
    background: url("images/b/b1/MTX-illustrations-splash-page-new-size2.jpg");
.ns-14 {
    background-size: cover;        /* Deckt den gesamten Viewport */
background: fixed no-repeat center / cover url("images/d/d6/MT-splash.jpg");
  background-position: center;    /* Zentriert das Bild */
  background-repeat: no-repeat;  /* Kein Kacheln */
  background-attachment: fixed;  /* Bild bleibt beim Scrollen fixiert */
}
}



Revision as of 13:16, 15 July 2025

/* All CSS here will be loaded for users of the Foreground skin */
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: fixed no-repeat center / cover url("images/d/d6/MT-splash.jpg");
}

#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;
}