Template:Tournament/styles.css: Difference between revisions
>Kypho No edit summary |
Make tournament header render as clear infobox |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
.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-caption, | |||
.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 { | |||
.infobox { | width: 34%; | ||
} | } | ||
.mw-parser-output | |||
@media (max-width: 980px) { | |||
.mw-parser-output .infobox-tournament { | |||
float: none; | |||
width: 100%; | |||
margin: 0 0 1em; | |||
} | |||
} | } | ||