Difference between revisions of "MediaWiki:Monobook.css"

From XMission Wiki
Jump to: navigation, search
(add pre word wrap)
 
Line 55: Line 55:
 
     margin: 2px;
 
     margin: 2px;
 
     padding: 2px 6px;
 
     padding: 2px 6px;
 +
}
 +
 +
pre, .mw-code {
 +
    line-height: 1.3em;
 +
    white-space: pre-wrap;
 +
    word-wrap: break-word;
 
}
 
}

Latest revision as of 14:43, 17 January 2013

/* CSS placed here will affect users of the MonoBook skin */
;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.

/* CSS placed here will affect users of the MonoBook skin */
#p-logo a { background:url(/images/pixel.gif) !important; height:90px }
#p-logo {height:90px; overflow:hidden;}
div#column-one { padding-left:20px;}
body {background:white !important}
#globalWrapper {background:url(/images/xm-wiki-head.png) left top no-repeat}
div#content { border:0 none !important; margin-top:105px; margin-left:220px }
#p-cactions { top:58px; font-size:12px }
#p-cactions li {border:0; padding:0; line-height:normal; height:22px; }
#p-cactions li a { background: #33383d; border:0; color:#00ccf6; font-size:12px; padding:4px 12px; margin:0; line-height:17px}
.new a, a.new {color:#ee4b00 !important; border:0}
#p-cactions li a:hover {background: #40474d}
#p-cactions li.selected a:hover {background: white}
#p-cactions li.selected a {color:#00a3c4; font-weight:normal; border-bottom:10px solid #c1c1c1}
h1, h2, h3, h4, h5, h6 {border-color:#dedede}
h1 {border-bottom:4px solid #ececec; margin-left:-24px; padding-left:24px;}
a {color:#4d7de0}
#p-personal li a {color:#00CCF6}
.pBody {border:0 !important}
#footer {margin-top:4em !important; border-color:#ccc !important; color:#666; padding-top:20px !important; border-bottom:0 none !important; margin-left:15px !important;  margin-right:15px !important}
#footer img {opacity:0.7;}
#footer img:hover {opacity:1;}
hr {background-color:#dedede; color:#dedede}
#p-search {padding-top:12px}
#p-navigation {padding:18px 0}
#copyright {display:none}
#p-personal li a {opacity:0.8;}
#p-personal li a:hover {text-decoration:underline; opacity:1.0; background:transparent !important}
#p-personal .pBody ul {margin-top:8px}
.portlet {width:auto}
#copyright {display:none !important}
div.mw-geshi {
  font-size: 13px;
  padding: 1em; 
  margin: 1em 0; 
  border: 1px dashed #2f6fab;
  background-color: #f9f9f9;
}

.css.source-css {
    font-size:13px
}


.button {
    background: none repeat scroll 0 0 #EEEEEE;
    border: 1px solid #CCCCCC;
    border-radius: 4px 4px 4px 4px;
    line-height: 200%;
    margin: 2px;
    padding: 2px 6px;
}

pre, .mw-code {
    line-height: 1.3em;
    white-space: pre-wrap;
    word-wrap: break-word;
}