No edit summary |
mNo edit summary |
||
Line 145: | Line 145: | ||
} | } | ||
.stripe | .stripe tbody tr:nth-child(even) { | ||
background-color: var(--color-surface-1); | background-color: var(--color-surface-1); | ||
} | } |
Revision as of 05:59, 24 January 2023
/* CSS placed in this file will be applied to all skins */
/* Hide title and edit tools on main page */
.page-Main_Page .mw-side,
.page-Main_Page .firstHeading,
.page-Main_Page #siteSub {
display: none!important;
}
/* per-game banner images */
body {
background-image: url(images/background.webp);
background-repeat: no-repeat;
}
body.page-Guilty_Gear_XX_Accent_Core_Plus_R,body.rootpage-GGACR {
background-image: url(images/ggacr-background.webp);
background-repeat: no-repeat;
}
body.page-Granblue_Fantasy_Versus,body.rootpage-GBVS {
background-image: url(images/gbvs-background.webp);
background-repeat: no-repeat;
}
body.page-Granblue_Fantasy_Versus_Rising,body.rootpage-GBVSR {
background-image: url(images/gbvsr-background.png);
background-repeat: no-repeat;
}
body.page-Dragon_Ball_FighterZ,body.rootpage-DBFZ {
background-image: url(images/dbfz-background.webp);
background-repeat: no-repeat;
}
body.page-Persona_4_Arena_Ultimax_Remaster,body.rootpage-P4U2R {
background-image: url(images/p4u2r-background.webp);
background-repeat: no-repeat;
}
body.page-BlazBlue_Central_Fiction,body.rootpage-BBCF {
background-image: url(images/bbcf-background.webp);
background-repeat: no-repeat;
}
body.page-Guilty_Gear_The_Missing_Link,body.rootpage-GGML {
background-image: url(images/ggml-background.webp);
background-repeat: no-repeat;
}
body.page-BlazBlue_Cross_Tag_Battle,body.rootpage-BBTag {
background-image: url(images/bbtag-background.webp);
background-repeat: no-repeat;
}
body.page-Hokuto_no_Ken,body.rootpage-HNK {
background-image: url(images/hnk-background.webp);
background-repeat: no-repeat;
}
body.page-DNF_Duel,body.rootpage-DNFD {
background-image: url(images/dnfd-background.webp);
background-repeat: no-repeat;
}
body.page-Sailor_Moon_S,body.rootpage-SMS {
background-image: url(images/sms-background.png);
background-repeat: no-repeat;
}
body.page-Sengoku_Basara_X,body.rootpage-SBX {
background-image: url(images/sbx-background.webp);
background-repeat: no-repeat;
}
body.page-Guilty_Gear_Xrd_REV_2,body.rootpage-GGXRD-R2 {
background-image: url(images/ggxrd-background.webp);
background-repeat: no-repeat;
}
body.page-King_s_Field_4,body.rootpage-KF4 {
background-image: url(images/kf4-background.webp);
background-repeat: no-repeat;
}
.responsive-imagemap img { width: 100%; height: auto; }
.frameChart {
border-bottom: 1px solid;
border-color: var(--border-color-base);
}
.frame-data-test {
width: 10px;
height: 10px;
display: inline-block;
margin-left: 1px;
margin-right: 1px;
vertical-align: middle;
}
.frame-data-startup,
.frame-data-active,
.frame-data-inactive,
.frame-data-recovery,
.frame-data-specialRecovery {
width: 10px;
height: 10px;
display: inline-block;
margin-left: 1px;
margin-right: 1px;
vertical-align: middle;
}
.frame-data-startup {
background-color: #36B37E;
}
.frame-data-active {
background-color: #FF5D5D;
}
.frame-data-inactive {
background-color: gray;
}
.frame-data-recovery {
background-color: #0069B6;
}
.frame-data-specialRecovery {
background-color: #db69cf;
}
.frame-data-frc {
border-bottom: 4px solid #e9d704;
}
.spawn-projectile {
width: 3px;
height: 14px;
display: inline-block;
margin-left: -1px;
margin-right: 1px;
vertical-align: middle;
background-color: red;
}
/* -----------------------------------------------------------------------------
Cargo Rules
----------------------------------------------------------------------------- */
/* disable the tfoot which dupes thead */
table.dataTable tfoot {
display: none;
}
/* move images to start of line. else they will be at end of line when there are notes */
table.dataTable div.tright {
float: left;
}
.stripe tbody tr:nth-child(even) {
background-color: var(--color-surface-1);
}
/* -----------------------------------------------------------------------------
Tier List Rules
----------------------------------------------------------------------------- */
@media (min-width: 900px) {
.tierList {
display: grid;
grid-template-columns: minmax(58px, auto) 1fr;
grid-column-gap: 0px;
grid-row-gap: 0px;
box-shadow: var(--card-shadow-dlw);
border-radius: var(--border-radius--small);
font-size: 0.875em;
background-color:var(--color-surface-1);
border-color: var(--border-color-base);
overflow: hidden;
}
}
@media (max-width: 899px) {
.tierList {
display: grid;
grid-template-columns: minmax(58px, auto) 1fr;
grid-column-gap: 0px;
grid-row-gap: 0px;
box-shadow: var(--card-shadow-dlw);
border-radius: var(--border-radius--small);
font-size: 0.875em;
background-color:var(--color-surface-1);
border-color: var(--border-color-base);
overflow: hidden;
}
}
.tierHeader {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 1em 0;
font-size: 1em;
font-weight: 600;
border-right: 2px solid var(--border-color-base);
color: black;
}
.tierGroup {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
}
.tierUnderline {
border-bottom: 2px solid var(--border-color-base);
}
.generalUnderline {
border-bottom: 1px solid var(--border-color-base);
}
.tierGroup>div {
margin: 4px 10px;
}
.CharaInfoLabel {
text-align: right;
width: 50%;
vertical-align: text-top;
}
/* -----------------------------------------------------------------------------
ColumnList Specific Rules
----------------------------------------------------------------------------- */
.columns2 {
-webkit-columns: 16em 2;
-moz-columns: 16em 2;
columns: 16em 2;
}
/* -----------------------------------------------------------------------------
Cargo Based Move Boxes Styling
----------------------------------------------------------------------------- */
.grid-container {
display: grid;
grid-template-columns: 210px auto;
grid-template-rows: auto auto;
gap: 0px 0px;
grid-template-areas: "name data" "gallery description";
}
.move-box {
box-shadow: var(--CardShadow);
border-radius: var(--StandardBorderCurve);
}
.name {
display: grid;
grid-template-columns: auto;
grid-template-rows: auto;
height: 1em;
gap: 0px 0px;
grid-template-areas: ".";
grid-area: name;
text-align: center;
}
#moveName {
font-weight: bold;
font-size: 20px;
line-height: 1.1em;
}
.gallery {
grid-area: gallery;
align-content: center;
text-align: center;
overflow: hidden;
}
.description {
grid-area: description;
padding: 0.25em 1em;
}
.data {
display: grid;
grid-template-columns: repeat(8, 1fr);
grid-template-rows: repeat(2, 1fr);
gap: 0px 0px;
grid-template-areas: ". . . . . . . ." ". . . . . . . .";
grid-area: data;
text-align: center;
border-bottom: 1px solid grey;
}
.data-cell {
font-size: 20px;
}
#startup {
color: #4caf50;
}
#active {
color: #f44336;
}
#recovery {
color: #2196f3;
}
/* Movelist Toggles */
.movelist-toggles {
display: flex;
justify-content: center;
box-shadow: var(--card-shadow-dlw);
background-color: var(--color-surface-1);
border-radius: var(--border-radius--small);
}
.movelist-toggle-button {
display: inline-flex;
align-items: center;
padding: 18px;
font-weight: bold;
scroll-snap-align: start;
text-decoration: none;
white-space: nowrap;
cursor: pointer;
color: var(--color-base--subtle);
}
.movelist-toggle-button:hover {
background-color: var(--color-surface-3);
color: var(--color-base--emphasized);
}
.movelist-toggle-on {
background-color: var(--color-surface-2);
}
@media all and (max-width: 720px) {
.mod-gallery {
width:100% !important;
}
}
/********************************** Tooltips **********************************/
.tooltip {
position: relative;
display: inline;
border-bottom: 1px dashed var(--color-base);
}
.tooltiptext {
visibility: hidden;
min-width: 250px;
padding: 12px 14px;
position: absolute;
left: 50%;
bottom: calc(20px + 100%);
z-index: 99999;
background: var(--color-surface-1);
box-shadow: 0 5px 6px rgba(0,0,0,0.08),0 5px 6px rgba(0,0,0,0.08);
border: 1px solid var(--border-color-base--darker);
border-radius: var(--border-radius--small);
white-space: normal;
font-weight: normal;
font-style: normal;
text-align: center;
}
.tooltiptext:after, .tooltiptext:before {
content: '';
position: absolute;
left: 50%;
border-style: solid;
}
.tooltiptext:after {
top: 100%;
bottom: auto;
width: 20px;
height: 20px;
background: var(--color-surface-1);
margin-top: -10px;
margin-left: -10px;
transform: rotate(45deg);
border-width: 0;
}
.tooltiptext:before {
top: 100%;
bottom: auto;
border-width: 16px;
margin-left: -16px;
border-color: var(--border-color-base--darker) transparent transparent transparent;
pointer-events: none;
}
.tooltip .tooltip .tooltiptext, .header-fixed-helper .tooltip .tooltiptext {
bottom: auto;
top: calc(20px + 100%);
}
.tooltip .tooltip .tooltiptext:after, .header-fixed-helper .tooltip .tooltiptext:after {
top: auto;
bottom: 100%;
border-width: 15px;
margin-left: -15px;
border-color: transparent transparent var(--color-surface-1) transparent;
width: 0;
height: 0;
box-shadow: none;
background: none;
transform: none;
}
.tooltip .tooltip .tooltiptext:before, .header-fixed-helper .tooltip .tooltiptext:before {
top: auto;
bottom: 100%;
border-width: 16px;
margin-left: -16px;
border-color: transparent transparent #888 transparent;
}
.tooltiptext span.hr {
display: block;
height: 1px;
background-color: var(--color-base);
}
.tooltiptext hr, .tooltiptext span.hr {
margin: 10px 0 12px;
position: relative;
background: none;
}
.tooltiptext hr:after, .tooltiptext span.hr:after {
content: '';
display: block;
width: 100%;
height: 1px !important;
position: absolute;
left: -14px;
background: var(--color-surface-1);
padding: 0 14px;
}
.tooltip:hover>.tooltiptext, .tooltip.hover>.tooltiptext {
visibility: visible;
}
.tooltiptext {
opacity: 0;
transition: opacity 200ms ease, visibility 0s ease 200ms, transform 200ms ease;
transform: translate(-50%, 8px);
}
.tooltip .tooltip .tooltiptext, .header-fixed-helper .tooltip .tooltiptext {
transform: translate(-50%, -8px);
}
.tooltip:hover>.tooltiptext, .tooltip.hover>.tooltiptext {
opacity: 1;
transition-delay: 0s;
transform: translate(-50%, 0);
}
.tooltiptext {
color: var(--color-base);
}
.tooltiptext .hr {
border: 0;
border-top: 1px solid var(--border-color-base);
margin: var(--space-md) 0;
}
/******* CLR template styling added back until templatestyles bug is fixed *******/
.colorful-text-1 { color: var(--color-pink); }
.colorful-text-2 { color: var(--color-blue); }
.colorful-text-3 { color: var(--color-green); }
.colorful-text-4 { color: var(--color-red); }
.colorful-text-5 { color: var(--color-orange); }
.colorful-text-6 { color: var(--color-magenta); }
/* balance badge template */
.balance-badge {
color: var(--balance-badge-font-color);
border-radius: var(--border-radius--small);
font-weight: var(--font-weight-bold);
font-size: 0.75em;
letter-spacing: -0.008em;
padding: 2px 4px;
}
.balance-badge.added {
background-color: LemonChiffon;
}
.balance-badge.new {
background-color: PeachPuff;
}
.balance-badge.removed {
background-color: Lavender;
}
.balance-badge.reworked {
background-color: LightBlue;
}
.balance-badge.buff {
background-color: DarkSeaGreen;
}
.balance-badge.nerf {
background-color: LightPink;
}
/**** Character Label styling added back until templatestyles is fixed ****/
.charaLabel {
display: inline;
}
.charaLabel > img {
color: transparent!important;
font-size: 0!important;
line-height: 0!important;
vertical-align: middle!important;
white-space: nowrap!important;
--width: 0;
--height: 16px;
--small-scale: 0.75;
--gap: 0;
--base-gap: 2px;
}
/**** Input Badge styling added back until templatestyles is fixed ****/
.input-badge {
border: 1px solid;
border-radius: var(--border-radius--small);
border-color: var(--border-color-base);
padding: .25em .35em;
font-weight: bold;
background-color: var( --color-surface-2 );
}