MediaWiki:Common.css: Difference between revisions
From Official Barotrauma Wiki
(Created page with "→CSS placed here will be applied to all skins: .mp-section { background:#151e28; border: 1px solid black; -webkit-border-radius: 5px; -moz-border-radius: 5px; -...") |
No edit summary |
||
Line 23: | Line 23: | ||
margin: auto; | margin: auto; | ||
width: 48%; | width: 48%; | ||
} | |||
/* Discord invite button */ | |||
div#mw-panel li a[href="https://discord.gg/undertow"] { | |||
display:inline-block; | |||
position:relative; | |||
height:20px; | |||
width:119px; | |||
margin-top:5px; | |||
right:10px; | |||
} | |||
div#mw-panel li a[href="https://discord.gg/undertow"]::before { | |||
position: absolute; | |||
width:100%; | |||
height:100%; | |||
top:0; | |||
left:0; | |||
content:""; | |||
background:url(https://discordapp.com/api/guilds/103209684680323072/embed.png) no-repeat; | |||
} | } |
Revision as of 15:02, 13 November 2020
/* CSS placed here will be applied to all skins */ .mp-section { background:#151e28; border: 1px solid black; -webkit-border-radius: 5px; -moz-border-radius: 5px; -o-border-radius: 5px; border-radius: 5px; } .mainleft { float: left; width: 25%; } .mainright { float: right; width: 25%; } .maincenter { margin: auto; width: 48%; } /* Discord invite button */ div#mw-panel li a[href="https://discord.gg/undertow"] { display:inline-block; position:relative; height:20px; width:119px; margin-top:5px; right:10px; } div#mw-panel li a[href="https://discord.gg/undertow"]::before { position: absolute; width:100%; height:100%; top:0; left:0; content:""; background:url(https://discordapp.com/api/guilds/103209684680323072/embed.png) no-repeat; }