MediaWiki:Monobook.css: Difference between revisions

From Pikmin Fanon
No edit summary
m (& should fix display issues with TOC, attempting to fix the same with search bar #cww)
 
(86 intermediate revisions by 8 users not shown)
Line 1: Line 1:
if mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://fanon.pikminwiki.com/images/6/68/Real.png",
    "speedTip": "Canon",
    "tagOpen": "{{Real}}",
    "tagClose": "",
    "sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://fanon.pikminwiki.com/images/8/8c/NoReal.png",
    "speedTip": "Non-Canon",
    "tagOpen": "{{NoReal}}",
    "tagClose": "",
    "sampleText": ""};
}
/* Don't display some stuff on the main page */
/* Don't display some stuff on the main page */
body.page-Main_Page #lastmod,  
body.page-Main_Page #lastmod,  
body.page-Main_Page #siteSub,  
body.page-Main_Page #siteSub,  
body.page-Main_Page #contentSub,  
body.page-Main_Page #contentSub,  
body.page-Main_Page h1.firstHeading {
body.page-Main_Page .firstHeading {
     display: none !important;
     display: none !important;
}
}


/* Don't display user Badges*/
body.ns-2.page-User_Volatile_Dweevil .article-sidebar {display:none;}
body.ns-2.page-User_Volatile_Dweevil #profile-content-inner {margin-right:0;}
body.ns-2.page-User_Peanut64 .article-sidebar {display:none;}
body.ns-2.page-User_Peanut64 #profile-content-inner {margin-right:0;}
body.ns-2.page-User_Sir_Pikmin .article-sidebar {display:none;}
body.ns-2.page-User_Sir_Pikmin #profile-content-inner {margin-right:0;}
}
/*That crazy box*/
.editsimilar {
.editsimilar {
     background: #Green;
     background: #D0F0C0;
     border: 2px outset #00bb00;
     border: 2px outset #CCBBDD;
     -moz-border-radius-topleft: 40px;
     border-radius: 40px 0;
    -moz-border-radius-bottom right: 40px;
}
 
/*OGG player*/
.ogg-player-options {
    border: 2px outset #00bb00;
    -moz-border-radius-topleft: 50px;
    -moz-border-radius-bottom right: 100px;
}
}


/*Watchlist edit message*/
/*Watchlist edit message*/
.usermessage {
.usermessage {
     background: #CCFF00;
     background: #D0F0C0;
     font-weight: bold;
     font-weight: bold;
     margin: 20px 0px 10px 0px;
     margin: 20px 0 10px 0;
     padding: 5px 10px;
     padding: 5px 10px;
     vertical-align: middle;
     vertical-align: middle;
     border: 2px outset #00bb00;
     border: 2px outset #000000;
     -moz-border-radius-bottomright: 15px;
     border-radius: 15px;
    -moz-border-radius-topleft: 15px;
}
}


/*Background*/
/*Content area*/
body
#footer {
{
    border: outset #CCCCCC;
background-image: ;
    border-width: 2px 0;
background-repeat: no-repeat;
    background: url(/w/images/W80.png);
background-position: right;
    background: rgba(255, 255, 255, 0.8);
background-attachment: fixed;
background-color: #FFF !important;
}
}
 
html .skin-monobook ul {list-style-image: url(/w/images/Bullet.png);}
#wikia_page {
#toc {
    background-image: url(http://images.wikia.com/pikmin/images/1/1f/Background.jpg);
     background: #D0F0C0;
     background-position: right;
    border: 2px outset #CCBBDD;
     background-attachment: fixed;
     border-radius: 60px 0 40px 0;
     background-repeat: no-repeat;
     padding: 7px 11px;
min-width: 120px;
}
}
table, td {
#toc li {list-style: none;}
     background: none;
body {background: url(/w/images/9/97/Green-grass_w.jpg) no-repeat center fixed;}
#content {
    border: 2px outset #CCCCCC !important;
    border-radius: 15px;
     background: url(/w/images/W80.png);
    background: rgba(255, 255, 255, 0.8);
}
}
div.thumb {
table, td, .diff, .diff-otitle, .diff-ntitle {background: none;}
pre {background: rgba(249, 249, 249, .7);}
div.thumb {border: none;}
.tright {
   border: none;
   border: none;
  margin: 5px 0 5px 10px;
}
}
div.tright {
.tleft {
   border: none;
   border: none;
   margin: 5px 0px 5px 10px;
   margin: 5px 15px 5px 0;
}
}
div.tleft {
.wikia-gallery-item .thumb {border-color: #aca;}
   border: none;
#catlinks {
   margin: 5px 15px 5px 0px;
   border: 2px outset #CCBBDD;
   background: #CCFFCC;
    border-radius: 30px 0;
    padding-bottom: 0;
    padding-top: 0;
}
}


/*Sidebar*/
/*Sidebar*/
.portlet {width: 175px;}
.portlet {
.portlet {
    width: 150px;
     color: black;
}
     background: #48A627;
.portlet h5 {
     border: 2px outset #000000;
    text-transform: uppercase;
     padding: 1px 0 3px 10px;
     color: #4F7942;
    font-family:"Helvetica", Helvetica, serif;
     background: LightGreen;
     border: 2px outset #00bb00;
     padding: 1px 0px 3px 10px;
     font-weight: bold;
     font-weight: bold;
     display: block;
     display: block;
     -moz-border-radius-topleft: 20px;
     border-radius: 11px 0;
    -moz-border-radius-bottomright: 20px;
 
}
}
.portlet label {cursor: auto;}
.pBody {
.pBody {
     background: Green;
     background: #A3D293;
     border: 2px outset #00bb00;
     border: 2px outset #CCBBDD;
     padding-left: 0px;
     padding-left: 0;
     margin: 2px 30px 0px 10px;
     margin: 2px 20px 0 5px;
    -moz-border-radius-topleft: 2.0em;
     border-radius: 25px 0;
     -moz-border-radius-bottomright: 2.0em;
}
.portlet ul {
    list-style-type: none;
}
}
.portlet ul {list-style-type: none;}
/* increase sidebar width */
#column-content { margin-left: -14em }
#column-content #content { margin-left: 14em }
#p-logo a, #p-logo a:hover { width: 14em }
#p-cactions { left: 13.5em }
.portlet { width: 13em }
#column-content { margin-left: -13em }
#content { margin-left: 13em }


/*Search*/
/*Search*/
input.searchButton {
input[type="submit"]:hover,
    margin-top: 2px;
input[type="button"]:hover {
    margin-bottom: 1px;
     background: none;
    padding: 0px 0px 0px 0px;
    cursor: pointer;
    background: #ccffcc;
    border: 2px outset #Green;
}
input.searchButton:hover {
     background: #ffffff;
}
#searchInput {
    width: 89px;
    background: #ffffff;
}
}
#p-search .pBody {
#searchInput {width: 90px;}
     padding: 0.5em 0.5em 0.5em 0.5em;
#p-search .pBody {padding: 4px 6px 5px 6px;}
#searchGoButton, #mw-searchButton {
     padding: 0 2px;
    border-radius: 11px 0;
}
}


/*Tabs*/
/*Tabs*/
#p-cactions .pBody:hover {opacity: 1;}
#p-cactions li:hover {opacity: 0.8;}
#p-cactions li {
#p-cactions li {
     border: 2px outset #00bb00;
     border: 2px outset #CCCCCC;
     border-bottom: 1px solid #ffffff;
     border-bottom: 1px solid #FFFFFF;
    border-radius: 10px 0;
}
}
#p-cactions li a {
#p-cactions li a {
     border: none;
     border: none;
}
     border-radius: 10px 0;
#p-cactions li,
#p-cactions li a {
    -moz-border-radius-topleft: 10px;
     -moz-border-radius-bottomright: 10px;
}
 
/*ToC*/
#toc {
    background: #ccffcc;
    -moz-border-radius-topleft: 60px;
    -moz-border-radius-bottomright: 40px;
    border: 2px outset #00bb00;
}
}


Line 162: Line 126:
.usermessage:hover,
.usermessage:hover,
#toc:hover,
#toc:hover,
#catlinks:hover {
#catlinks:hover {background: none;}
    background: none;
.portlet .pBody:hover,
}
.portlet :hover {
#p-search .pBody:hover {
     background: #FFFFFF;
    background: #ffffff;
}
#p-tb .pBody:hover,
#p-wikicities-nav .pBody:hover,
#p-navigation .pBody:hover,
#p-cactions li,
#p-cactions li a,
#p-cactions li.selected,
#p-cactions li.selected a {
     background: #ffffff;
     opacity: 0.85;
     opacity: 0.85;
}
}
.portlet h5:hover {
.portlet :hover {color: #050;}
    background: none;
    color: #007700;
}


/*Input boxes*/
/*Input boxes*/
input {
input[type="submit"],
     -moz-border-radius-topleft: 20px;
input[type="button"],
    -moz-border-radius-bottomright: 20px;
input[type="text"],
     border: 2px inset #00bb00;
input[type="password"],
     padding-left: 3px;
input[type="search"] {
     border-radius: 15px 0;
     border: 2px inset #CCCCCC;
     padding: 0 3px;
}
}
select {
input[type="submit"],
    border: 2px inset #00bb00;
input[type="button"] {
}
     color: #000;
input[type="text"],
    cursor: pointer;
input[type="password"] {
    background: #d0f0c0;
     height: 16px;
    border: 2px outset #CCCCCC;
}
}
textarea {
textarea {
     border: 2px inset #00bb00;
     border: 2px inset #CCCCCC;
    -moz-border-radius-topleft: 40px;
    -moz-border-radius-bottomright: 40px;
    padding: 8px 5px 16px 8px;
    background: none;
}
#wpSave,
#wpPreview,
#wpDiff,
#tUpload {
    background: #ccffcc;
    border: 2px outset #00bb00;
}
 
/*Content area*/
#content {
    border: 2px outset #00bb00;
    -moz-border-radius: 20px;
}
#footer {
     background: none;
     background: none;
    padding: 0;
    margin-bottom: 3px;
}
}


Line 227: Line 164:
#bodyContent a.extiw,
#bodyContent a.extiw,
#bodyContent a.external {
#bodyContent a.external {
     color: #00bb00;
     color: #008844;
}
}
a:visited,
a:visited,
#bodyContent a.extiw:visited,
#bodyContent a.extiw:visited,
Line 239: Line 175:
#bodyContent a.extiw:hover,
#bodyContent a.extiw:hover,
#bodyContent a.external:hover {
#bodyContent a.external:hover {
     color: #00bb00;
     color: #CCBBDD;
}
}
a:visited:hover,
a:visited:hover,
#bodyContent a.extiw:visited:hover,
#bodyContent a.extiw:visited:hover,
#bodyContent a.external:visited:hover {
#bodyContent a.external:visited:hover {
     color: #00bb44;
     color: #00BB44;
}
}
a.new:link,
a.new:link,
Line 252: Line 188:
#p-personal li a.new:visited,
#p-personal li a.new:visited,
#p-cactions .new a:visited {
#p-cactions .new a:visited {
     color: #bbbb00;
     color: #BBBB00;
}
#bodyContent a.external {
    background-image: url(http://images.wikia.com/pikmin/images/4/44/External.png);
}
#catlinks {
  border: 2px outset #00bb00;
  background: #ccffcc;
  -moz-border-radius-topleft: 30px;
  -moz-border-radius-bottomright: 30px;
    padding-bottom: 0px;
    padding-top: 0px;
}
}


/* TabbyBox */
#p-personal li a:hover {background: none;}
#tabbyHead a {
    padding: 0px 10px 0px 10px;
    background-color: #228B22;
    -moz-border-radius-topleft: 15px;
    -moz-border-radius-bottomright: 15px;
    color: #006600;
    font-size: 150%;
}
#tabbyHead a.selected {
    border: 2px solid #00bb00;
    background: #ffffff;
}
#tabbyHead p {
    margin: 1px;
}
#tabbyHead {
    position: relative;
    left: 50px;
}
 
.color1 {
  background-color: #050;
}
#search_box {
  -moz-border-radius-topleft: 12px;
}
#link_box {
  -moz-border-radius-bottomright: 13px;
}
#navigation a {
  background-color: #CFC;
  color: #080;
}
#navigation a:hover, .navigation-hover {
  background-color: #FFF;
  color: #0B0;
}
.menu-item .menu-item:first-child>a {
  -moz-border-radius-topleft: 12px;
}
.menu-item .menu-item:last-child>a {
  -moz-border-radius-bottomright: 12px;
}
 
.widget {
  border: 2px outset #0B0;
  padding: 0 !important;
  -moz-border-radius-topleft: 15px;
  -moz-border-radius-bottomright: 15px;
}
.widget dt {
  padding-left: 5px;
  -moz-border-radius-topleft: 20px;
}
.widget dd {
  background-color: #CFC;
  -moz-border-radius-bottomright: 13px;
}
.widget dd:hover {
  background-color: #FFF;
}
.widget a {
  color: #080;
}
.widget dd:hover a {
  color: #0B0;
}
 
#page_bar, #search_box {
  background-image: none;
}
#page_controls a {
  color: #FFF;
}
 
#wikia_page {
  border: 2px outset #0B0;
  -moz-border-radius: 20px;
}
#page_bar {
  -moz-border-radius-topleft: 15px;
  -moz-border-radius-topright: 15px;
}
#page_tabs li {
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright: 10px;
}
 
.headerMenuButton dt, .headerMenuButton dd {
  background-image: url(http://images.wikia.com/pikmin/images/6/69/Monaco_header_button.png);
  color: #080;
}
* html .headerMenuButton dt, * html .headerMenuButton dd  {
  background-image: none;
  filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://images.wikia.com/pikmin/images/6/69/Monaco_header_button.png', sizingMethod='crop');
}
 
#wikia_logo {
  background-image: url(http://images.wikia.com/pikmin/images/9/9e/Monaco_wikia_logo.png);
}
* html #wikia_logo {
  background-image: none;
  filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://images.wikia.com/pikmin/images/9/9e/Monaco_wikia_logo.png', sizingMethod='crop');
}
 
#search_button {
  background-image: url(http://images.wikia.com/pikmin/images/2/22/Monaco_search.png);
}
* html #search_button {
  background-image: none;
  filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://images.wikia.com/pikmin/images/2/22/Monaco_search.png', sizingMethod='crop');
}
 
#header_username a {
  color: #080;
}


body
#new_edit_page_preview_notice {display: none;}
{
#wikiPreview>*:first-child {display: block;}
background-image: url('http://images4.wikia.nocookie.net/__cb20100823141644/pikminfanon/images/8/87/Mac_grass_modify_by_ipapun.jpg');
#editform {margin-top: 15px;}
right fixed no-repeat;
    border: 2px outset #0b0;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
}


#wikia_header, #background_strip
#p-personal ul {
{
    background: rgba(0, 0, 0, 0.4);
background-color: transparent !important;
    border-radius: 0 0 0 10px;
    float: right;
    padding: 2px 1em 2px 0;
}
}
#p-personal li a {color: #efe;}
#p-personal li a:hover {color: #bfb; background: none; text-decoration: underline;}


/* User masthead */
code {
#user_masthead {
  border: 1px solid #ddd;
    -moz-border-radius-topleft: 15px;
    -moz-border-radius-topright: 15px;
    background: #8c8;
}
#user_masthead a {color: #232 !important;}
#user_masthead+#page_bar {-moz-border-radius: 0; margin-top: 0;}
ul li {list-style-image: url(http://images4.wikia.nocookie.net/pikmin/images/7/7a/Bullet.png);}
#user_masthead ul.nav_links li, #user_masthead ul.nav_links li a {
  background: #005500;
  color: #FFF;
}
#user_masthead ul.nav_links li.selected, #user_masthead ul.nav_links li.selected a {
  background: #FFF;
  color: #005500;
}
body.masthead-regular #page_bar, body.masthead-special #page_bar,
body.masthead-regular #page_bar a, body.masthead-special #page_bar a {
  background: #FFF;
  color: #005500;
}
.dark_text_1 {
  color: #005500;
}
}


/* Add a checklist to the Recent Changes */
/* Right-side margin for wider displays */
.rcnsthidden {display: none;}
@media all and (min-width: 1350px) {
 
#column-content #content {
With a little knowledge, this can be modified to, for example, show all ignored
margin-right: 14em;
edits in a different colour, or align them to the right, rather than hide them.
}
Examples:
 
    Greyed out:
.rcnsthidden {color: #aaa;}
.rcnsthidden a {color: #777 !important;}
 
    Smaller font:
.rcnsthidden {font-size: 0.8em;}
 
    Right-aligned:
.rcnsthidden {text-align: right;}
 
    All three of the above:
.rcnsthidden {text-align: right; font-size: 0.8em; color: #aaa;}
.rcnsthidden a {color: #777 !important;}
 
To-do:
- make possible with enhanced (grouped) RC
- hide h4s that have no visible contents
- extra buttons to toggle all/invert toggle
- check for existence of indexOf, etc. before doing anything
- specific page include/exclude lists (requires ns prefix; remember _s)
- instead of display:none, add a class to be able to, e.g. align unwanted items
  right rather than removing entirely
 
*/
 
// Change this to true to make the list below an include list rather than an
// exclude list:
 
include = false;
 
// Here, default namespaces (or log types) can be set; put them in '' or ""
// separated by commas, inside the [].  By default, this is the excluded list:
 
RCNSTList = [];
 
// Change these if it'll make styling easier - e.g., use ul/li and create a
// hover menu:
 
RCNSTbeforecheckboxes = '<span id="rcnst"><hr />\n';
RCNSTaftercheckboxes = '</span>';
RCNSTbeforecheckbox = '';
RCNSTaftercheckbox = '\n';
 
window.onload = function () {
    if (document.body.className.indexOf("page-Special_RecentChanges") == -1) return;
    choice = document.getElementById("namespace").childNodes;
    nslist = [];
    for (i in choice) if (choice[i].tagName == "OPTION" && choice[i].value != "") nslist[choice[i].value] = choice[i].innerHTML;
    loglist = [];
    days = document.getElementsByClassName("special");
    for (i in days) {
        if (days[i].tagName != "UL") continue;
        items = days[i].childNodes;
        for (j = 0; j < items.length; j++) {
            if (items[j].tagName != "LI") continue;
            logname = items[j].getElementsByTagName("a")[0].innerHTML;
            if (logname != "diff" && logname != "hist" && loglist.indexOf(logname) == -1) loglist.push(logname);
        }
    }
    temp = RCNSTList;
    RCNSTList = [];
    for (i in nslist) {
        if (!include && (temp.indexOf(nslist[i]) != -1)) RCNSTList[i] = false;
        else if (include && (temp.indexOf(nslist[i])) == -1) RCNSTList[i] = false;
    }
    for (i in loglist) {
        if (!include && (temp.indexOf(loglist[i]) != -1)) RCNSTList[loglist[i]] = false;
        else if (include && (temp.indexOf(loglist[i])) == -1) RCNSTList[loglist[i]] = false;
    }
    s = RCNSTbeforecheckboxes;
    for (i in nslist) {
        if (RCNSTList[i] == false) insert = '';
        else insert = 'checked="checked"';
        s += RCNSTbeforecheckbox + '<input type="checkbox" ' + insert + 'name="RCNST' + i + '" onclick="RCNST()" /><label for="RCNST' + i + '">' + nslist[i] + '</label>' + RCNSTaftercheckbox;
    }
    for (i in loglist) {
        if (RCNSTList[loglist[i]] == false) insert = '';
        else insert = 'checked="checked"';
        s += RCNSTbeforecheckbox + '<input type="checkbox" ' + insert + 'name="RCNSTl' + i + '" onclick="RCNST()" /><label for="RCNSTl' + i + '">' + loglist[i] + '</label>' + RCNSTaftercheckbox;
    }
    s += RCNSTaftercheckboxes;
    document.getElementsByClassName("rcoptions")[0].innerHTML += s;
    RCNST();
}
function RCNST () {
    for (i in nslist) {
        if (document.getElementsByName("RCNST" + i)[0].checked) RCNSTList[i] = true;
        else RCNSTList[i] = false;
    }
    for (i in loglist) {
        if (document.getElementsByName("RCNSTl" + i)[0].checked) RCNSTList[loglist[i]] = true;
        else RCNSTList[loglist[i]] = false;
    }
    days = document.getElementsByClassName("special");
    for (i in days) {
        if (days[i].tagName != "UL") continue;
        items = days[i].childNodes;
        for (j = 0; j < items.length; j++) {
            if (items[j].tagName != "LI") continue;
            page = items[j].getElementsByTagName("a")[0];
            if (page.innerHTML == "diff" || page.innerHTML == "hist") {
                page = page.href;
                page = page.substring(page.indexOf("?title=") + 7);
                page = page.substring(0, page.indexOf("&curid="));
                page = page.substring(0, page.indexOf(":")).replace("_", " ");
                page = nslist.indexOf(page);
                if (page == -1) page = 0;
            } else page = page.innerHTML;
            if (RCNSTList[page]) {
                if (items[j].className.indexOf(" rcnsthidden") != -1) items[j].className =  items[j].className.substring(0, items[j].className.indexOf(" rcnsthidden"));
            } else if (items[j].className.indexOf(" rcnsthidden") == -1) items[j].className += " rcnsthidden";
        }
    }
}
}

Latest revision as of 08:06, 29 September 2023

/* Don't display some stuff on the main page */
body.page-Main_Page #lastmod, 
body.page-Main_Page #siteSub, 
body.page-Main_Page #contentSub, 
body.page-Main_Page .firstHeading {
    display: none !important;
}

.editsimilar {
    background: #D0F0C0;
    border: 2px outset #CCBBDD;
    border-radius: 40px 0;
}

/*Watchlist edit message*/
.usermessage {
    background: #D0F0C0;
    font-weight: bold;
    margin: 20px 0 10px 0;
    padding: 5px 10px;
    vertical-align: middle;
    border: 2px outset #000000;
    border-radius: 15px;
}

/*Content area*/
#footer {
    border: outset #CCCCCC;
    border-width: 2px 0;
    background: url(/w/images/W80.png);
    background: rgba(255, 255, 255, 0.8);
}
html .skin-monobook ul {list-style-image: url(/w/images/Bullet.png);}
#toc {
    background: #D0F0C0;
    border: 2px outset #CCBBDD;
    border-radius: 60px 0 40px 0;
    padding: 7px 11px;
	min-width: 120px;
}
#toc li {list-style: none;}
body {background: url(/w/images/9/97/Green-grass_w.jpg) no-repeat center fixed;}
#content {
    border: 2px outset #CCCCCC !important;
    border-radius: 15px;
    background: url(/w/images/W80.png);
    background: rgba(255, 255, 255, 0.8);
}
table, td, .diff, .diff-otitle, .diff-ntitle {background: none;}
pre {background: rgba(249, 249, 249, .7);}
div.thumb {border: none;}
.tright {
   border: none;
   margin: 5px 0 5px 10px;
}
.tleft {
   border: none;
   margin: 5px 15px 5px 0;
}
.wikia-gallery-item .thumb {border-color: #aca;}
#catlinks {
   border: 2px outset #CCBBDD;
   background: #CCFFCC;
    border-radius: 30px 0;
    padding-bottom: 0;
    padding-top: 0;
}

/*Sidebar*/
.portlet {width: 175px;}
.portlet {
    color: black;
    background: #48A627;
    border: 2px outset #000000;
    padding: 1px 0 3px 10px;
    font-family:"Helvetica", Helvetica, serif;
    font-weight: bold;
    display: block;
    border-radius: 11px 0;
}
.portlet label {cursor: auto;}
.pBody {
    background: #A3D293;
    border: 2px outset #CCBBDD;
    padding-left: 0;
    margin: 2px 20px 0 5px;
    border-radius: 25px 0;
}
.portlet ul {list-style-type: none;}

/* increase sidebar width */
#column-content { margin-left: -14em }
#column-content #content { margin-left: 14em }
#p-logo a, #p-logo a:hover { width: 14em }
#p-cactions { left: 13.5em }
.portlet { width: 13em }
#column-content { margin-left: -13em }
#content { margin-left: 13em }

/*Search*/
input[type="submit"]:hover,
input[type="button"]:hover {
    background: none;
}
#searchInput {width: 90px;}
#p-search .pBody {padding: 4px 6px 5px 6px;}
#searchGoButton, #mw-searchButton {
    padding: 0 2px;
    border-radius: 11px 0;
}

/*Tabs*/
#p-cactions .pBody:hover {opacity: 1;}
#p-cactions li:hover {opacity: 0.8;}
#p-cactions li {
    border: 2px outset #CCCCCC;
    border-bottom: 1px solid #FFFFFF;
    border-radius: 10px 0;
}
#p-cactions li a {
    border: none;
    border-radius: 10px 0;
}

/*Hover*/
.usermessage:hover,
#toc:hover,
#catlinks:hover {background: none;}
.portlet .pBody:hover,
.portlet :hover {
    background: #FFFFFF;
    opacity: 0.85;
}
.portlet :hover {color: #050;}

/*Input boxes*/
input[type="submit"],
input[type="button"],
input[type="text"],
input[type="password"],
input[type="search"] {
    border-radius: 15px 0;
    border: 2px inset #CCCCCC;
    padding: 0 3px;
}
input[type="submit"],
input[type="button"] {
    color: #000;
    cursor: pointer;
    background: #d0f0c0;
    border: 2px outset #CCCCCC;
}
textarea {
    border: 2px inset #CCCCCC;
    background: none;
    padding: 0;
    margin-bottom: 3px;
}

/*Links*/
a,
#p-personal li a,
#p-cactions li a,
#bodyContent a.extiw,
#bodyContent a.external {
    color: #008844;
}
a:visited,
#bodyContent a.extiw:visited,
#bodyContent a.external:visited {
    color: #008844;
}
a:hover,
#p-personal li a:hover,
#bodyContent a.extiw:hover,
#bodyContent a.external:hover {
    color: #CCBBDD;
}
a:visited:hover,
#bodyContent a.extiw:visited:hover,
#bodyContent a.external:visited:hover {
    color: #00BB44;
}
a.new:link,
a.new:visited,
#p-personal li a.new,
#p-cactions .new a,
#p-personal li a.new:visited,
#p-cactions .new a:visited {
    color: #BBBB00;
}

#p-personal li a:hover {background: none;}

#new_edit_page_preview_notice {display: none;}
#wikiPreview>*:first-child {display: block;}
#editform {margin-top: 15px;}

#p-personal ul {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 0 0 0 10px;
    float: right;
    padding: 2px 1em 2px 0;
}
#p-personal li a {color: #efe;}
#p-personal li a:hover {color: #bfb; background: none; text-decoration: underline;}

code {
  border: 1px solid #ddd;
}

/* Right-side margin for wider displays */
@media all and (min-width: 1350px) {
	#column-content #content {
		margin-right: 14em;
	}
}