User:StolenBattenberg/vector.css

From Sword of Moonlight 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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
@media screen 
{
  /*************/
  /* Main Page */
  /*************/
  body 
  {
    /* background-image: url("https://waifu2x.booru.pics/outfiles/f0f2bd6acf60323030b700417f61dfba7f40cbb6_s2_n0_y1.png"); */
    background-color:#F08080;
    background-size:cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  /* This is the main content area, excluding the tabs */
  .mw-body
  {

  }

  /* Something something */
  #mw-head-base
  {

  }

  /* This controls the page colour directly behind the top navigation */
  #mw-page-base 
  {
    background-color: rgba(0, 0, 0, 0);
    background-image: none;
    background-position: unset;
    height: 8em;
  }

  /*******************/
  /* Navigation, Top */
  /*******************/
  #mw-head 
  {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0);
  }

  /********************/
  /* Navigation, User */
  /********************/
  #p-personal ul 
  {
    padding: 0px;
    margin: 0px;
  }

  .vector-user-menu-legacy .vector-menu-content-list
  {
    padding: 0px;
    margin: 0px;

    background: rgba(15,15,15,0.95);
    box-shadow: rgba(0,0,0,0.7) 0px 1px 8px, inset rgba(0,0,0,0.4) 0px 0px 0px 1px;
    border-radius: 2px;
    border: 1px;
  }

  /* This is a generic link on the user menu */
  .vector-user-menu-legacy
  {
    li 
    {
      float: left;
      padding: 0px;
      margin: 0px;
      line-height: 32px;

      a:hover
      {
        text-decoration: none;
        text-shadow: #3f9fc9 0px 1px 1px;

        background: rgba(31,31,31,0.95);
      }
 
      a span 
      {
        text-align: center;
        padding: 0px 8px 0px 8px;
        color: #F0F0F0;
      }
    }

    /* Specific Override: User Page */
    #pt-userpage a
    {
        padding: 0px 0px 0px 16px;
        margin: 0px;
        background-image: none;
    }

    /* Specific Override: Log out */
    #pt-logout a
    {
        padding: 0px 16px 0px 0px;
        margin: 0px;
    }
  }

  /********************/
  /* Navigation, Side */
  /********************/
  #mw-panel 
  {
    position: absolute;
    top: 8em;
    left: 0;
    width: 10em;
  }
}