MediaWiki:Monobook.css: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
body { background: #f0f0f0; }
body { background: #f0f0f0; }


/* make Sidebar wider - from Manual:Interface/Sidebar - (to view change in Firefox: hold Shift while clicking Reload) */
/* following three style changes are to accommodate wider entries in sidebar, like "SOUL/UserLanguage"  */
/* this minor adjustment prevents some wrapping of items (primarily needed by Firefox) */
/*                                */
#column-content { margin-left: -13.9em }  /* IE doesn't seem to respond to this one */
/* widens sidebar boxes a tiny bit */
#column-content #content { margin-left: 13.9em } /* IE doesn't seem to respond to this one */
.portlet  {
#p-logo a, #p-logo a:hover { width: 13.9em }
  width: 11.75em;
.portlet { width: 12.9em }
}
#p-cactions { left: 12.9em }
 
div#column-content { margin-left: -13.9em } 
/* reduces (moves right) page content area a tiny bit */
div#content { margin-left: 13.9em }
/* b/c IE doesn't respond, need to snug box padding (see 'portlet pBody', below) */
div#content {  
  margin-left: 12.4em;
}
 
/* for IE, lets sidebar box close on right by reducing the padding to right */
.portlet .pBody {
  padding-right: .1em;
}

Latest revision as of 16:25, 11 September 2013

/* CSS placed here will affect users of the Monobook skin */
body { background: #f0f0f0; }

/* following three style changes are to accommodate wider entries in sidebar, like "SOUL/UserLanguage"  */
/*                                 */
/* widens sidebar boxes a tiny bit */
.portlet  {
   width: 11.75em;
}

/* reduces (moves right) page content area a tiny bit  */
/* b/c IE doesn't respond, need to snug box padding (see 'portlet pBody', below) */
div#content  {   
   margin-left: 12.4em;
}

/* for IE, lets sidebar box close on right by reducing the padding to right */
.portlet .pBody {
   padding-right: .1em;
}