MediaWiki:Monobook.css

From EDukeWiki
Revision as of 22:37, 29 September 2005 by TX (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 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;

}

#p-logo {
    top: 7px;
    left: 30px;
    height: 31px;
    width: 88px;
    overflow: visible;
    display: block;
}

#p-logo a,
#p-logo a:hover {
    height: 31px;
    width: 88px;
    display: block;
}

#column-one { padding-top: 44px; }

/* 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, #p-cactions li.selected a {
    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, .portlet li:hover, #BodyContent li:hover {
    list-style-type: square;
    list-style-image: url("/AAAAAA_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;
}

#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; }

.portlet h5 { 
    background-color: #ddd;
    color: #000;
    padding: 0.2em 1em 0.5em 0.3em;
    text-transform: lowercase;
    height: 1em;
    text-align: center;
    display: block;
    font-weight: bold;
    white-space: nowrap;
    border-collapse: collapse;
    border: 1px solid #aaa;
    border-bottom: none;
}

.pBody {
    font-size: 95%;
    background-color: white;
    color: black;
    border-collapse: collapse;
    border: 1px solid #aaa;
    padding: 0 .8em .3em .5em;
}

a {
    text-decoration: none;
    color: #002bb8;
    background: none;
}
a:visited {
	color: #001C78;
}
a:hover {
	color: #003CFF;
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    background-color: #ddd;
    color: #000;
    padding: 0.2em 1em 0.5em 0.3em;
    height: 1em;
    display: block;
    white-space: nowrap;
    font-weight: bold;
    border-collapse: collapse;
    border: 1px solid #aaa;
}
h1 {
    background-color: #fff;
    font-size: 116%;
    border-top:none;
}
h2 {
    font-size: 100%;
}
h3, h4, h5 {
    font-size: 95%;
}
h6 { 
    font-size: 90%;
}