Difference between revisions of "MediaWiki:Common.css"

From Diary of a Wimpy Kid Wiki
Jump to navigation Jump to search
(update)
(Tabber)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


.notice-template {
.notice-template {
Line 31: Line 32:
}
}


/* 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> */
/* <h4> Template:Fake link </h4> */

Revision as of 15:08, 14 January 2022

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


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

/* 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;
}