Difference between revisions of "MediaWiki:Common.css"

From Diary of a Wimpy Kid Wiki
Jump to navigation Jump to search
(Table)
(Misc)
Line 76: Line 76:
.fakelinks:hover {
.fakelinks:hover {
text-decoration: underline;
text-decoration: underline;
}
/* misc */
.mw-customtoggle, .mw-collapsible-toggle {
    padding-right: 3px;
}
}

Revision as of 02:55, 9 March 2022

/* CSS placed here will be applied to all skins */

#mw-indicator-mw-helplink a {
  display:none;
}

.notice-template {
  margin: 0 2% 0.75em;
  padding: 0 1em;
  display: flex;
}

.infobox {
  background:white;
  border:1px solid black;
  width:300px;
  font-size: 90%;
  padding:3px;
  float:right;
  margin: 0 0 1em 1em;
}

.infobox th {
  font-size:110%;
  text-align:center;
}

.navbox {
  border: 1px solid black;
  width:100%;
}

.navbox.white tr th a, .navbox.white tr th a:visited, .navbox.white tr th a.new, .navbox.white tr th a.new:visited {
	color: #fff;
}

/* Black border & cell tables */
table.table, table.table {background:#fff;margin:1em 0;border:1pt solid #000;border-collapse:collapse;color:black}
table.table > * > tr > td, table.table > * > tr > th, table.table > * > tr > td, table.table > * > tr > th {border:1pt solid #000;padding:0.2em 0.4em}

/* Tabber */
.infobox .tabbernav {
	font-size: 90%;
}
.tabber.info {
	display: block;
	float: right;
	margin: 0 0 0.5em 1em;
}
.tabber.info .nav {
	display: block !important;
}
.tabber.info .infobox > tbody > tr:nth-child(2) img {
	max-width: 100% !important;
	height: auto !important;
	image-rendering: auto !important;
}
.tabber.info table {
	display: block !important;
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	overflow-x: auto !important;
}
.tabber.info tbody {
	display: table !important;
	width: 100% !important;
}

/* <h4> Template:Fake link </h4> */
.fakelinks {
	cursor: pointer;
	color: #0645ad;
}
.fakelinks:hover {
	text-decoration: underline;
}

/* misc */
.mw-customtoggle, .mw-collapsible-toggle {
    padding-right: 3px;
}