Template:Tournament/styles.css: Difference between revisions
Fix TemplateStyles-safe infobox styles |
Make tournament header render as clear infobox |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
.mw-parser-output .infobox-tournament | .mw-parser-output .infobox-tournament { | ||
float: right; | |||
clear: right; | |||
width: 22em; | |||
max-width: 100%; | |||
margin: 0 0 1em 1.4em; | |||
border: 1px solid #a2a9b1; | |||
background: #f8f9fa; | |||
} | } | ||
.mw-parser-output .infobox-tournament .infobox-title { | |||
background: #cedff2; | |||
text-align: center; | |||
} | |||
.mw-parser-output .infobox-tournament .infobox-image, | .mw-parser-output .infobox-tournament .infobox-image, | ||
.mw-parser-output .infobox-tournament .infobox-caption{ | .mw-parser-output .infobox-tournament .infobox-caption, | ||
background: | .mw-parser-output .infobox-tournament td { | ||
background: #ffffff; | |||
} | |||
.mw-parser-output .infobox-tournament th, | |||
.mw-parser-output .infobox-tournament td { | |||
border-color: #a2a9b1; | |||
} | |||
.mw-parser-output .infobox-tournament th { | |||
width: 34%; | |||
} | } | ||
.mw-parser-output .infobox-tournament | |||
@media (max-width: 980px) { | |||
.mw-parser-output .infobox-tournament { | |||
float: none; | |||
width: 100%; | |||
margin: 0 0 1em; | |||
} | |||
} | } | ||