User:SMcCandlish/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.
/* Display persondata boxes in articles */
table.persondata { display: table; }

/* Highlight my own stuff to make it easier to find/ignore */
:link[title ="User:SMcCandlish"] { text-decoration: underline; }

/* Get rid of obnoxious warnings */
#editpage-copywarn, #editpage-copywarn2, #editpage-copywarn3 { display: none; }

/* Save space */
:templatesUsed ul, :templatesUsed li { display: inline; padding-right: 5px; }

/* Use my font for code, when available, to save my eyes */
code, pre, samp, kbd, tt { font-family: "Consolas for BBEdit", Courier, monospace !important; }
/*     Make some of the editable stuff monospaced */
#wpTextbox1 { font-family: "Consolas for BBEdit", Courier, monospace !important; }
#wpSummary { font-family: "Consolas for BBEdit", Courier, monospace !important; }

/* change background of unselected tabs */
#p-cactions ul li a { background: #EEEEEE; }
/* change background of selected tabs */
#p-cactions ul li.selected a { background: white; }
/* change border background of selected tabs */
#p-cactions li.selected { border-color: #aaaaaa; }

/* put scrollbar on pre sections instead of ugly cutoff/overlap in firefox */
pre { overflow: auto; }

/* strikeout Upload File link as a reminder to upload to Commons instead */
li#t-upload { text-decoration: line-through; }

/* underline just the diff text that's different */
span.diffchange { text-decoration:underline; }


/* ############  DROPDOWNS  ################################################# */
/* This is REQUIRED for a bunch of the Voice of All scripts to work! */
#content { 
    -moz-border-radius-topleft: 1em; 
    -moz-border-radius-bottomleft: 1em;
}
div.pBody {
    -moz-border-radius-topright: 1em;
    -moz-border-radius-bottomright: 1em;
}
#p-cactions li {
    position: relative;
    float: left;
    border: 2px solid lightgrey;
}
#p-cactions li li {
    float: none;
    display: block;
    border-top: 1px solid lightgrey;
    border-bottom: 1px solid lightgrey;
    text-align: center;
    background: #F8FCFF;
    background-color: #F8FCFF;
    -moz-border-radius-topleft: .0em;
    -moz-border-radius-topright: .0em;
    -moz-border-radius-bottomright: .0em;
    -moz-border-radius-bottomleft: .0em;
}
.tabmenu ul {
    display: none;
    z-index: 2;
    position: relative;
    top: -2px;
    border-top: 1px solid #aaaaaa;
    padding: 0px;
    margin: 0px;
    background: #F8FCFF;
    background-color: grey;
}
.tabmenu:hover ul {
    display: block;
}

.tabmenu a {
    padding: 0pt 0.8em !important;
    background: #F8FCFF;
    background-color: #F8FCFF;
}
.tabmenu ul a:hover {
    font-weight: bold;
}
/* ############  end DROPDOWNS  ############################################# */


/* ############  ROUNDED CORNERS  ########################################### */
/* make a few corners round, only supported by moz/firefox/other gecko browsers for now */
#p-cactions ul li, #p-cactions ul li a {  
  -moz-border-radius-topleft: 1em;
  -moz-border-radius-topright: 1em;
}
#content { 
  -moz-border-radius-topleft: 1em; 
  -moz-border-radius-bottomleft: 1em;
}
div.pBody {
  -moz-border-radius-topright: 1em;
  -moz-border-radius-bottomright: 1em;
}

/* same, following the css3 spec */
#p-cactions ul li, #p-cactions ul li a {  
  border-radius-topleft: 1em;
  border-radius-topright: 1em;
}
#content { 
  border-radius-topleft: 1em;
  border-radius-bottomleft: 1em;
}
div.pBody {
  border-radius-topright: 1em;
  border-radius-bottomright: 1em;
}
/* ############  end ROUNDED CORNERS  ####################################### */