Jump to content

User:Whose Your Guy/monobook.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
.mw-plusminus-pos {
    color:green;
    font-weight:bold;
}
 
.mw-plusminus-neg {
    color:red;
    font-weight:bold;
}
 
.usermessage {
	background-color: #40ff40;
	border: 1px solid #004000;
	color: black;
	font-weight: bold;
	margin: 2em 0 1em;
	padding: .5em 1em;
	vertical-align: middle;
}
 
importScript('User:Voice_of_All/Dropdown/monobook.css');
 
/* standard link colors */
a:link { color: #0000FF; } /* normal unvisited links */
a:link:visited { color: #7F007F; } /* visited links */
a:link:active { color: #FF0000; } /* active links */
a:link.new { color: #FF0000; } /* new links */
a:link.interwiki { color: #3366BB; } /* interwiki links */
a:link.external { color: #3366BB; } /* external links */
a:link.stub { color: #772233; } /* hovered links */
 
a:link { color: #0000FF}
a:visited { color: #096ce7}
a:hover { color: #404040}
a:active { color: #772233}
a:link.external ( color: #bc5f14)
a:link.interwiki ( color: #075150)

function addlimenu(tabs, name, id, href, position) {
    var na, mn;
    var li;

    if (!id) {
        id = name;
    }
    if (!href) {
        href = '#';
    }
    (na = document.createElement("a")).appendChild(document.createTextNode(name));
    na.href = href;
    mn = document.createElement("ul");
    (li = document.createElement("li")).appendChild(na);
    li.appendChild(mn);
    if(id) li.id = id;
    li.className = 'tabmenu';

    if (position) {
        tabs.insertBefore(li, position);
    } else {
        tabs.appendChild(li);
    }

    return mn;  // useful because it gives us the <ul> to add <li>s to
}