MediaWiki:Common.css: Difference between revisions

From Subnautica Wiki
(Added username styling to MannedTooth and the three bot accounts of staff.)
(Added further customisation for bot accounts for users to tell them apart from staff.)
Line 221: Line 221:
color: #4FBCFF;
color: #4FBCFF;
font-weight: bold;
font-weight: bold;
}
a[href$="/wiki/User:JoeBot"]::after,
a[href$="/wiki/User:SLSbot"]::after,
a[href$="/wiki/User:TetraTTV"]::after {
content: " (Bot)";
font-weight: normal;
font-style: italic;
}
}
/* Custom Bureaucrat and Admin Color End */
/* Custom Bureaucrat and Admin Color End */

Revision as of 01:08, 11 July 2023

/***** CSS placed here will be applied to all skins on the entire site. *****/
@import url("https://fonts.googleapis.com/css2?family=Days+One&family=Orbitron&display=swap");

/* TTable customisation */
.TTable {
	width: 100%;
}
.TTable th {
	width: 25%;
	text-align: center;
}
.TTable td {
	text-align: center;
}	
.TTable td:nth-child(2) {
	text-align: left;
}
.TTable td:last-child {
	text-align: left;
}

/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect {
	font-style: italic;
}
.allpagesredirect::after {
	color: #808080; content: " (redirect)"
}
.watchlistredir {
	font-style: italic;
}

.CategorySelect .articlePage {
	border-color: #34587A; }

.MainPageBox {
	border: 1px solid #3D4F5F;
	background-color: transparent ;
	padding: 5px;
	margin-bottom: 10px;
	margin-top: 10px;
}

a.image .image-thumbnail .link-internal {
	z-index: 1;
}

/* tabber abandoned seabases/lost river Start */
.TabberAbandonedSeabases ul.tabbernav, .lostRiverTabber ul.tabbernav, .DegasiTabber ul.tabbernav, .lostRiverTabber ul.tabbernav, .TabberILZCSS ul.tabbernav {
	background-color: transparent;
	text-align: center;
}
.TabberAbandonedSeabases ul.tabbernav, .lostRiverTabber ul.tabbernav, .DegasiTabber ul.tabbernav, .lostRiverTabber ul.tabbernav, .TabberILZCSS ul.tabbernav {
	padding: 10px;
}
.TabberAbandonedSeabases ul.tabbernav li a, .lostRiverTabber ul.tabbernav li a, .DegasiTabber ul.tabbernav li a, .lostRiverTabber ul.tabbernav li a, .TabberILZCSS ul.tabbernav li a {
	padding: 10px;
}

.tabberFloaterIsland, .Degasi, .tabberILZ {
	padding-top: 10px;
}
.tabberJellyShroom {
	padding-top: 10px;
}
.tabberDeepGrand {
	padding-top: 10px;
}

/* tabber abandoned seabases/lost river stop */
/* tabber devs Start */
.devsTabber .tabbernav a {
	font-size: 14px;
	margin-top: 5px ;
	display: inline-block;
}
/* tabber devs stop */

.not-patrolled .mw-tag-visualeditor {
	background:#0D2337;
}

.MainPageHeader {
	font-size:130%;
	background: url("https://vignette.wikia.nocookie.net/subnautica/images/e/ea/MainPageHeader.png") left center no-repeat;
	padding-left: 35px;
	font-family: "Orbitron", "Calibri", sans-serif;
}

/* Section headings */
.mw-headline {
	background: url("https://vignette.wikia.nocookie.net/subnautica/images/e/ea/MainPageHeader.png") left center no-repeat;
	padding-left: 35px;
	font-family: "Orbitron","Calibri",sans-serif;
}

.header-column .header-title {
	font-size:90%;
	font-family: "Orbitron", "Calibri", sans-serif;
}

.MainPageUsefulLinks {
	font-size:14px;
}

.MainPageUsefulLinks a {
	display: block;
	background: url("https://vignette.wikia.nocookie.net/subnautica/images/9/93/ArrowRight.png") no-repeat top right;
	background-color: transparent;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: right top;
	background-clip: border-box;
	background-origin: padding-box;
	background-size: auto auto;
	min-height: 36px;
	padding-right: 40px;
	margin: 10px 0;
	margin-top: 10px;
	margin-bottom: 10px;
}

.MainPageUsefulLinks a:hover {
	background: url("https://vignette.wikia.nocookie.net/subnautica/images/9/93/ArrowRight.png") no-repeat bottom right;
	text-decoration:none;
}

.MainPageWelcome {
	padding-top: 30px;
	Padding-bottom: 30px;
	height: 50px;
	background: url("https://vignette.wikia.nocookie.net/subnautica/images/4/42/Welcome.png") center center no-repeat;
}

.MainPageWelcomeContent {
	text-align: center;
}

.MainPageNavigation {
	width: 100%;
}

.MainPageNavigation td {
	width: 20%;
	vertical-align: top;
}

.tabbernav {
	font-family: inherit ;
	font-weight: normal ;
	font-size: 16px ;
	border-bottom: 3px solid #012E59 ;
	overflow: hidden ;
	padding: .3em 0 ;
}

.tabbernav a {
	padding: .3em .5em;
	margin: 0;
	color: #FFF;
	border: none;
	background: #000830;
}

.tabbernav li {
	display: inline-block;
	margin-top: 11px;
}

.tabberactive a {
	color: #FFF;
	background: #012e59 ;
}

.tabbernav :not(.tabberactive) a:hover {
	background: #000;
}

.tabbertab {
	border: none;
	padding: 0;
}

/* Custom Bureaucrat and Admin Color Start */
/** Bureaucrats **/
a[href$="/wiki/User:BippityBop"],
a[href$="/wiki/User:Dottedfish"],
a[href$="/wiki/User:MorphGuy"] {
	color: #0ED630;
	font-weight: bold;
}
/** Sysop/Administrators **/
a[href$="/wiki/User:Aeywoo"],
a[href$="/wiki/User:SLScool"],
a[href$="/wiki/User:Xenodrone98"] {
	color: #8A2BE2;
	font-weight: bold;
}
a[href$="/wiki/User:MyztriCaecusCA"] {
	color: #0ED630;
	font-weight: bold;
}
/** Content Moderators **/
a[href$="/wiki/User:Mesmerized"] {
	color: #8A2BE2;
	font-weight: bold;
}
a[href$="/wiki/User:Terranhawk"] {
	color: #FFA500;
	font-weight: bold;
}
/* Wiki Representative */
a[href$="/wiki/User:MannedTooth"] {
	color: #FA005A;
	font-weight: bold;
}
/* Bot */
a[href$="/wiki/User:JoeBot"],
a[href$="/wiki/User:SLSbot"],
a[href$="/wiki/User:TetraTTV"] {
	color: #4FBCFF;
	font-weight: bold;
}
a[href$="/wiki/User:JoeBot"]::after,
a[href$="/wiki/User:SLSbot"]::after,
a[href$="/wiki/User:TetraTTV"]::after {
	content: " (Bot)";
	font-weight: normal;
	font-style: italic;
}
/* Custom Bureaucrat and Admin Color End */

/* Infobox Start */
.portable-infobox {
	background-color: transparent;
	border-left: 1px solid gray;
	border-right: 1px solid gray;
	border-bottom: 1px solid gray;
	border-top: 1px solid gray;
}

aside.portable-infobox h2.pi-item {
	text-align: center;
}

.pi-image {
	background-color: transparent;
}

.ItemTabber {
	float: right;
	width: 303px
}

.ItemTabber .tabbernav {
	text-align: center;
}
.ItemTabber .wds-tabs {
	justify-content: center;
}
/* Infobox End */

/* Customized .OGG Players Start */
.ogg_player div {
	display: inline;
}
 
.ogg_player, .ogg_player:hover {
	opacity: .6;
	-webkit-transition: all .9s ease;
	-moz-transition: all .9s ease;
	-o-transition: all .9s ease;
}
.ogg_player:hover {
	opacity: 1;
}
.ogg_player button>img, .ogg_player .image img {
	display: none;
}
.ogg_player button {
	border: none ;
}
.ogg_player .image, .ogg_player .ogg-player-options+a::after {
	content: "";
	height: 50px;
	vertical-align: bottom;
	background-size: 100%;
	display: inline-block;
}
.ogg_player audio {
	border-radius:4px
}
.ogg_player > div > button::after {
	content: url("https://vignette.wikia.nocookie.net/subnautica/images/9/9f/Play_Button.png") ;
}
.ogg_player .ogg-player-options {
	margin-left: 3px;
}
div.ogg_player .ogg-player-options {
	background: #FFF;
}
 
.ogg_player > div + div:hover .ogg-player-options {
	display: inline-block;
	position: absolute;
	z-index: 2;
}
 
/* .OGG Player - Subnautica */
.ogg_player button, .ogg_player audio {
	background: #0DBB8F;
}
 
.ogg_player audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel {
	/* The reason this is separate is due to firefox */
	background: #0DBB8F;
}
 
.ogg_player .image, .ogg_player .ogg-player-options + a::after {
	background-image: url("https://vignette.wikia.nocookie.net/subnautica/images/d/db/Peeper_Fauna_Silhouette.png");
	height: 40px;
	width: 70px;
}
.ogg_player .ogg-player-options {
	border: 1px solid #0DBB8F;
}

.mw-collapsible .mw-collapsible-toggle {
	float: left;
}

/* Hover Images */
.audioimage { 
	width: 90px;
	height: 90px; 
	background: url("https://vignette.wikia.nocookie.net/subnautica/images/7/72/Audio.png/revision/latest?cb=20190901165456"); 
}
.audioimage:hover { 
	width: 90px;
	height: 90px; 
	background: url("https://vignette.wikia.nocookie.net/subnautica/images/a/ad/Audio_Hover.png/revision/latest?cb=20190901165457");
}
/* Customized .OGG Players End */

/* Hover Class */
.hoverimage img {
	opacity:.7;
	filter:alpha(opacity=70); /* For IE8 and earlier */
}
.hoverimage img:hover {
	opacity:1;
	filter:alpha(opacity=100); /* For IE8 and earlier */
}

/* Navigation Hover Class */
.hovernav img {
	opacity: .7;
	filter:alpha(opacity=70); /* For IE8 and earlier */
}
.hovernav img:hover {
	opacity: 1;
	filter:alpha(opacity=100); /* For IE8 and earlier */
}


/*** Module:Recipe ***/
.recipe,
.recipe__machine,
.recipe__ingredients,
.recipe__output {
	display: flex;
	align-items: center;
}
.recipe {
	flex-wrap: wrap;
	margin-top: 5px;
}
.recipe + .recipe {
	margin-top: 0;
}
.recipe__step {
	margin: 0 10px;
}
.recipe__icon,
.recipe__step {
	position: relative;
}
.recipe__icon:not(:last-child) {
	margin-right: 5px;
}
.recipe__icon__bg,
.recipe__step__arrow {
	position: absolute;
	left: 0;
	top: 0;
}
.recipe__icon__img {
	position: absolute;
	left: 0;
}
.recipe__icon__pseudo,
.recipe__step__pseudo {
	display: block;
	visibility: hidden;
}
.recipe__icon__pseudo__img {
	display: inline-block;
}
.recipe__icon__quantity {
	display: block;
	position: absolute;
	text-align: center;
	width: 100%;
}
.recipe__step__pseudo {
	width: 20px;
}
.recipe__step__pseudo__img {
	display: inline-block;
	width: 20px;
	height: 35px;
}