MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 39: | Line 39: | ||
background-position-x:3px; | background-position-x:3px; | ||
background-color: #fc4d50; | background-color: #fc4d50; | ||
} | |||
/** Main Page 2.0 **/ | |||
div.gamelist { | |||
display:flex; | |||
flex-direction: row; | |||
} | |||
div.gamelist div.mainpage-gamelist-tile { | |||
display: inline-block; | |||
border: 1px solid #cfcfcf; | |||
border-radius: 1em; | |||
margin: 1em; | |||
overflow: clip; | |||
padding:0; | |||
} | |||
div.gamelist div.mainpage-gamelist-tile a { | |||
display: inline-block; | |||
font-size: 0; | |||
height: 150px; | |||
width: 267px; | |||
background: #fcfcfc; | |||
margin:0; | |||
padding:0; | |||
float: left; | |||
} | } |
Revision as of 00:16, 24 June 2024
/* CSS placed here will be applied to all skins */ div.inline-infobox { margin: 0.5em; padding: 0.5em; border-radius:0.25em; } div.inline-infobox.note { background: #eee; } /* MW uses .warning, so extra w. */ div.inline-infobox.wwarning { background: #fc5; } span.steambutton a.external { color: #ccc !important; /* Get rid of external link icon */ /*background-image: none;*/ padding-right: 0; /* Steam button styling */ padding: 0.25em; padding-left: 22px; background-position: center left; background-image: url('https://vrwiki.nexisonline.net/w/images/8/83/Steam_icon_logo.svg'); background-size: 16px; background-position-x: 3px; background-color: #171a21; } span.boothbutton a.external { color:#fff !important; padding-right: 0; padding:0.25em; padding-left:22px; background-position:center left; background-image:url(https://vrwiki.nexisonline.net/w/images/5/52/Booth_camel.svg); background-size:16px; background-position-x:3px; background-color: #fc4d50; } /** Main Page 2.0 **/ div.gamelist { display:flex; flex-direction: row; } div.gamelist div.mainpage-gamelist-tile { display: inline-block; border: 1px solid #cfcfcf; border-radius: 1em; margin: 1em; overflow: clip; padding:0; } div.gamelist div.mainpage-gamelist-tile a { display: inline-block; font-size: 0; height: 150px; width: 267px; background: #fcfcfc; margin:0; padding:0; float: left; }