MediaWiki:Common.css

/* CSS placed here will be applied to all skins */ /* This governs the sections on the Community portal */ .cpbox { display: flex; flex-direction: row-reverse; flex-wrap: wrap; }

.cpbox #admins { box-sizing: border-box; width: calc(33% - 10px); margin: 5px; flex-grow: 1; min-width: 300px; }

.cpbox #help { box-sizing: border-box; width: calc(67% - 10px); margin: 5px; flex-grow: 1; }

/* Infobox template style - Copied from gamepedia help wiki */ .infobox { background-color: rgba(0, 0, 0, 0); border: 1px solid #505050; float: right; font-size: 89%; margin-bottom: 0.5em; padding: 0.2em; width: 300px; }

.infobox td.infoboxlabel { background-color: #edeeee; border: 2px solid inherit; font-weight: bold; padding: 0.5px 7px; text-align: right; }

.infoboxname { background-color: #f58120; font-size: 110%; font-weight: bold; padding: 0.5em; }

.infoboxdescription { background-color: #f58120; }

/* main page icons test */ .mpbox { position: relative; width: 20%; max-width: 180px; min-width: 180px; /* float:left; */ display: inline-block; border: 3px solid transparent; }

.mpbox img { width: 100%; height: auto; object-fit: cover; width: 180px; height: 120px; }

.mpbox a { color: #FFF; }

.mpbox .btn { position: absolute; top: 70%; left: 50%; transform: translate(-50%, -90%); -ms-transform: translate(-50%, -90%); -webkit-transform: translate(-50%, -90%); -o-transform: translate(-50%, -90%); -moz-transform: translate(-50%, -90%); transform: translate(-50%, -90%); color: #FFF; font-size: 16px; padding: 16 30px; border: none; cursor: pointer; border-radius: 5px; text-align: center; }

.mpbox .btn:hover { color: #FFFEE1; } /* main page icons test END */