Anonymous user
MediaWiki:Mobile.css: Difference between revisions
m
Port from MediaWiki:Common.css
imported>Ttv pedro270707 m (Applied changes made in Common.css (more accurate and absolute position)) |
imported>Ttv pedro270707 m (Port from MediaWiki:Common.css) |
||
Line 59: | Line 59: | ||
width: 100% !important; | width: 100% !important; | ||
height: 100% !important; | height: 100% !important; | ||
} | |||
/* Inventory slot ({{Inventory slot}} template) */ | |||
.inventory-slot { | |||
position: relative; | |||
border-top: 2px solid #373737; | |||
border-left: 2px solid #373737; | |||
border-right: 2px solid #ffffff; | |||
border-bottom: 2px solid #ffffff; | |||
background-color: #8b8b8b; | |||
display: inline-flex; | |||
align-items: center; | |||
justify-content: center; | |||
} | |||
.inventory-slot::before, .inventory-slot::after { | |||
content: ''; | |||
position: absolute; | |||
width: 2px; | |||
height: 2px; | |||
background-color: #8b8b8b; | |||
} | |||
.inventory-slot::before { | |||
bottom: -2px; | |||
left: -2px; | |||
} | |||
.inventory-slot::after { | |||
top: -2px; | |||
right: -2px; | |||
} | } | ||