The official discord link if you wish to join the discord: https://discord.gg/j5RKwCvAFu

Support the wiki on our official Ko-Fi page or Patreon page!

MediaWiki:Common.css: Difference between revisions

From The Codex
Line 1: Line 1:
/***** CSS placed here will be applied to all skins on the entire site. *****/
/***** CSS placed here will be applied to all skins on the entire site. *****/
/**** ----- Imports ---- ****/
@import url("/load.php?mode=articles&only=styles&articles=u:dev:MediaWiki:ModernProfile/Masthead.css|u:dev:MediaWiki:ModernProfile/Wall.css|u:dev:MediaWiki:MessageWallPagination|u:dev:MediaWiki:DropdownMenu/code.css|u:dev:MediaWiki:FandomizedButtons.css|u:dev:MediaWiki:ActivityFeed.css|u:dev:MediaWiki:FandomizedFieldsets.css|u:dev:MediaWiki:FandomizedCategoryExhibition.css|u:dev:MediaWiki:SpoilerBlur/code.css|u:dev:MediaWiki:ContribsButtons.css");
@import url('https://fonts.googleapis.com/css?family=Bungee|Merriweather|Monda|Rubik+Mono+One|Russo+One|Monterrat+Alternates|Permanent+Marker|Black+Ops+One|Audiowide');
@import "/load.php?mode=articles&articles=u:dev:MediaWiki:BalancedProfileUCP.css&only=styles";
/** Load page-specific CSS **/
@import url('/index.php?title=MediaWiki:Common.css/Pages.css&action=raw&ctype=text/css&dontcountme=s');
/**** ----- Code ---- ****/
/* Remove underlining from "view more replies" link on threads */
.load-more a:hover {
    text-decoration: none !important;
}
   
   
/* Mark redirects in Special:Allpages and Special:Watchlist */
/* Mark redirects in Special:Allpages and Special:Watchlist */

Revision as of 22:45, 30 November 2022

/***** CSS placed here will be applied to all skins on the entire site. *****/

/**** ----- Imports ---- ****/

@import url("/load.php?mode=articles&only=styles&articles=u:dev:MediaWiki:ModernProfile/Masthead.css|u:dev:MediaWiki:ModernProfile/Wall.css|u:dev:MediaWiki:MessageWallPagination|u:dev:MediaWiki:DropdownMenu/code.css|u:dev:MediaWiki:FandomizedButtons.css|u:dev:MediaWiki:ActivityFeed.css|u:dev:MediaWiki:FandomizedFieldsets.css|u:dev:MediaWiki:FandomizedCategoryExhibition.css|u:dev:MediaWiki:SpoilerBlur/code.css|u:dev:MediaWiki:ContribsButtons.css");

@import url('https://fonts.googleapis.com/css?family=Bungee|Merriweather|Monda|Rubik+Mono+One|Russo+One|Monterrat+Alternates|Permanent+Marker|Black+Ops+One|Audiowide');

@import "/load.php?mode=articles&articles=u:dev:MediaWiki:BalancedProfileUCP.css&only=styles";

/** Load page-specific CSS **/

@import url('/index.php?title=MediaWiki:Common.css/Pages.css&action=raw&ctype=text/css&dontcountme=s');

/**** ----- Code ---- ****/

/* Remove underlining from "view more replies" link on threads */

.load-more a:hover {
    text-decoration: none !important;
}
 
 
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect {
   font-style: italic;
}
.allpagesredirect:after {
   color: #808080; content: " (redirect)"
}
.watchlistredir {
   font-style: italic;
}

/*********************
     Template:Tabs
 *********************/
/* General styles */
	/** margins **/
.article-tabs {
	margin-bottom: 5px;
}
	/** list **/
.article-tabs ul {
	display: flex;
	flex-wrap: wrap;
	position: relative;
	list-style-type: none;
	list-style-image: none;
	margin: 0;
	padding: 0;
}
	/** tab default style **/
.article-tabs li {
	margin: 0;
	min-width: 100px;
	border: 1px solid var(--theme-text-color1);
	border-radius: 8px 8px 0 0;
	background-color: var(--colorscheme-bg, var(--theme-bg-color1));
	color: var(--colorscheme-txt, var(--theme-text-color1));
	font-size: 15px;
	font-weight: bold;
	text-align: center;
}
	/** links cover the whole tab **/
.article-tabs li a,
.article-tabs li a.new {
	display: block;
	color: inherit !important;
}
.article-tabs li > .selflink,
.article-tabs li > span,
.article-tabs li a > span {
	display: block;
	padding: 5px 10px;
}
	/** active and hover tab style **/
.article-tabs .at-selected,
.article-tabs li:hover {
	background-color: var(--colorscheme-txt, var(--theme-bg-color3));
	color: var(--colorscheme-bg, var(--theme-text-color3));
}

/* Second level tabs */
	/** default placement **/
.article-tabs .article-tabs {
	display: none;			/* initially hidden */
	position: absolute;

}
.article-tabs .article-tabs ul {
	width: 858px;
}
	/** tabs style **/
.article-tabs .article-tabs li {
	border-radius: 0;
}
	/** active tab style **/
.article-tabs .at-selected .article-tabs {
	display: table;
	left: 0;
}
	/** show on hover **/
.article-tabs li:not(.at-selected):hover > .article-tabs {
	display: table;
	z-index: 1;
}
	/** hover style **/
.article-tabs li:not(.at-selected):hover > .article-tabs ul {
	min-width: 200px;
	width: auto;
	flex-direction: column;
	left: -2px;
}

/* Adjacent tabs style (not nested) */
.article-tabs + .article-tabs li {
	margin-top: -5px;
	border-radius: 0 0 8px 8px;
}