User:Kylu/tabs.css

From Meta, a Wikimedia project coordination wiki

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.
/* ################################### */
/* Start of requirements for menu tabs */
#p-cactions #ca-edit-0 a { 
    padding-left: 0.4em;
    padding-right: 0.4em;
}

#p-cactions li
{
    position: relative;
    float: left;
}

.tabmenu ul
{
    display: none;
    z-index: 2;
    position: relative;
    top: -2px;
    border-top: 1px solid #aaaaaa;
    padding: 0px;
    margin: 0px;
    background: #FFFFF0;
    background-color: #FFFFF0;
    clear:both;
}

/* Menu tab IDs. If you add a new menu, you need to add its ID here too */
#afda ul li, #dbm ul li, #mystatus ul li, #talkm ul li
{
    float: none;
    border: 1px solid #aaaaaa;
    border-top: none;
    text-align: center;
    background: #F8FCFF;
    background-color: #FFFFF0;
    clear:both;
    display: block;
}

.tabmenu:hover ul
{
    display: block;
}

.tabmenu a
{
    padding: 0pt 0.8em !important;
    background: #F8FCFF;
    background-color: #FFFFF0;
}

.tabmenu ul a:hover
{
    font-weight: bold;
}

/* End of requirements for menu tabs */
/* ################################# */