User:Wiki-admin/common.css

From TSG Doc
Jump to navigation Jump to search

Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* Wiki-admin custom css to make sure users don't accidentally log in with the wrong account */

@media screen {  
  #mw-page-base {    
    background-image: linear-gradient(to bottom,#e3000b 10%,#f6f6f6 100%);
    height: 8em;
  }
  
  #mw-page-base::before {
    content:"Please log in with your personal account to make changes to our Wiki!";
    font-weight: bold;
    font-size: 1.2em;
    position:absolute;
    left:50%;
    top:1.5em;
    transform:translateX(-50%);
    color: white;
  }
  
  #left-navigation, #right-navigation {
    margin-top: 5.5em;
  }
  
  #p-personal a,  #p-personal a.new {
    color:white;
  }
  
  #p-personal a:hover {
    text-decoration: underline;
  }
  
}