Common.css: Difference between revisions
From The Rockman EXE Zone Wiki
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
padding: 72px 8px 0; | padding: 72px 8px 0; | ||
} | } | ||
.template_battlefield table { | .template_battlefield table { | ||
border-collapse: collapse; | border-collapse: collapse; | ||
Line 11: | Line 10: | ||
width: auto !important; | width: auto !important; | ||
} | } | ||
.template_battlefield th, .template_battlefield td { | .template_battlefield th, .template_battlefield td { | ||
border: none !important; | border: none !important; | ||
Line 18: | Line 16: | ||
vertical-align: middle !important; | vertical-align: middle !important; | ||
} | } | ||
.template_battlefield td { | .template_battlefield td { | ||
margin: 0; | margin: 0; | ||
Line 24: | Line 21: | ||
line-height: 0; | line-height: 0; | ||
} | } | ||
.template_battlefield_obj-red { | .template_battlefield_obj-red { | ||
position: absolute; | position: absolute; | ||
Line 34: | Line 30: | ||
transform: scaleX(-1) translateX(50%); | transform: scaleX(-1) translateX(50%); | ||
} | } | ||
.template_battlefield_obj-blue { | .template_battlefield_obj-blue { | ||
position: absolute; | position: absolute; | ||
Line 44: | Line 39: | ||
transform: translateX(-50%); | transform: translateX(-50%); | ||
} | } | ||
.template_battlefield img { | .template_battlefield img { | ||
display: block; | display: block; | ||
} | |||
.template_battle { | |||
display: inline-block; | |||
} | |||
.template_battle td, .template_battle th { | |||
vertical-align: middle !important; | |||
} | } |
Revision as of 02:50, 30 December 2014
/* CSS placed here will be applied to all skins */ .template_battlefield { padding: 72px 8px 0; } .template_battlefield table { border-collapse: collapse; border-spacing: 0; margin: 0 !important; display: table; width: auto !important; } .template_battlefield th, .template_battlefield td { border: none !important; padding: 0 !important; position: relative; vertical-align: middle !important; } .template_battlefield td { margin: 0; height: 8px; line-height: 0; } .template_battlefield_obj-red { position: absolute; bottom: 0; left: 50%; -moz-transform: scaleX(-1) translateX(50%); -o-transform: scaleX(-1) translateX(50%); -webkit-transform: scaleX(-1) translateX(50%); transform: scaleX(-1) translateX(50%); } .template_battlefield_obj-blue { position: absolute; bottom: 0; left: 50%; -moz-transform: translateX(-50%); -o-transform: translateX(-50%); -webkit-transform: translateX(-50%); transform: translateX(-50%); } .template_battlefield img { display: block; } .template_battle { display: inline-block; } .template_battle td, .template_battle th { vertical-align: middle !important; }