ZexisStryfe (talk | contribs) (Created page with ".infobox-table { width: 450px; border-radius: 12px; border-spacing: 0; font-size: 0.875rem; text-align: left; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.04)...") |
ZexisStryfe (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
.infobox { | |||
margin-top: 0rem!important; | |||
border-spacing: 0; | |||
border-radius: 12px; | |||
z-index: 3!important; | |||
/* base-90 */ | |||
background: #24272f; | |||
font-size: 0.875rem; | |||
text-align: left; | |||
/* boxshadow-2 */ | |||
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.04), 0 3px 6px rgba(0, 0, 0, 0.0575); | |||
/* In case if tooltips go out of boundary */ | |||
overflow: visible; | |||
} | |||
.infobox-col1 { | |||
width: 100%; | |||
flex-direction: row !important; | |||
} | |||
.infobox-col1 th { | |||
width: 30%; | |||
} | |||
.infobox-col1 td { | |||
width: 70%; | |||
} | |||
.infobox-col2 { | |||
width: 50%; | |||
} | |||
.infobox-col3 { | |||
width: calc(100% / 3); | |||
} | |||
.infobox-col4 { | |||
width: 25%; | |||
} | |||
.infobox-data { | |||
min-width: 25%; | |||
} | |||
.infobox tbody { | |||
display: flex; | |||
flex-wrap: wrap; | |||
} | |||
.infobox tr:first-of-type .mw-collapsible-toggle { | |||
display: none; | |||
float: unset; | |||
} | |||
.infobox tr:first-of-type .mw-collapsible-toggle a.mw-collapsible-text { | |||
position: absolute; | |||
right: 0; | |||
border-radius: 0 12px; | |||
padding: 5px 15px; | |||
background: #d33 !important; | |||
color: white; | |||
display: block; | |||
} | |||
.infobox tr:first-of-type .mw-collapsible-toggle a.mw-collapsible-text:hover { | |||
background: #b32424 !important; | |||
} | |||
.infobox tr:first-of-type .mw-collapsible-toggle.mw-collapsible-toggle-collapsed a.mw-collapsible-text { | |||
background: #36c !important; | |||
} | |||
.infobox tr:first-of-type .mw-collapsible-toggle.mw-collapsible-toggle-collapsed a.mw-collapsible-text:hover { | |||
background: #2a4b8d !important; | |||
} | |||
.infobox tr:first-of-type .mw-collapsible-toggle:before, | |||
.infobox tr:first-of-type .mw-collapsible-toggle:after { | |||
content: none; | |||
} | |||
.infobox tr:not(.infobox-image) { | |||
margin-top: 10px; | |||
display: flex; | |||
flex-direction: column; | |||
} | |||
.infobox th, | |||
.infobox td { | |||
padding: 0 20px; | |||
} | |||
.infobox-title, | |||
.infobox-header, | |||
.infobox-button-bar { | |||
width: 100%; | |||
} | |||
.infobox-title th, | |||
.infobox-header th { | |||
text-align: left !important; | |||
} | |||
tr.infobox-title { | |||
margin-top: 20px !important; | |||
margin-bottom: 5px; | |||
} | |||
.infobox-title th { | |||
font-size: 1.4rem; | |||
line-height: 1.4; | |||
} | |||
tr.infobox-header { | |||
padding-top: 15px; | |||
/* base-80 */ | |||
border-top: 1px solid; | |||
border-color: #2e3138; | |||
} | |||
tr.infobox-header { | |||
margin-top: 15px !important; | |||
} | |||
tr.infobox-button-bar { | |||
margin-top: 25px !important; | |||
} | |||
.infobox-header th { | |||
font-size: 1rem; | |||
} | |||
.infobox-button-bar th, | |||
.infobox-image td { | |||
padding: 0; | |||
} | |||
.infobox-image td { | |||
background: #2b2f36; | |||
} | |||
.infobox-image { | |||
border-radius: 12px 12px 0 0; | |||
overflow: hidden; | |||
} | |||
.infobox-data th { | |||
/* base-30 */ | |||
color: #a0a1a5; | |||
font-weight: normal; | |||
font-size: 0.8125rem; | |||
letter-spacing: .75px; | |||
} | |||
.infobox-data td { | |||
text-align: left!important; | |||
font-weight: bold; | |||
} | |||
/* Screen0 */ | |||
@media only screen and (max-width: 720px) { | |||
.infobox { | |||
margin-bottom: 1.6rem !important; | |||
padding: 0 !important; | |||
} | |||
.infobox tr:first-of-type .mw-collapsible-toggle { | |||
display: block; | |||
} | |||
.infobox-image img { | |||
width: 100vw !important; | |||
height: auto !important; | |||
} | |||
} | |||
.infobox-table { | .infobox-table { | ||
width: 450px; | width: 450px; |
Revision as of 19:19, 16 October 2020
.infobox {
margin-top: 0rem!important;
border-spacing: 0;
border-radius: 12px;
z-index: 3!important;
/* base-90 */
background: #24272f;
font-size: 0.875rem;
text-align: left;
/* boxshadow-2 */
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.04), 0 3px 6px rgba(0, 0, 0, 0.0575);
/* In case if tooltips go out of boundary */
overflow: visible;
}
.infobox-col1 {
width: 100%;
flex-direction: row !important;
}
.infobox-col1 th {
width: 30%;
}
.infobox-col1 td {
width: 70%;
}
.infobox-col2 {
width: 50%;
}
.infobox-col3 {
width: calc(100% / 3);
}
.infobox-col4 {
width: 25%;
}
.infobox-data {
min-width: 25%;
}
.infobox tbody {
display: flex;
flex-wrap: wrap;
}
.infobox tr:first-of-type .mw-collapsible-toggle {
display: none;
float: unset;
}
.infobox tr:first-of-type .mw-collapsible-toggle a.mw-collapsible-text {
position: absolute;
right: 0;
border-radius: 0 12px;
padding: 5px 15px;
background: #d33 !important;
color: white;
display: block;
}
.infobox tr:first-of-type .mw-collapsible-toggle a.mw-collapsible-text:hover {
background: #b32424 !important;
}
.infobox tr:first-of-type .mw-collapsible-toggle.mw-collapsible-toggle-collapsed a.mw-collapsible-text {
background: #36c !important;
}
.infobox tr:first-of-type .mw-collapsible-toggle.mw-collapsible-toggle-collapsed a.mw-collapsible-text:hover {
background: #2a4b8d !important;
}
.infobox tr:first-of-type .mw-collapsible-toggle:before,
.infobox tr:first-of-type .mw-collapsible-toggle:after {
content: none;
}
.infobox tr:not(.infobox-image) {
margin-top: 10px;
display: flex;
flex-direction: column;
}
.infobox th,
.infobox td {
padding: 0 20px;
}
.infobox-title,
.infobox-header,
.infobox-button-bar {
width: 100%;
}
.infobox-title th,
.infobox-header th {
text-align: left !important;
}
tr.infobox-title {
margin-top: 20px !important;
margin-bottom: 5px;
}
.infobox-title th {
font-size: 1.4rem;
line-height: 1.4;
}
tr.infobox-header {
padding-top: 15px;
/* base-80 */
border-top: 1px solid;
border-color: #2e3138;
}
tr.infobox-header {
margin-top: 15px !important;
}
tr.infobox-button-bar {
margin-top: 25px !important;
}
.infobox-header th {
font-size: 1rem;
}
.infobox-button-bar th,
.infobox-image td {
padding: 0;
}
.infobox-image td {
background: #2b2f36;
}
.infobox-image {
border-radius: 12px 12px 0 0;
overflow: hidden;
}
.infobox-data th {
/* base-30 */
color: #a0a1a5;
font-weight: normal;
font-size: 0.8125rem;
letter-spacing: .75px;
}
.infobox-data td {
text-align: left!important;
font-weight: bold;
}
/* Screen0 */
@media only screen and (max-width: 720px) {
.infobox {
margin-bottom: 1.6rem !important;
padding: 0 !important;
}
.infobox tr:first-of-type .mw-collapsible-toggle {
display: block;
}
.infobox-image img {
width: 100vw !important;
height: auto !important;
}
}
.infobox-table {
width: 450px;
border-radius: 12px;
border-spacing: 0;
font-size: 0.875rem;
text-align: left;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.04), 0 3px 6px rgba(0, 0, 0, 0.0575);
overflow: visible;
background: #24272f;
z-index: 3!important;
}
.infobox-table a{
color: #c1c2c5 !important;
}
.infobox-table a.new{
color: #c1c2c5 !important;
}
.infobox-table tr:not(#infobox-table-img-bg) {
margin-top: 10px;
display: flex;
}
.infobox-table th,
.infobox-table td {
padding: 0 20px !important;
}
.infobox-table th,
.infobox-table tr>td:first-child {
font-weight: 700;
}
.infobox-table tr>td:first-child {
color: #a0a1a5;
}
.infobox-table th,
th.infobox-table-name {
color: #c1c2c5;
}
.infobox-table th {
font-size: 1rem;
text-align: left !important;
}
th.infobox-table-name {
border: 0 !important;
font-size: 1.4rem !important;
line-height: 1.4;
margin-top: 10px;
margin-bottom: 5px;
padding-top: 0 !important;
}
.infobox-table-dead {
border: 0 !important;
font-size: 1.1rem !important;
line-height: 1;
margin-bottom: 10px;
margin-top: 0 !important;
padding-top: 0 !important;
font-weight: bold;
color: #ae0303 !important;
}
.infobox-table-img {
background: #2b2f36;
}
.infobox-table-img img {
width: 450px !important;
height: auto !important;
}
.infobox-table-img a.image {
background: 0 !important;
}
.infobox-button {
display: block;
width: 100%;
}
.infobox-button>div {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.infobox-table .live>td:nth-child(2n) {
color: #00af89;
}
@media only screen and (max-width: 720px) {
.infobox-table {
margin-bottom: 1.6rem !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
}
@media only screen and (max-width: 450px) {
.infobox-table tr:not(#infobox-table-img-bg) {
padding: 0 20px;
}
}
.infobox-button-bar {
width: 100%;
padding-right: 0 !important;
}
.infobox-button-bar th,
.infobox-image td {
padding: 0 !important;
}
tr.infobox-button-bar {
margin-top: 25px !important;
}
.infobox-button {
display: block;
width: 450px !important;
}
.infobox-button>div {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}