MediaWiki:Homepage.css
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.
/* Styles for the Homepage */ /* Created by: NHeoShadow for Galaxy Wiki | Edited by smallketchup82 for Galaxypedia*/ /*div on Homepage used for navigation buttons*/ .is-content-expanded #homeButtonNav{ display: flex; flex-direction: column; min-height: 250px; } #homeButtonNav{ text-align:center; border: 2px solid rgb(48, 52, 54) !important; padding: 10px; width: 90%; left: 50%; position: relative; transform: translate(-50%, 0); } .is-content-expanded #homeButtonNav hr{ width: 91%; } #homeButtonNav hr{ border: 1px solid white; border-radius: 5px; opacity: 0.5; width: 90%; } /* end of homeButtonNav */ /* Group/wrapper div for HomeButton */ .HomeGroup{ display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; justify-content: center; flex-wrap: wrap; align-items: center; } /*Navigation Buttons inside #homeButtonNav div*/ .HomeButton{ display: flex; justify-content: center; background-color: transparent; transition: 0.5s; width: 15%; border-radius: 8px; box-shadow: 0px 0px 0px white; margin: 0 8px; padding: 6px 8px; text-align: center; font-size: 100%; font-family: 'Quicksand', Helvetica Neue, Helvetica, Arial, sans-serif; margin-top: 5px; margin-bottom: 10px; border: 1px solid white; opacity: 0.75; overflow: hidden; } .HomeButton p { align-self: center; height: 100%; width: 100%; } .HomeButton a { color: white !important;; text-decoration: none; background-image: none !important; padding-right: 0 !important;; height: 100%; width: 100%; display: block; } /*.HomeButton a.external:after{ display: none !important; }*/ .is-content-expanded .HomeButton{ width: 17%; height: 50px; } .HomeButton:hover { transform: scale(1.05, 1.05); box-shadow: 0px 0px 10px white; opacity: 1; } /*End of Navigation Buttons*/ /*Remove weird margin at the bottom of the columns div.mw-parser-output > p{ margin: 0px; } */