Difference between revisions of "MediaWiki:Common.css"

From Diary of a Wimpy Kid Wiki
Jump to navigation Jump to search
(Misc)
(.)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Colored usernames for staff members. */
/* Administrators */
#whoadmin a { color: #07e !important; }
/* Bureaucrats */
.mw-userlink[title="User:Scrooge200"],
.mw-userlink[title="User:Tech Support"],
.mw-userlink[title="User:Username"],
#whocrat a { color: #da0 !important; }
/* Bots */
.mw-userlink[title="User:Delete page script"],
.mw-userlink[title="User:Maintenance script"],
.mw-userlink[title="User:Scrooge200Bot"],
#whobot a { color: #6b6b6b !important; }


#mw-indicator-mw-helplink a {
#mw-indicator-mw-helplink a {
Line 81: Line 97:
.mw-customtoggle, .mw-collapsible-toggle {
.mw-customtoggle, .mw-collapsible-toggle {
     padding-right: 3px;
     padding-right: 3px;
}
/* Galleries */
ul.gallery, li.gallerybox div.thumb {
margin-bottom: 0;
padding-bottom: 0;
}
#bodyContent ul.gallery {
margin: 2px;
padding: 2px;
}
li.gallerycaption {
text-align: unset;
}
/* Edit section */
.client-js .mw-content-ltr .mw-editsection-bracket:first-of-type,
.client-js .mw-content-rtl .mw-editsection-bracket:first-of-type,
.client-js .mw-content-rtl .mw-editsection-bracket:not(:first-of-type),
.client-js .mw-content-ltr .mw-editsection-bracket:not(:first-of-type) {
margin: 0;
color: unset;
}
}

Revision as of 20:09, 11 October 2022

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

/* Colored usernames for staff members. */
/* Administrators */
#whoadmin a { color: #07e !important; }

/* Bureaucrats */
.mw-userlink[title="User:Scrooge200"],
.mw-userlink[title="User:Tech Support"],
.mw-userlink[title="User:Username"],
#whocrat a { color: #da0 !important; }

/* Bots */
.mw-userlink[title="User:Delete page script"],
.mw-userlink[title="User:Maintenance script"],
.mw-userlink[title="User:Scrooge200Bot"],
#whobot a { color: #6b6b6b !important; }

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

/* Galleries */
ul.gallery, li.gallerybox div.thumb {
	margin-bottom: 0;
	padding-bottom: 0;
}
#bodyContent ul.gallery {
	margin: 2px;
	padding: 2px;
}
li.gallerycaption {
	text-align: unset;
}

/* Edit section */
.client-js .mw-content-ltr .mw-editsection-bracket:first-of-type,
.client-js .mw-content-rtl .mw-editsection-bracket:first-of-type,
.client-js .mw-content-rtl .mw-editsection-bracket:not(:first-of-type),
.client-js .mw-content-ltr .mw-editsection-bracket:not(:first-of-type) {
	margin: 0;
	color: unset;
}