|
|
Строка 1: |
Строка 1: |
| <div class="slide__container mw-collapsible mw-collapsed new-collapsed"
| | {|id="highlighted-header-botany" class="wikitable sortable" style="width:100%" |
| style=" | | |- |
| text-align: {{{text-align|center}}};
| | ! rowspan="2" style="width:5%;" | Растение |
| border: {{{border-size|3px}}} solid {{{border-color|#4c4c61}}};
| | ! rowspan="2" class="unsortable" style="width:5%;" | Семена |
| border-radius: {{{border-radius|0.3em}}};
| | ! colspan="2" class="unsortable" style="width:30%;" id="no-highlight"| Характеристики |
| margin-bottom: {{{margin-bottom|6px}}};
| | ! rowspan="2" class="unsortable" style="width:27%;" | Свойства |
| "> | | ! rowspan="2" class="unsortable" style="width:15%;" | Местонахождения |
| <div class="slide__title"
| | ! rowspan="2" class="unsortable" style="width:13%;" | Мутации |
| style=" | | |- |
| color: {{{color|lightgrey}}};
| | ! style="width:10%;" class="unsortable" |Имеет |
| font-size: {{{font-size|1.1em}}};
| | ! style="width:10%;" class="unsortable" |Требует |
| ">{{{title}}}</div> | | |- |
| <div class="slide__content mw-collapsible-content">{{{content}}}</div>
| | {{#invoke:BotanyStats|templateCells |
| </div>
| | | anchorName = Сноп пшеницы |
| <!-- Не изменяемый CSS -->
| | | fruitId = WheatBushel |
| <div class="customCSS" style="display:none">
| | | seedId = WheatSeeds |
| .slide__container {
| |
| background: #27272f;
| |
| position: relative;
| |
| padding: 16px;
| |
| text-wrap: pretty;
| |
| }
| |
| .slide__title {
| |
| position: relative;
| |
| z-index: 2;
| |
| display: inline-block;
| |
| margin: 0;
| |
| font-family: 'Arial', sans-serif;
| |
| font-weight: bold;
| |
| pointer-events: none;
| |
| }
| |
| .slide__content {
| |
| padding-top: 32px;
| |
| text-align: left;
| |
| }
| |
| .new-collapsed .mw-collapsible-toggle {
| |
| position: absolute;
| |
| top: 0;
| |
| left: 0;
| |
| bottom: 0;
| |
| right: 0;
| |
| width: 100%;
| |
| height: 100%;
| |
| padding: 16px !important;
| |
| text-align: center;
| |
| box-sizing: border-box;
| |
| display: flex;
| |
| align-content: center;
| |
| justify-content: flex-end;
| |
| align-items: center;
| |
| transition: background-color 0.2s;
| |
| line-height: 40px;
| |
| }
| |
| .new-collapsed .mw-collapsible-toggle:hover {
| |
| background-color: #23232b;
| |
| }
| |
| .new-collapsed .mw-collapsible-text {
| |
| display: none;
| |
| }
| |
| .new-collapsed .mw-collapsible-title {
| |
|
| |
|
| }
| | | potency = 5 |
| .new-collapsed .mw-collapsible-toggle:before {
| | | yield = 3 |
| content: '+';
| | | lifespan = 25 |
| color: #616bb9;
| | | maturation = 6 |
| font-weight: bold;
| | | production = 3 |
| font-size: 40px;
| | | growthStages = |
| margin-bottom: 8px;
| | |
| text-decoration: none !important;
| | | waterConsumption = |
| border: none !important;
| | | nutrientConsumption = 0.40 |
| }
| | | idealHeat = |
| .new-collapsed .mw-collapsible-toggle:hover:before { | | | idealLight = |
| color: #727dcb;
| | |
| }
| | | description = |
| .mw-collapsible:not(.mw-collapsed) .mw-collapsible-toggle:before {
| | | location = |
| content: '-';
| | * Нет |
| }
| | | mutationId = WheatBushel WheatBushel |
| .new-collapsed .mw-collapsible-title:hover + .mw-collapsible-content {
| | }} |
| display: block;
| | |} |
| }
| |
| .new-collapsed .mw-collapsible.mw-collapsed .mw-collapsible-content {
| |
| display: none;
| |
| } | |
| .new-collapsed .mw-collapsible:not(.mw-collapsed) .mw-collapsible-content {
| |
| display: block;
| |
| } | |
| .new-collapsed.mw-collapsible:not(.mw-collapsed) .mw-collapsible-toggle {
| |
| background-color: #22222b;
| |
| } | |
| .new-collapsed.mw-collapsible:not(.mw-collapsed) .mw-collapsible-toggle {
| |
| height: 58px !important;
| |
| box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.5) !important;
| |
| }
| |
| .new-collapsed .mw-collapsible:not(.mw-collapsed) .mw-collapsible-toggle:after {
| |
| display: none;
| |
| }
| |
| .new-collapsed .mw-collapsible-toggle:after {
| |
| display: none;
| |
| }
| |
| .new-collapsed .mw-collapsed .mw-collapsible-toggle:after {
| |
| display: none;
| |
| }
| |
| .new-collapsed .mw-collapsible:not(.mw-collapsed) .mw-collapsible-toggle:after {
| |
| display: none;
| |
| }
| |
| </div>
| |