Line 10: |
Line 10: |
| | | |
| local EquipmentInfoKai = BaseData{ | | local EquipmentInfoKai = BaseData{ |
− | _template = [[{|class="${table_class}" id="${table_id}" | + | _template = [[{|class="${table_class}" id="${table_id}" style="border: 1px solid darkgray; width: 320px; background-color: #fafafa;" |
| |- | | |- |
| | colspan="2" id="kc-eq-namecard" style="position: relative; padding: 10px 40px; text-align: center; background-color: ${back};${extra_style};" title="${rarity}" | <div id="kc-eq-edit-link" style="position: absolute; right: 5px;">${edit_link}</div> | | | colspan="2" id="kc-eq-namecard" style="position: relative; padding: 10px 40px; text-align: center; background-color: ${back};${extra_style};" title="${rarity}" | <div id="kc-eq-edit-link" style="position: absolute; right: 5px;">${edit_link}</div> |
Line 303: |
Line 303: |
| caption = table.concat(card_caption) | | caption = table.concat(card_caption) |
| end | | end |
− | tabber:add_tab("Card", EquipmentCardKai:get{equip = self._equipment, caption = caption}) | + | tabber:add_tab("Card", EquipmentCardKai:get{equip = self._equipment, caption = caption, size = "300px", align = "center"}) |
− | tabber:add_tab("Fairy", EquipmentGraphicKai:get{equip = self._equipment, fairy = "only"}) | + | tabber:add_tab("Fairy", EquipmentGraphicKai:get{equip = self._equipment, fairy = "only", size = "300px", align = "center"}) |
− | tabber:add_tab("Equipment", EquipmentGraphicKai:get{equip = self._equipment}) | + | tabber:add_tab("Equipment", EquipmentGraphicKai:get{equip = self._equipment, size = "300px", align = "center"}) |
− | tabber:add_tab("Combination", EquipmentGraphicKai:get{equip = self._equipment, fairy = true}) | + | tabber:add_tab("Combination", EquipmentGraphicKai:get{equip = self._equipment, fairy = true, size = "300px", align = "center"}) |
| self._vars.card = tostring(tabber) | | self._vars.card = tostring(tabber) |
| end | | end |