Difference between revisions of "MediaWiki:Liquiflow.css"
From CS Codex
(Created page with "→*********************************** LOAD STYLES FOR VARIOUS TEMPLATES ***********************************: /* REMOTE BRACKETS AND GROUPTABLES MediaWiki:Common.css/Br...") |
|||
Line 48: | Line 48: | ||
ACTUALLY LOAD THE STUFF WE ASKED FOR | ACTUALLY LOAD THE STUFF WE ASKED FOR | ||
***************************************/ | ***************************************/ | ||
− | |||
− | |||
− | |||
/* temporary menu fix */ | /* temporary menu fix */ | ||
Line 125: | Line 122: | ||
height: 491px; | height: 491px; | ||
float: right; | float: right; | ||
− | |||
− | |||
− | |||
} | } | ||
.infobox_matches_content { | .infobox_matches_content { | ||
Line 344: | Line 338: | ||
video.no-caption + p { | video.no-caption + p { | ||
display: none; | display: none; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 619: | Line 608: | ||
width: 173px; | width: 173px; | ||
white-space: pre; | white-space: pre; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } |
Latest revision as of 01:22, 30 October 2023
/************************************
LOAD STYLES FOR VARIOUS TEMPLATES
************************************/
/*
REMOTE
BRACKETS AND GROUPTABLES
MediaWiki:Common.css/Bracket.css
MediaWiki:Common.css/Bracket.css/counterstrike.css
INFOBOXES
MediaWiki:Common.css/Infobox.css
CROSSTABLES
MediaWiki:Common.css/Crosstable.css
TABS
MediaWiki:Common.css/Tabs.css
PRIZE POOL TABLES
MediaWiki:Common.css/Prizepooltable.css
STATISTICS TABLES
MediaWiki:Common.css/Statisticstable.css
NAV FRAMES
MediaWiki:Common.css/NavFrame.css
DIV TABLES
MediaWiki:Common.css/DivTable.css
MESSAGES
MediaWiki:Common.css/Messages.css
SWISSTABLE
MediaWiki:Common.css/Swisstable.css
NAVBOXES
MediaWiki:Common.css/Navbox.css
QUOTES
MediaWiki:Common.css/Quote.css
SELECT ALL FOR TEMPLATE COPYPASTES
MediaWiki:Common.css/Selectall.css
TEAM TEMPLATES
MediaWiki:Common.css/TeamTemplates.css
AMBOXES
MediaWiki:Common.css/Ambox.css
TEAM CARDS
MediaWiki:Common.css/Teamcard.css
MAIN PAGE
MediaWiki:Common.css/Mainpage.css
OTHER STUFF
MediaWiki:Common.css/Miscellaneous.css
LOCAL
*/
/***************************************
ACTUALLY LOAD THE STUFF WE ASKED FOR
***************************************/
/* temporary menu fix */
#scroll-wrapper-menu > ul.nav.navbar-nav > li:nth-of-type(n+10) {
display:none;
}
/* OLD MAINPAGE *************************************************************/
div.mw-content-ltr h2 { overflow:hidden; }
table.mptop2 { margin-left:180px; }
.mw-editsection span.smalledit, .tnl-header span.smalledit { float: right; font-size: 70%; font-weight: 400; margin-right: 8px;}
.tnl-header { border: 1px solid #aaa; margin-top: 6px; margin-bottom: 5px; font-weight: 700; color: #1f3140; font-size: 125%; text-align: center; width: 100%;}
.tnl-sedate { float: right; min-width: 48px; max-width: 48px; max-height: 24px; }
.tnl-sdate { position:relative; left:0; top:-3px; font-size:xx-small; }
.tnl-edate { position:relative; left:0; top:-12px; font-size:xx-small; } #prefcontrol{padding-top:2px;} pre.mw-code.mw-css { font-size:11px; }
div.mp-topbanner { width:100%;margin:0 0 6px 0;border:1px solid #ddd;position:relative;height:80px; }
div.mp-title { position:absolute;float:left;display:inline-block;height:80px;top:50%;font-size:162%;margin-top:-24px; }
div.mp-title-links { float:right;font-size: 95%;height:80px; }
div.mp-portal-links { width:100%;font-size:120%;padding:2px 0; }
div.mp-box-header { border:1px solid #BFB1A3;border-width:1px 1px 0;padding:0.1em;text-align:center;margin-bottom:0px; }
div.mp-small-link { font-size:80%;float:right;padding-right:5px;margin-bottom:.1em; }
div.mp-box-content { border:1px solid #BFB1A3;text-align:left;background-color:#fff;margin: 0 0 10px;padding:0.5em; }
div.mw-content-ltr h2 { overflow:hidden; }
/* Main page CSS */
.page-Main_Page .infoboxes {
padding: 1px;
min-width: 800px;
}
.page-Main_Page .right-side {
display: block;
float: right;
height: 100%;
margin-left: 6px;
width: 531px;
}
.infobox_news_2 {
border: solid #aaa 1px;
margin: 8px 6px 8px 6px;
font-size: 95%;
padding: 1px 12px 0px 12px;
border-radius: 5px;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
div.mpboxtitle {
height: 25px;
border-radius: 5px;
width: 100%;
margin-top: +5px;
float: center;
padding: 3px 0;
}
#infobox_tournaments {
width: 280px;
}
#infobox_portals {
width: 227px;
}
#infobox_tournaments,
#infobox_portals {
height: 491px;
float: right;
}
.infobox_matches_content {
margin-left:auto;
margin-right:auto;
width:100%;
}
.infobox_matches {
max-width:300px;
margin: 0px 0px 8px 10px;
}
.help-link {
float:right;
}
#adbox-container {
display: inline-block;
margin-left: 12px;
}
#mainpage-mid-column {
float: right;
}
/* Main page banner */
.lp-banner-container {
padding: 1px;
}
.lp-banner {
width: 100%;
min-height: 130px;
}
.lp-banner-left {
text-align: center;
}
.lp-banner-left > div {
display: inline-block;
}
.lp-banner-2 {
text-align: center;
width: 350px;
}
div.mpwelcome {
line-height: 40px;
}
div.mpsubtitle {
margin-top:.5em;
font-weight: 700;
line-height: 10px;
}
.lp-banner-right {
width: 330px;
padding-right: 8px;
}
@media screen and (min-width:1280px) {
.lp-banner {
display: table;
table-layout: fixed;
}
.lp-banner > div {
display: table-cell;
vertical-align: middle;
}
.lp-banner-1 {
text-align: left;
float: left;
}
}
@media screen and (max-width:1279px) {
.lp-banner-container {
background-size: contain;
}
.lp-banner {
text-align: center;
}
.lp-banner > div {
text-align: center;
}
.lp-banner > div.lp-banner-right {
display: inline-block;
text-align: left;
}
div.mpwelcome {
font-size: 30px;
line-height: 30px;
}
div.mpsubtitle {
text-align: center;
font-size: 17px;
}
div.lp-banner:before,
div.lp-banner:after {
content: " ";
display: table;
}
div.lp-banner:after {
clear: both;
}
}
@media screen and (min-width: 768px) {
.lp-banner-container {
/* @embed */
background: #eafcd9 url(/counterstrike/skins/csinferno/CT.jpg) no-repeat;
border: 1px solid #aaa;
background-clip: content-box;
}
.lp-banner-left {
padding-left: 170px;
}
.lp-banner-right {
padding-left: 0;
}
}
@media screen and (min-width: 768px) and (max-width:1279px) {
.lp-banner-right {
padding-left: 170px;
}
}
/* OLD MAINPAGE END *********************************************************/
/* wikitable */
table.wikitable {
margin: 13px 13px 13px 0;
}
table.wikitable > tr > th, table.wikitable > tr > td,
table.wikitable > * > tr > th, table.wikitable > * > tr > td {
padding: 3px;
}
sup, sup.reference
{
line-height: 0;
vertical-align:super;
}
.banned img {
opacity:0.4;
filter:alpha(opacity=40); /* For IE8 and earlier */
}
.banned img:hover {
opacity:1.0;
filter:alpha(opacity=100); /* For IE8 and earlier */
}
ul.halfbox {
width: calc(100% - 20px);
padding: 5px;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
/* Weapons Portal */
ul.halfbox > li {
background: none repeat scroll 0 0 #F2F2F2;
border: 1px solid #AAAAAA;
display: block;
float: left;
font-weight: 700;
height: 150px;
margin: 5px;
width: 200px;
}
.halfbox li img {
height: 100%;
width: 100%;
}
.halfbox li span a {
color:white;
text-shadow: 1px 1px 0 black, -1px 1px 0 black, -1px -1px 0 black, 1px -1px 0 black;
margin: -17px 0 0 2px;
position: absolute;
min-width: 196px;
text-align: center;
margin: -19px 0 0 1px;
}
.halfbox li span a.new {
color:#dd0000;;
}
/* Match summary */
.matchseries .player {
white-space:nowrap;
max-width:156px;
text-indent:3px;
text-align:left;
overflow:hidden;
text-overflow:ellipsis;
}
.matchseries .items {
width:173px;
letter-spacing:-3px;
padding:2px;
}
/* Class to hide the caption below HTML5 videos */
video.no-caption + p {
display: none;
}
/* results/achievement tables */
.results-team-icon {
width:50px;
}
.results-score {
width:25px;
padding-left:5px;
padding-right:5px;
}
/* Upcoming and ongoing matches */
.team-left {
border-right:none !important;
border-bottom:none !important;
text-align:right;
width:46%;
}
.versus {
border-left:none !important;
border-right:none !important;
border-bottom:none !important;
width:8%;
text-align:center;
}
.team-right {
border-left:none !important;
border-right: medium none !important;
border-bottom:none !important;
width:46%;
}
.additional-links {
width:180px;
float:right;
white-space:nowrap;
}
.additional-links-icon {
float:right;
vertical-align:middle;
}
.additional-links-text {
overflow:hidden;
text-overflow:ellipsis;
max-width: 170px;
vertical-align:middle;
white-space:nowrap;
font-size:11px;
height: 16px;
margin-top: 3px;
}
.match-countdown {
float:left;
padding-top:2px;
}
.hasStream, countdown {
vertical-align:middle;
}
.match-filler {
border-left:none !important;
border-right:none !important;
border-top:none !important;
background-color:#e8e8e8;
text-align:center;
vertical-align:middle;
}
.match-countdown-countdown {
padding-left:2px;
padding-right:2px;
vertical-align:middle;
}
/* inventory */
.icon-inventory {
margin:7px 5px 0px;
vertical-align:top;
text-align:center;
display:inline-block;
line-height:normal;
width:120px;
}
.icon-inventory > .icon-inventory-inner {
margin-bottom:5px;
}
/* Template:WeaponCase */
.item-rarity-consumer b a {color:#b0c3d9;}
.item-rarity-industrial b a {color:#5e98d9;}
.item-rarity-milspec b a {color:#4b69ff;}
.item-rarity-restricted b a {color:#8847ff;}
.item-rarity-classified b a {color:#d32ce6;}
.item-rarity-contraband b a {color:#e4ae33;}
.item-rarity-covert b a {color:#eb4b4b;}
.item-rarity-knife b a {color:#caab05;}
/* New match series templates */
table.matchseries-table-1,
table.matchseries-table-2,
table.matchseries-table-stats {
width: 695px;
}
table.matchseries-table-1 {
font-weight: bold;
margin-bottom: -1px;
}
.matchseries-table-1 .team1,
.matchseries-table-1 .team2 {
background: #f2f2f2;
width: 45%;
}
.matchseries-table-1 .team1 {
padding-right: 50px;
text-align: right;
}
.matchseries-table-1 .team2 {
padding-left: 50px;
text-align: left;
}
.matchseries-table-1 .score {
text-align: center;
width: 5%;
}
table.matchseries-table-2 {
margin-top: 0;
}
.matchseries-table-2 .date {
text-align: center;
padding-left: 40px;
}
.matchseries-table-2 .game {
font-weight: bold;
text-align: center;
}
.matchseries-table-2 .team1,
.matchseries-table-2 .team2 {
width: 46%;
}
.matchseries-table-2 .team1.color-radiant-left,
.matchseries-table-2 .team2.color-radiant-right {
background: rgb(188, 217, 133);
}
.matchseries-table-2 .team1.color-radiant-right,
.matchseries-table-2 .team2.color-radiant-left {
background: rgb(231, 158, 126);
}
.matchseries-table-2 .score1,
.matchseries-table-2 .score2 {
width: 4%;
background: #f2f2f2;
}
.matchseries-table-2 .score1.winner-1,
.matchseries-table-2 .score2.winner-2 {
background: rgb(204,255,204);
}
.matchseries-table-2 .stats-table-container {
padding: 0;
}
table.matchseries-table-stats {
margin: -1px;
}
table.matchseries-table-stats > tr > td,
table.matchseries-table-stats > * > tr > td {
padding: 1px;
}
.matchseries-table-stats .scoreboard-header,
.matchseries-table-stats .faction,
.matchseries-table-stats .scores-header {
font-size: 90%;
}
.matchseries-table-stats .picks,
.matchseries-table-stats .bans {
background: #f2f2f2;
text-align: center;
letter-spacing: -3px;
white-space: nowrap;
}
.matchseries-table-stats .stats-header,
.matchseries-table-stats .picks-bans-header {
font-size: 90%;
}
.matchseries-table-stats .stats-header th {
padding-left: 40px;
}
.matchseries-table-stats .picks-bans-header .match-id {
float: left;
width: 130px;
text-align: left;
padding-left: 3px;
}
.matchseries-table-stats .picks-bans-header .title {
float: left;
width: 412px;
}
.matchseries-table-stats .picks-bans-header .vod {
float: right;
width: 130px;
text-align: right;
}
.matchseries-table-stats .scores-header .hero,
.matchseries-table-stats .scores-header .last-hits {
width: 38px;
}
.matchseries-table-stats .scores-header .lvl,
.matchseries-table-stats .scores-header .kills,
.matchseries-table-stats .scores-header .death,
.matchseries-table-stats .scores-header .assists,
.matchseries-table-stats .scores-header .denies {
width: 26px;
}
.matchseries-table-stats .scores-header .items {
width: 171px;
}
.matchseries-table-stats .scores-header .gpm,
.matchseries-table-stats .scores-header .xpm {
width: 42px;
}
.matchseries-table-stats .faction.radiant th {
background: rgb(188, 217, 133);
}
.matchseries-table-stats .faction.dire th {
background: rgb(231, 158, 126);
}
.matchseries-table-stats .player-row .hero {
padding: 0;
}
.matchseries-table-stats .player-row .player {
max-width: 156px;
overflow: hidden;
text-indent: 3px;
text-align: left;
text-overflow: ellipsis;
white-space: nowrap;
}
.matchseries-table-stats .player-row .player .stand-in {
float: right;
}
.matchseries-table-stats .player-row .items {
letter-spacing: -3px;
padding: 2px;
width: 173px;
white-space: pre;
}