Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
.BasicTable td { | .BasicTable td { | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
+ | } | ||
+ | |||
+ | /* ------------------------- | ||
+ | Flex Attack Data styling | ||
+ | ------------------------- */ | ||
+ | @media (min-width: 990px) { | ||
+ | .attack-container { | ||
+ | /* margin-right: 220px; */ | ||
+ | width: auto; | ||
+ | } | ||
+ | .attack-gallery { | ||
+ | float: left; | ||
+ | width: 220px; | ||
+ | } | ||
+ | .attack-info { | ||
+ | margin-left: 220px; | ||
+ | margin-top: 0; | ||
+ | } | ||
+ | } | ||
+ | span.input-badge { | ||
+ | border: 1px solid #2e2d2d; | ||
+ | border-radius: 4px; | ||
+ | padding: 0 6px; | ||
+ | background-color: white; | ||
+ | } | ||
+ | |||
+ | .attack-container { | ||
+ | width: 100%; | ||
+ | display: inline-block; | ||
+ | overflow: visible !important; | ||
+ | z-index: 1; | ||
+ | border-radius: 4px; | ||
+ | border: none; | ||
+ | background-color: white; | ||
+ | box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2); | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | div.attack-gallery { | ||
+ | border: none; | ||
+ | background-color: white; | ||
+ | } | ||
+ | div.attack-gallery>ul.gallery { | ||
+ | margin: 0; | ||
+ | } | ||
+ | div.attack-gallery * .gallerytext p { | ||
+ | margin: 0; | ||
+ | text-align: center; | ||
+ | } | ||
+ | div.attack-gallery>.thumb { | ||
+ | background-color: #f8f9fa; | ||
+ | } | ||
+ | div.attack-data { | ||
+ | border: none; | ||
+ | background-color: white; | ||
+ | border-collapse: collapse; | ||
+ | margin-top: 0; | ||
+ | |||
+ | } | ||
+ | div.attack-info>table.attack-data { | ||
+ | width:100%; | ||
+ | text-align:center; | ||
+ | margin-top: 0; | ||
+ | margin-left: 0; | ||
+ | margin-bottom: 0.2em; | ||
+ | } | ||
+ | div.attack-info>p{ | ||
+ | padding-left: 0.5em; | ||
+ | padding-right: 0.5em; | ||
+ | padding-bottom: 0.5em; | ||
+ | } | ||
+ | div.attack-info>dl{ | ||
+ | padding-left: 0.5em; | ||
+ | padding-right: 0.5em; | ||
+ | } | ||
+ | .attack-info h4 { | ||
+ | padding: 0; | ||
+ | margin: 0; | ||
} | } |
Revision as of 12:56, 15 November 2020
/* CSS placed here will be applied to all skins */ .SkillBox { display: table-cell; } .BasicTable { background-color: #f8f9fa; color: #202122; border: 1px solid #a2a9b1; border-collapse: collapse; } .BasicTable td { border: 1px solid #a2a9b1; } /* ------------------------- Flex Attack Data styling ------------------------- */ @media (min-width: 990px) { .attack-container { /* margin-right: 220px; */ width: auto; } .attack-gallery { float: left; width: 220px; } .attack-info { margin-left: 220px; margin-top: 0; } } span.input-badge { border: 1px solid #2e2d2d; border-radius: 4px; padding: 0 6px; background-color: white; } .attack-container { width: 100%; display: inline-block; overflow: visible !important; z-index: 1; border-radius: 4px; border: none; background-color: white; box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2); border-collapse: collapse; } div.attack-gallery { border: none; background-color: white; } div.attack-gallery>ul.gallery { margin: 0; } div.attack-gallery * .gallerytext p { margin: 0; text-align: center; } div.attack-gallery>.thumb { background-color: #f8f9fa; } div.attack-data { border: none; background-color: white; border-collapse: collapse; margin-top: 0; } div.attack-info>table.attack-data { width:100%; text-align:center; margin-top: 0; margin-left: 0; margin-bottom: 0.2em; } div.attack-info>p{ padding-left: 0.5em; padding-right: 0.5em; padding-bottom: 0.5em; } div.attack-info>dl{ padding-left: 0.5em; padding-right: 0.5em; } .attack-info h4 { padding: 0; margin: 0; }