MediaWiki:Monobook.css: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 96: Line 96:
** general portlet styles (elements in the quickbar)
** general portlet styles (elements in the quickbar)
*/
*/
.portlet {
    margin: 0;
}
.portlet h5 {  
.portlet h5 {  
     background-color: #ddd;
     background-color: #ddd;

Revision as of 00:32, 29 September 2005

/* 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;

}

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

/* 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; }

}

/*
** general portlet styles (elements in the quickbar)
*/
.portlet h5 { 
    background-color: #ddd;
    color: #000;
    padding: 0.2em 1em 0.3em 1.5em;
    text-transform: lowercase;
    height: 1em;
    display: block;
    font-weight: bold;
    white-space: nowrap;
    border: 1px #ccc outset;
    border-width: 1px 0 0 0;
}

.portlet ul {
    line-height: 1.5em;
    list-style: none;
    font-size:95%;
    margin-left: 0;
    margin-top: 0.1em;
}

/*
** Search portlet
*/

input.searchButton {
    margin-top:1px;
    padding: 0 0.4em !important;
    font-size: 95%;
    cursor: pointer;
    background-color: #ddd;
    border: 1px outset #ddd;  
}

#searchGoButton {
    border: 1px outset #ddd;
    padding-left: .5em;
    padding-right: .5em;
    font-weight: bold;
}