Jump to content

User:Swatjester/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.
/*
 * Skin name:          Milky
 * Author:                 Ævar Arnfjörð Bjarmason
 * Reference:              http://en.wikipedia.org/style/monobook/main.css
 * To include in your CSS: http://en.wikipedia.org/w/wiki.phtml?title=User:%C6var_Arnfj%F6r%F0_Bjarmason/monobook.css&action=raw&ctype=text/css
 */

/* remove the ugly, recently-reinstated link underlines 
#BodyContent a { text-decoration: none; }
#BodyContent a:hover { text-decoration: none; }*/

a { text-decoration: none;}
a:hover { text-decoration: none;}

/* make a few corners round, only supported by moz/firefox/other gecko browsers for now, i reduced this from 1em to 4px to make it very illnoticable */
#p-cactions ul li, #p-cactions ul li a {  
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
}

#content, #footer {
   -moz-border-radius-topleft: 4px;
   -moz-border-radius-bottomleft: 4px;
}

div.pBody {
   -moz-border-radius-topright: 4px;
   -moz-border-radius-bottomright: 4px;
}

/* Dotted borders on pre look ugly, replace with a solid one */
#bodyContent pre {
    border: 1px solid #aaa;
}

/* Kill that stupid M$-ish capitalist asshole person dancecommander usericonthingy */
li#pt-userpage { background: none }

/* Eliminate yellow colour everywhere in borders */
#p-cactions li.selected {
    border-color: #aaa;
}
/* Make the footer not 100% wide, but as wide as the content box, and change it from the annoying yellow colour */
#footer {
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    border-left: 1px solid #aaa;
    margin: 0.6em 0em 1em 155px;
}
/* Dont need this copyright notice on every page */

/*li#f-copyright,
li#f-lastmod,
#editpage-copywarn { display: none; }*/

.portlet li, #BodyContent li {
    /*list-style-image: url("/style/monobook/bullet.gif");*/
    list-style-type: square;
    list-style-image: url("http://en.wikipedia.org/upload/6/69/AAAAAA_Bullet.png");
}

.portlet li:hover, #BodyContent li:hover {
    list-style-type: square;
    list-style-image: url("http://en.wikipedia.org/upload/4/44/000000_Bullet.png");

}

li.FA {
	list-style-image: url("http://upload.wikimedia.org/wikipedia/en/d/d4/Monobook-bullet-star.png") !important;
}
.portlet a {text-decoration: none;  color: #666 !important;}
.portlet a:hover {text-decoration: none; color: #000 !important;}

/* Make borders a little better */

#searchInput {
    border: 1px solid #aaa;
    background-color: #eee;
}
/* Mozilla.org-like input box focus */
#p-search input:focus, #p-search input:hover {
    background-color: #fff;
}

#searchInput {
   border-top: 1px inset; 
   border-left: 1px inset;
   border-right: 10px inset;
}

/* Nice borders for (almost) all boxes */
input[type="radio"],
input[type="checkbox"] { border:none; }
input[type="text"], input[type="submit"], textarea {
    border: 1px solid #aaa !important;
}
/* make round corners for the rest */
input[type="text"], input[type="submit"], textarea, pre, #toc {
   -moz-border-radius: 2px;
}
/* The 'Edit summary' box is way to crammed in the textarea box by default */
textarea { margin-bottom: 4px; }

input[type="submit"] {color: #aaa !important;}
input[type="submit"]:hover, input[type="submit"]:focus {color: #000 !important;}
#p-cactions li a {color: #aaa;}
#p-cactions li a:hover {color: #000;}
#p-cactions li.selected a {color: #000 !important;}
#p-cactions li.new a {color: #ba0000 !important;}



/* Transform the user toolbar into a sidebox */
#p-personal {
    position:relative;
    z-index:3;
    width: 11.6em;
}

#p-personal .pBody {
    width: 10.8em;
    border: none;
    margin: 0 0 0.5em 0em;
    float: none;
    overflow: hidden;
    font-size: 95%;
    background: White;
    border-collapse: collapse;
    border: 1px solid #aaaaaa;
    padding: 0 0.8em 0.3em .5em;
}

#p-personal ul {
    line-height: 1.5em;
    list-style-type: square;
    font-size:95%;
    margin: 0.3em 0 0 1.5em;
    padding:0;
    text-align:left;
    text-transform: none;
}

#p-personal li {
    display: list-item;
    padding:0;
    margin: 0 0 0 0;
    margin-bottom: 0.1em;
}


#p-personal h5 {
    display: inline;
}

/*#footer {display:none;}
.printfooter {display:none;}
*/


/* ------------------------- */
#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 ul
{
	overflow:visible;
}

#p-cactions li
{
	border: 2px solid lightgrey;
	position: relative;
	float: left;
	-moz-border-radius-topleft: .5em;
	-moz-border-radius-topright: .5em;
}

.tabmenu ul li
{
	display: block;
	width: 100% !important;
	min-width: 10em !important;
	border: 0px;
	margin: 0px;
	padding: .1em;
	border: 1px solid #aaaaaa !important;
	border-collapse: collapse;
	text-align: center;
	background-color: #F8FCFF !important;
	white-space: nowrap !important;
}

.tabmenu ul
{
	display: none;
	width: auto;
	z-index: 2;
	position: absolute;
	top: 1em;
	margin: 0px;
	background-color: grey;
}
.tabmenu * {
	-moz-border-radius: 0px !important;
}
.tabmenu:hover ul
{
	display: block;
}

.tabmenu ul li:hover
{
	background-color: #e8ecef !important;
}
.tabmenu ul a {
	background-color: transparent !important;
}