No edit summary |
(infobox styles) |
||
Line 16: | Line 16: | ||
border-radius: 15px 0 0 15px; |
border-radius: 15px 0 0 15px; |
||
} |
} |
||
+ | |||
+ | /***************** |
||
+ | * Infobox styles * |
||
+ | ******************/ |
||
+ | .infobox { |
||
+ | float: right; |
||
+ | width: 23em; |
||
+ | margin-left: 1em; |
||
+ | margin-right: 1em; |
||
+ | margin-bottom: 0.5em; |
||
+ | color: #575757; |
||
+ | border: 1px solid var(--theme-border-color); |
||
+ | border-radius: 15px; |
||
+ | background-color: var(--theme-page-text-mix-color-95); |
||
+ | font-family: Verdana, Geneva, sans-serif; |
||
+ | font-size: 89%; |
||
+ | padding: 0 0.9em 0.7em 0.9em; |
||
+ | } |
||
+ | |||
+ | .infobox-table { |
||
+ | width: 100%; |
||
+ | padding: 0; |
||
+ | background-color:transparent; |
||
+ | border: 0; |
||
+ | } |
||
+ | |||
+ | .infobox-header { |
||
+ | padding:0.5em; |
||
+ | font-size: 200%; |
||
+ | text-align: center; |
||
+ | } |
||
+ | |||
+ | .infobox-section { |
||
+ | text-align:center; |
||
+ | font-weight:bold; |
||
+ | padding: 10px 0 5px 0; |
||
+ | border-bottom: 1px solid var(--theme-border-color); |
||
+ | margin: 0 0 10px 0; |
||
+ | } |
||
+ | |||
+ | .infobox-centered { |
||
+ | text-align: center; |
||
+ | } |
||
+ | |||
+ | .infobox-centered img { |
||
+ | max-width:100%; |
||
+ | height:auto; |
||
+ | margin-bottom: 10px; |
||
+ | } |
||
+ | |||
+ | .infobox-row { |
||
+ | vertical-align: top; |
||
+ | } |
||
+ | |||
+ | .infobox-row-name { |
||
+ | text-align: left; |
||
+ | white-space: nowrap; |
||
+ | } |
||
+ | |||
+ | .infobox-row-value { |
||
+ | word-break:break-word; |
||
+ | } |
||
+ | |||
+ | .infobox-spacer { |
||
+ | height: 0.5em; |
||
+ | } |
||
+ | |||
+ | .ingredient-cost-container { |
||
+ | margin: 0; |
||
+ | padding: 0; |
||
+ | border: none; |
||
+ | display: grid; |
||
+ | grid-gap: 5px; |
||
+ | grid-template-columns: repeat(auto-fill, minmax(75px, 1fr)); |
||
+ | grid-auto-rows: 75px; |
||
+ | } |
||
+ | |||
+ | .ingredient-cost-wrapper { |
||
+ | width: 65px; |
||
+ | height: 65px; |
||
+ | background: #eeeeee; |
||
+ | border-radius: 5px; |
||
+ | padding: 5px; |
||
+ | position: relative; |
||
+ | } |
||
+ | |||
+ | .ingredient-cost { |
||
+ | width: inherit; |
||
+ | height: inherit; |
||
+ | background-position: center; |
||
+ | background-size: cover; |
||
+ | padding: 0; |
||
+ | margin: 0; |
||
+ | display: flex; |
||
+ | flex-direction: row; |
||
+ | align-items: center; |
||
+ | } |
||
+ | |||
+ | .ingredient-cost-counter { |
||
+ | position: absolute; |
||
+ | bottom: 0; |
||
+ | right: 0; |
||
+ | background: #666666; |
||
+ | border-radius: 5px; |
||
+ | color: #ffffff; |
||
+ | padding: 3px 5px; |
||
+ | } |
||
+ | |||
+ | .infobox-group { |
||
+ | display:flex; |
||
+ | flex-wrap:wrap; |
||
+ | } |
||
+ | |||
+ | /* |
||
+ | .infobox-group .infobox-header { |
||
+ | height:3.2em |
||
+ | } |
||
+ | */ |
||
+ | |||
+ | .infobox-tabber { |
||
+ | float:right; |
||
+ | margin:0 1em; |
||
+ | } |
||
+ | |||
+ | .infobox-tabber .tabbernav { |
||
+ | text-align:center; |
||
+ | } |
||
+ | |||
+ | .infobox-tabber .infobox { |
||
+ | margin:0; |
||
+ | } |
||
+ | /********************* |
||
+ | * End infobox styles * |
||
+ | **********************/ |
Revision as of 22:52, 14 June 2021
.theme-fandomdesktop-light .main-container {
background-image: url(https://static.wikia.nocookie.net/satisfactory_gamepedia_en/images/b/b2/Background_decoration.png/revision/latest); /* [[File:Background decoration.png]] */
background-attachment: fixed;
background-repeat: no-repeat;
background-position: bottom;
background-size: 100% auto;
}
.theme-fandomdesktop-light .page__main {
border: 2px solid #aaaaaa;
border-radius: 15px;
background-color: rgba(var(--theme-page-background-color--rgb),0.95);
}
html:not(.ve-activated) .page.has-right-rail .page__main {
border-radius: 15px 0 0 15px;
}
/*****************
* Infobox styles *
******************/
.infobox {
float: right;
width: 23em;
margin-left: 1em;
margin-right: 1em;
margin-bottom: 0.5em;
color: #575757;
border: 1px solid var(--theme-border-color);
border-radius: 15px;
background-color: var(--theme-page-text-mix-color-95);
font-family: Verdana, Geneva, sans-serif;
font-size: 89%;
padding: 0 0.9em 0.7em 0.9em;
}
.infobox-table {
width: 100%;
padding: 0;
background-color:transparent;
border: 0;
}
.infobox-header {
padding:0.5em;
font-size: 200%;
text-align: center;
}
.infobox-section {
text-align:center;
font-weight:bold;
padding: 10px 0 5px 0;
border-bottom: 1px solid var(--theme-border-color);
margin: 0 0 10px 0;
}
.infobox-centered {
text-align: center;
}
.infobox-centered img {
max-width:100%;
height:auto;
margin-bottom: 10px;
}
.infobox-row {
vertical-align: top;
}
.infobox-row-name {
text-align: left;
white-space: nowrap;
}
.infobox-row-value {
word-break:break-word;
}
.infobox-spacer {
height: 0.5em;
}
.ingredient-cost-container {
margin: 0;
padding: 0;
border: none;
display: grid;
grid-gap: 5px;
grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
grid-auto-rows: 75px;
}
.ingredient-cost-wrapper {
width: 65px;
height: 65px;
background: #eeeeee;
border-radius: 5px;
padding: 5px;
position: relative;
}
.ingredient-cost {
width: inherit;
height: inherit;
background-position: center;
background-size: cover;
padding: 0;
margin: 0;
display: flex;
flex-direction: row;
align-items: center;
}
.ingredient-cost-counter {
position: absolute;
bottom: 0;
right: 0;
background: #666666;
border-radius: 5px;
color: #ffffff;
padding: 3px 5px;
}
.infobox-group {
display:flex;
flex-wrap:wrap;
}
/*
.infobox-group .infobox-header {
height:3.2em
}
*/
.infobox-tabber {
float:right;
margin:0 1em;
}
.infobox-tabber .tabbernav {
text-align:center;
}
.infobox-tabber .infobox {
margin:0;
}
/*********************
* End infobox styles *
**********************/