MediaWiki:Common.css

From Bloodcraft Wiki
Jump to navigation Jump to 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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
#p-logo a {
    background-size: 100px 100px !important; /* Adjust size */
    display: block;
    margin: 0 auto; /* Center horizontally */
    background-position: center center !important; /* Ensures it stays centered */
}

#p-logo {
    padding-top: 50px; /* Adjust the value as needed */
}

.numbers-box {
    width: 100%;
    font-size: 0px;
    text-align: center;
}

.number:first-of-type {
    margin-left: 0px;
}

.number {
    display: inline-block;
    width: fit-content;
    background: #eee;
    font-size: 16px;
    margin: 0% 20px;
    min-width:10%;
}
.nh {
    color: white;
    font-family: 'Ubuntu';
    font-size: 18px;
    font-weight: 500;
    margin: 0px;
    padding: 5px 30px;
}

.number:nth-of-type(1) .nh {background: url(images/headers/articles.png),linear-gradient(160deg, rgba(46,22,22,1) 5%, rgba(50,21,21,1) 5%, rgba(121,9,9,1) 57%, rgba(132,8,8,1) 57%, rgba(243,1,1,1) 100%, rgba(255,0,0,1) 100%);}
.number:nth-of-type(2) .nh {background: url(images/headers/ducks.png),linear-gradient(160deg, rgba(46,22,22,1) 5%, rgba(50,21,21,1) 5%, rgba(121,9,9,1) 57%, rgba(132,8,8,1) 57%, rgba(243,1,1,1) 100%, rgba(255,0,0,1) 100%);}
.number:nth-of-type(3) .nh {background: url(images/headers/hand.png),linear-gradient(160deg, rgba(46,22,22,1) 5%, rgba(50,21,21,1) 5%, rgba(121,9,9,1) 57%, rgba(132,8,8,1) 57%, rgba(243,1,1,1) 100%, rgba(255,0,0,1) 100%);}


.nt {
    padding: 5px 30px ;
}