User:Alphax/monobook.css

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
/* <pre><nowiki> */

#p-cactions #ca-edit-0 a { 
    padding-left: 0.4em;
    padding-right: 0.4em;
}

#bodyContent .plainlinks a {padding: 0 !important}

.diff-deletedline .diffchange
{
    text-decoration: line-through;
}

.diff-addedline .diffchange
{
    text-decoration: underline;
}

/* BEGIN Diff rendering */
td.diff-addedline { 
   background:#D8E4F6; 
}
td.diff-addedline span.diffchange {
   background: #B0C0F0;
   color: #001040;
   font-weight: bold;
}
td.diff-deletedline {
   background:#E4F6D8;
}
td.diff-deletedline span.diffchange {
   background: #B0E897;
   color: #104000;
   font-weight: bold;
}
td.diff-context {
   background:#FEFEFE;
}
/* END Diff rendering */

/**** Set up tab menus ****/

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

#p-cactions li li
{
    float: none;
    display: block;
    border: 1px solid #aaaaaa;
    border-top: none;
    text-align: center;
    padding: 0px;
    margin: 0px;
}

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

.tabmenu:hover ul
{
    display: block;
}

.tabmenu a
{
    padding: 0pt 0.8em !important;
}

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

/**** Nested tab menus ****/

#p-cactions li li li
{
    /* Do something here */
    width: 8em;
}

.tabmenu .tabmenu ul
{
    display: none;
    position: absolute;
    top: -1px;
    left: 100%;
}

.tabmenu .tabmenu:hover ul
{
     display: block;
}

.tabmenu .tabmenu a
{
    padding: 0pt 0.8em !important;
}

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

/**** End tab menus setup ****/

/**** Set UTC date to be uppercase ****/

#utcdate
{
    text-transform: capitalize;
}

/* </nowiki></pre> */