MediaWiki:Common.css

From Official Barotrauma Wiki
Revision as of 15:02, 13 November 2020 by Juanjp600 (talk | contribs)
Jump to: navigation, search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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;
}