MediaWiki:Common.css

From Thessarpedia
Revision as of 16:55, 20 November 2022 by Rubicon (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Infobox */

.infobox {
    background: transparent;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 400px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}

/* Remove navigation from top of page */

#ca-talk { display:none!important; }
#ca-nstab-main { display:none!important; }
#ca-unwatch { display:none!important; }
#ca-nstab-mediawiki { display:none!important; }

/* change background color of top menu navigation */

.mw-portlet.mw-portlet-views.vector-menu.vector-menu-tabs {
background-image: linear-gradient(to bottom,#b5b5b5 0,#b5b5b5 100%);
}

.mw-portlet.mw-portlet-namespaces.vector-menu.vector-menu-tabs {
background-image: linear-gradient(to bottom,#f6eddf 0,#f6eddf 100%);
}

.mw-portlet.mw-portlet-views.vector-menu.vector-menu-tabs {
background-image: linear-gradient(to bottom,#b5b5b5 0,#b5b5b5 100%);
}

.vector-menu-tabs {
background-image: linear-gradient(to bottom,#f6eddf 0,#f6eddf 100%);
}


/* maakt de background van de bovenste balk doorzichtig */

#mw-page-base {
  background-color: transparent;
  background-image: none;
  background-position: bottom left;
  height: 5em;
}

/* Background color */


.mw-body {
    background-color: #f9f4eb;
}

body {
    background-color: #f6eddf;
   }

/* Font? */

#body {
#  font-family: Papyrus;
#}

/* Change border color */

.mw-body {
  margin-top: -1px;
  border: 1px solid #b5b5b5;
    border-right-width: 1px;
  border-right-width: 1px;
}

/* Disable section editing */
.mw-editsection { display:none!important; }

/* Remove items from footer */

#footer-places-privacy { display: none; }
#footer-places-about { display: none; }
#footer-places-disclaimer { display: none; }
#footer-info-lastmod { display: none; }

/* Change button color */


.mw-list-item.collapsible {
     background-image: linear-gradient(to top,#000000 0,#f6eddf 1px,#ffffff 100%);
}
.new.mw-list-item {
     background-image: linear-gradient(to top,#000000 0,#f6eddf 1px,#ffffff 100%);
}


/* Add template for front page */

/* CSS used for https://www.mediawiki.org/wiki/MediaWiki/Homepage_improvements_2018 : */
.mainpage_row {
	display: flex;
	flex-direction: row;
	flex-flow: row wrap;
	justify-content: space-between;
	padding: 0;
	margin: 0 -5px 0 -5px;
}
.mainpage_box {
	flex: 1;
	margin: 5px;
	min-width: 210px;
	border: 1px solid #CCC;
	padding: 0 10px 10px 10px;
	box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}
.mainpage_box h3 {
	/* Reset padding so is equal across skins */
	padding-right: 0;
	padding-top: 0;
	padding-bottom: 0;
	/* Padding left gets overridden by headanchor gadget */
	margin: 0.5em 0;
}
/* Set padding left only if headanchor gadget is not enabled */
.mainpage_box h3:not(.tpl-vheadanchor-heading) {
	padding-left: 0;
}
.mainpage_box h3 .header_icon {
	float: left;
	margin-right: 5px;
}
.mainpage_box .items {
	border-top: 1px solid #CCC;
	padding-top: 0.5em;
}
.mainpage_box p:last-child {
	margin-bottom: 0;
}
.mainpage_boxcontents_small {
	font-size: 95%;
}
/* Style the "other languages" box the same way as other boxes on the main page */
.mw-pt-languages {
	display: block;
	background: none;
	border: 1px solid #CCC;
	box-shadow: 0 2px 2px rgba(0,0,0,0.1);
	width: auto;
}
.mw-pt-languages-label {
	background: none;
	border-right: none;
}

@media screen and (max-width: 719px) {
	.thumb {
		float: none;
	}
	.thumb, .thumbinner {
		margin-left: auto;
		margin-right: auto;
	}
}

/* Suppress "Main Page" page title on Main Page. */
body.page-Main_Page h1#firstHeading { display: none; }
}


/* Reducing the huge margins above and below paragraphs */
.page-content p + p {
	margin-top: 12px;
}
.page-content p, .page-content section {
	margin: 0 0 12px 0;
}