MediaWiki:Common.css

From Chained Fates Lore
Revision as of 20:03, 2 March 2023 by CFAdmin (talk | contribs)
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 */

/*
body{ background-image: url('/block.png'); background-position: top left; background-size: 16px; }
#mw-page-base{ background-image: url('/block.png'); background-position: top left; background-size: 16px; }
.vector-menu-content-list li{ background: rgba(255, 255, 255, 0.3); }
*/

.mw-wiki-logo{
background-size: contain;
background-repeat: no-repeat;
}

#mw-page-base{ background-image: url('/block.png'); background-position: top left; background-size: 16px; }

#p-personal .vector-menu-content-list li a{ color: white; }
#p-personal #pt-userpage a { color: purple; padding: 2px 5px; background: white !important; }
#p-personal #pt-mytalk { display: none; }

#p-cactions-label{ color: white; }
.vector-search-box-input{ background-color: rgba(255,255,255,0.75); }

.item-blocks ul{display: flex; list-style: none; flex-wrap: wrap; margin: 0; margin-right: -5px;}
.item-blocks li{width: calc(50% - 5px); margin: 0; padding: 0; margin-top: 5px; }
.item-blocks li:nth-child(odd){ margin-right: 5px; }
.item-blocks li:nth-child(odd):last-child{width: 100%;}
.item-blocks a{ display: block; padding: 15px; background: #787878; color: white; text-align: center; transition: 0.2s ease; }
.item-blocks a:hover{ text-decoration: none; color: #787878; background: white; }