MediaWiki:ModernLeaderboard.css

/** * @title: ModernLeaderboard * @description: Modern leaderboard theme. * @authors:  Americhino * @version:  0.9.0 * @license:  CC-BY-SA 3.0 * @installation:  @import url("/load.php?mode=articles&only=styles&articles=u:dev:MediaWiki:ModernLeaderboard.css"); * */ @font-face { font-family: 'FANDOM-Icons'; src: url('//cdn.rawgit.com/unai01/WhyDidIMakeThis/1442121a/fonts/FANDOM-Icons.ttf?ctjj9i') format('truetype'), url('//cdn.rawgit.com/unai01/WhyDidIMakeThis/1442121a/fonts/FANDOM-Icons.woff?ctjj9i') format('woff'), url('//cdn.rawgit.com/unai01/WhyDidIMakeThis/1442121a/fonts/FANDOM-Icons.svg?ctjj9i#FANDOM-Icons') format('svg'); font-weight: normal; font-style: normal; } .LeaderboardTable thead th:before, .achievements-title:before, /* use !important to prevent issues with browser extensions that change fonts */ font-family: 'FANDOM-Icons' !important; speak: none; font-size: 12px; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; padding-right: 5px; } .LeaderboardTable .rank span { background-image: none !important; text-align: center; border-radius: 50%; background-color: none !important; } .LeaderboardTable tr:first-child .rank span:first-child { background-color: gold !important; color: #000; } .LeaderboardTable tr:nth-child(2) .rank span:first-child { background-color: silver !important; color: #000; } .LeaderboardTable tr:nth-child(3) .rank span:first-child { background-color: chocolate !important; color: #000; }
 * 1) about-achievements h1:before,
 * 2) about-achievements p b:before {

.LeaderboardTable tr:first-child .rank:first-child:before { content: url('https://vignette.wikia.nocookie.net/ursuul/images/f/fc/Crown.svg') !important; position: absolute; transform: rotate(-25deg); left: -2px; margin-top: -13px; } .LeaderboardTable .avatar { border-radius: 50%; } .LeaderboardTable tr { border: none } .LeaderboardTable thead { margin-right: 10px !important; } .LeaderboardTable thead th { font-weight: bold; border-bottom: 1px solid #c2c2c2; } .LeaderboardTable thead th:not(:last-child) { padding-right: 15px !important; } .LeaderboardTable thead th:before, .achievements-title:before { color: rgba(58,58,58,0.75) } .oasis-dark-theme .LeaderboardTable thead th:before, .oasis-dark-theme .achievements-title:before { color: rgba(213,212,212,0.75) } .LeaderboardTable .tally { display: inline-flex; } .LeaderboardTable .tally span { font-weight: bold; }	text-transform: uppercase; font-weight: bold; padding: 4px 12px; border: 1px solid; margin-top: -0.5px }	display: none } .achievements-title { border-bottom: 2px !important; font-weight: bold; }	background-image: none; border: none; border-left: 6px solid !important; } .skin-oasis #about-achievements { border-color: #000 !important; } .skin-oasis.oasis-dark-theme #about-achievements { border-color: #fff !important }	text-transform: uppercase; font-weight: bold; }	text-transform: uppercase; }	background-image: none !important; border-radius: 50%; font-size: 13px; }	background-color: chocolate; color: black; }	background-color: silver; color: black; }	background-color: gold; color: black; }	font-size: 13px; } /* Popovers */ /* Popovers Style */ .skin-oasis.mw-special-Leaderboard .popover.left .arrow { border-left: 6px solid #eee; right: -6px !important; } .skin-oasis.oasis-dark-theme.mw-special-Leaderboard .popover.left .arrow { border-left: 6px solid #000; right: -6px !important; } .mw-special-Leaderboard .popover-inner { border: none !important; box-shadow: none !important; } /* Recent Earned Badges Module */ .WikiaLatestEarnedBadgesModule { border: none !important; box-shadow: none !important; } .WikiaLatestEarnedBadgesModule .achievements-title { text-transform: none; font-size: 16px !important; margin-left: -4px; border-bottom: 1px solid #c2c2c2 !important; margin-bottom: 16px !important; padding-bottom: 4px; } .oasis-dark-theme .WikiaLatestEarnedBadgesModule .achievements-title { border-bottom-color: #333 !important; } .WikiaLatestEarnedBadgesModule .badge-text strong { font-size: 14px; color: #333 !important; } .oasis-dark-theme .WikiaLatestEarnedBadgesModule .badge-text strong { color: #eee !important; } .WikiaLatestEarnedBadgesModule .recent-badges li { border-bottom: none; color: rgba(58,58,58,0.75) } .oasis-dark-theme .WikiaLatestEarnedBadgesModule .recent-badges li { color: rgba(213,212,212,0.75) }
 * 1) about-achievements > span {
 * 1) about-achievements > span:after {
 * 1) about-achievements {
 * 1) about-achievements h1 {
 * 1) about-achievements p b {
 * 1) about-achievements ul li span {
 * 1) about-achievements ul .bronze span {
 * 1) about-achievements ul .silver span {
 * 1) about-achievements ul .gold span {
 * 1) about-achievements ul li {

.WikiaLatestEarnedBadgesModule .more { border: 1px solid currentColor; text-transform: uppercase; padding: 7px 12px; transition: 0.2s ease } .WikiaLatestEarnedBadgesModule .more:hover { text-decoration: none !important; filter: brightness(80%); transition: 0.2s ease }

/* Icons */ .LeaderboardTable thead th:first-child:before { content: '\b7' } .LeaderboardTable thead th:nth-child(2):before { content: '\1f464' } .LeaderboardTable thead th:nth-child(3):before { content: '\1f4ca' } .LeaderboardTable thead th:last-child:before { padding-right: 4px; content: '\1f550' } .achievements-title:before { font-size: 16px; content: '\1f4ca' }	font-size: 16px; content: '\2753' }	padding-right: 3px; font-size: 10px; content: '\2139' }
 * 1) about-achievements h1:before {
 * 1) about-achievements p b:before {

.WikiaRail .achievements-title:before { content: '\23f0'; color: rgba(58,58,58,0.75) !important; font-weight: bold !important; margin-right: 7px; padding-right: 0 } .oasis-dark-theme .WikiaRail .achievements-title:before { color: rgba(213,212,212,0.75) !important; }