MediaWiki:Monobook.css: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* 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 */


/* user notification thing */
.usermessage {
    background-color: #b0c4de;
    border: 1px solid #7b68ee;
    color: #808080;
    font-weight: bold;
    margin: 2em 0em 1em 0em;
    padding: 0.5em 1em;
    vertical-align: middle;
}
/* Colors of links */
a { color: #808080; }
a:visited { color: #696969; }
a:active, a.new { color: #b22222; }
a.interwiki, a.external { color: #808080; }
a.stub { color: #8b0000; }
#bodyContent a.external { color: #808080; }
}
#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;
}
/* suppress the person icon by your username */
li#pt-userpage { background: none }
/* Avoid offpage text */
/* 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");
/* 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;
}
#footer {display:none;}
.printfooter {display:none;}
}
/*
** Diff rendering
*/
table.diff { background:white; }
td.diff-otitle { background:#ffffff; }
td.diff-ntitle { background:#ffffff; }
td.diff-addedline {
    background: #f5f5f5;
    color: #4169e1;
    font-size: 100%;
}
td.diff-deletedline {
    background: #f5f5f5;
    color: #b22222;
    font-size: 100%;
}
td.diff-context {
    background:#e6e6fa;
    color: #708090;
    font-size: 100%;
}
span.diffchange { color: #00008b; }
}
/*
** the toolbox toolbar
*/
/* this is the ul contained in the portlet */
#p-tb ul {
    color: #696969;
}
#p-tb li { color: #696969; }
#p-tb li a { color: #696969; }
}
/*
** the navagation toolbar
*/
/* this is the ul contained in the portlet */
#p-navigation ul {
    color: #696969;
}
#p-navigation li { color: #696969; }
#p-navigation li a { color: #696969; }
}
/*
** the personal toolbar
*/
/* this is the ul contained in the portlet */
#p-personal ul {
    color: #696969;
}
#p-personal li { color: #696969; }
#p-personal li a { color: #696969; }
}
/*
** the page-related actions- page/talk, edit etc
*/
#p-cactions {
    position:absolute;
    top: 1.3em;
    left: 11.5em;
    margin: 0;
    white-space:nowrap;
    width: 76%;
    line-height: 1.1em;
    overflow: visible;
    background: none;
    border-collapse: collapse;
    padding-left: 1em;
    list-style: none;
    font-size: 95%;
}
#p-cactions .hiddenStructure { display: none; }
#p-cactions ul {
    list-style: none;
}
#p-cactions li {
    display: inline;
    border: 1px solid #aaaaaa;
    border-bottom: none;
    padding: 0 0 0.1em 0;
    margin: 0 0.3em 0 0;
    overflow: visible;
    background: none;
}
#p-cactions li.selected {
    border-color: #aaa;
    padding: 0 0 0.2em 0;
}
#p-cactions li a {
    background-color: none;
    color: #696969;
    border: none;
    padding: 0 0.8em 0.3em 0.8em;
    text-decoration: none;
    text-transform: lowercase;
    position: relative;
    z-index: 0;
    margin: 0;
}
#p-cactions .selected a { z-index: 3; }
#p-cactions .new a { color: #b22222; }
#p-cactions li a:hover {
    z-index: 3;
    text-decoration: none;
}
#p-cactions h5 { display: none; }
#p-cactions li.istalk { margin-right: 0; }
#p-cactions li.istalk a { padding-right: 0.5em; }
#p-cactions #ca-addsection a {
    padding-left: 0.4em;
    padding-right: 0.4em;
}

Revision as of 23:52, 28 September 2005