Content added Content deleted
BloodThermic (talk | contribs) No edit summary |
BloodThermic (talk | contribs) No edit summary Tag: Manual revert |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
.infobox { |
.infobox-table { |
||
z-index: 3 !important; |
|||
width: 100%; |
|||
overflow: hidden; |
|||
max-width: 400px; |
|||
width: 400px; |
|||
background: var(--color-surface-2); |
|||
max-width: 100%; |
|||
border-radius: var(--border-radius--medium); |
|||
/*margin-bottom: 1.6rem;*/ |
|||
font-family: Arial, sans-serif; |
|||
padding-bottom: 20px !important; |
|||
line-height: 1.375; |
|||
background: var( --color-surface-2 ); |
|||
border-radius: var( --border-radius--medium ); |
|||
margin-bottom: 16px; |
|||
border-spacing: 0; |
|||
padding-bottom: 20px !important; |
|||
box-shadow: var( --box-shadow-card ); |
|||
font-size: 0.875rem; |
|||
text-align: left; |
|||
} |
} |
||
.infobox-table tr:not( #infobox-table-img-bg ) { |
|||
.infobox__header { |
|||
display: flex; |
|||
padding: 16px; |
|||
margin-top: 10px; |
|||
background-color: #273647; |
|||
border-bottom: 1px solid #2a3b47; |
|||
text-align: center; |
|||
} |
} |
||
.infobox-table th, |
|||
.infobox__title { |
|||
.infobox-table td { |
|||
padding-top: 0 !important; |
|||
padding: 0 15px !important; |
|||
margin-top: 10px; |
|||
margin-bottom: 5px; |
|||
font-size: 1.4rem !important; |
|||
line-height: 1.4; |
|||
} |
} |
||
.infobox-table th, |
|||
.infobox__subtitle { |
|||
.infobox-table tr > td:first-child { |
|||
font-size: 14px; |
|||
font-weight: 600; |
|||
color: #b0bec5; |
|||
} |
} |
||
.infobox-table tr > td:first-child { |
|||
.infobox__image img { |
|||
color: var( --color-base--subtle ); |
|||
width: 100%; |
|||
font-size: 0.8125rem; |
|||
height: auto; |
|||
font-weight: normal; |
|||
border-bottom: 1px solid #2a3b47; |
|||
letter-spacing: 0.75px; |
|||
} |
} |
||
.infobox-table th, |
|||
.infobox__content { |
|||
th.infobox-table-name { |
|||
padding: 16px; |
|||
color: var( --color-base--emphasized ); |
|||
} |
} |
||
.infobox-table th { |
|||
.infobox__section { |
|||
padding-top: 15px !important; |
|||
margin-bottom: 16px; |
|||
border-top: 1px solid; |
|||
border-color: var( --border-color-base ); |
|||
font-size: 1rem; |
|||
text-align: left !important; |
|||
} |
} |
||
th.infobox-table-name { |
|||
.infobox__label { |
|||
padding-top: 0 !important; |
|||
font-weight: bold; |
|||
border: 0 !important; |
|||
margin-bottom: 8px; |
|||
margin-top: 10px; |
|||
color: #d4e4f2; |
|||
margin-bottom: 5px; |
|||
font-size: 1.4rem !important; |
|||
line-height: 1.4; |
|||
} |
} |
||
.infobox-table-img { |
|||
.infobox__data { |
|||
background: var( --background-color-quiet--hover ); |
|||
margin-bottom: 8px; |
|||
} |
} |
||
.infobox-table .infobox-table-img { |
|||
.infobox__link a { |
|||
padding: 0 !important; |
|||
color: #64b5f6; |
|||
text-decoration: none; |
|||
} |
} |
||
.infobox-table-img img { |
|||
.infobox__link a:hover { |
|||
max-width: 100%; |
|||
text-decoration: underline; |
|||
height: auto !important; |
|||
} |
} |
||
/* Neutral background for all transprent SVG */ |
|||
.infobox__grid--cols-2 { |
|||
.infobox-table-img img[ src$='.svg' ] { |
|||
display: grid; |
|||
background: #eaecf0; |
|||
grid-template-columns: repeat(2, 1fr); |
|||
gap: 8px; |
|||
} |
} |
||
.infobox-table-img a.image { |
|||
.infobox__grid--cols-3 { |
|||
background: 0 !important; |
|||
display: grid; |
|||
grid-template-columns: repeat(3, 1fr); |
|||
gap: 8px; |
|||
} |
} |
||
.infobox-table .image:hover img { |
|||
.infobox__section--tabber { |
|||
transform: scale( 1.1 ); |
|||
border-top: 1px solid #2a3b47; |
|||
padding-top: 16px; |
|||
} |
} |
||
.infobox-table ul, |
|||
.infobox__sectionTitle { |
|||
.infobox-table ol { |
|||
font-size: 16px; |
|||
margin-top: 0; |
|||
font-weight: bold; |
|||
color: #d4e4f2; |
|||
} |
} |
||
.infobox-button { |
|||
.infobox__section--metadata { |
|||
display: block; |
|||
background-color: #2a3b47; |
|||
width: 100%; |
|||
padding: 16px; |
|||
border-radius: 8px; |
|||
} |
} |
||
.infobox-button > div { |
|||
.infobox__section--actions { |
|||
display: flex; |
|||
background-color: #2a3b47; |
|||
flex-wrap: wrap; |
|||
padding: 16px; |
|||
justify-content: space-between; |
|||
border-radius: 8px; |
|||
} |
} |
||
@media only screen and ( max-width: 720px ) { |
|||
.infobox__footer { |
|||
.infobox-table { |
|||
background-color: #2a3b47; |
|||
margin-right: auto; |
|||
padding: 16px; |
|||
margin-left: auto; |
|||
border-radius: 8px; |
|||
} |
} |
||
.infobox__button { |
|||
background-color: #3572a5; |
|||
color: #ffffff; |
|||
text-align: center; |
|||
padding: 8px; |
|||
border-radius: 4px; |
|||
cursor: pointer; |
|||
} |
|||
.infobox__button:hover { |
|||
background-color: #285e84; |
|||
} |
|||
.infobox__buttonLabel { |
|||
display: flex; |
|||
align-items: center; |
|||
gap: 8px; |
|||
} |
|||
.infobox__linkButton a { |
|||
color: #64b5f6; |
|||
} |
|||
.infobox__linkButton a:hover { |
|||
text-decoration: underline; |
|||
} |
} |
Latest revision as of 06:27, 17 May 2024
.infobox-table {
z-index: 3 !important;
overflow: hidden;
width: 400px;
max-width: 100%;
/*margin-bottom: 1.6rem;*/
padding-bottom: 20px !important;
background: var( --color-surface-2 );
border-radius: var( --border-radius--medium );
border-spacing: 0;
box-shadow: var( --box-shadow-card );
font-size: 0.875rem;
text-align: left;
}
.infobox-table tr:not( #infobox-table-img-bg ) {
display: flex;
margin-top: 10px;
}
.infobox-table th,
.infobox-table td {
padding: 0 15px !important;
}
.infobox-table th,
.infobox-table tr > td:first-child {
font-weight: 600;
}
.infobox-table tr > td:first-child {
color: var( --color-base--subtle );
font-size: 0.8125rem;
font-weight: normal;
letter-spacing: 0.75px;
}
.infobox-table th,
th.infobox-table-name {
color: var( --color-base--emphasized );
}
.infobox-table th {
padding-top: 15px !important;
border-top: 1px solid;
border-color: var( --border-color-base );
font-size: 1rem;
text-align: left !important;
}
th.infobox-table-name {
padding-top: 0 !important;
border: 0 !important;
margin-top: 10px;
margin-bottom: 5px;
font-size: 1.4rem !important;
line-height: 1.4;
}
.infobox-table-img {
background: var( --background-color-quiet--hover );
}
.infobox-table .infobox-table-img {
padding: 0 !important;
}
.infobox-table-img img {
max-width: 100%;
height: auto !important;
}
/* Neutral background for all transprent SVG */
.infobox-table-img img[ src$='.svg' ] {
background: #eaecf0;
}
.infobox-table-img a.image {
background: 0 !important;
}
.infobox-table .image:hover img {
transform: scale( 1.1 );
}
.infobox-table ul,
.infobox-table ol {
margin-top: 0;
}
.infobox-button {
display: block;
width: 100%;
}
.infobox-button > div {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
@media only screen and ( max-width: 720px ) {
.infobox-table {
margin-right: auto;
margin-left: auto;
}
}