Difference between revisions of "MediaWiki:Common.css"

From MoiWiki
Jump to navigationJump to search
(11 intermediate revisions by the same user not shown)
Line 8: Line 8:
  
 
/* Increase height and center upper-left logo. */
 
/* Increase height and center upper-left logo. */
#p-logo, #p-logo a, #p-logo a:hover { height:230px; }
+
#p-logo, #p-logo a, #p-logo a:hover { height:238px; width:117px; }
#p-logo { left:12px; }
+
#p-logo { left:2.9em; top:10px; }
#column-one { padding-top:235px; padding-left:5px; }
+
div#column-one { padding-top:260px; }
  
 
/* Disable external link marker. */
 
/* Disable external link marker. */
 
#bodyContent a.external { background:none; padding:0px; }
 
#bodyContent a.external { background:none; padding:0px; }
 +
#bodyContent a.external, #bodyContent a.external[href ^="https://"] { background:none; padding:0px; }
 +
 +
/* Apply different background image */
 +
body { background:#E0F5FA url(/images/header_hatched_background.png); }
 +
 +
/* 1 more em space for left column to allow additional padding */
 +
div#column-content { margin-left:-13.2em; }
 +
div#content { margin-left:13.2em; }
 +
div#column-one { padding-left:0.8em; }
 +
#p-cactions { left: 13.5em; }
 +
 +
/* adjust spacing and border for left-side toolboxes */
 +
.portlet { margin-bottom:0.75em; }
 +
.pBody {
 +
    border-radius:0.5em;
 +
    -moz-border-radius:0.5em;
 +
    -webkit-border-radius:0.5em;
 +
}
 +
 +
/* rounded border on upper-left of content area */
 +
#content {
 +
    border-top-left-radius:0.5em;
 +
    -moz-border-radius-topleft:0.5em;
 +
    -webkit-border-top-left-radius:0.5em;
 +
}
 +
 +
/* A little bit larger default text size */
 +
body { font-size: 12px; }

Revision as of 00:48, 16 June 2013

/** CSS placed here will be applied to all skins */

/* Disable "Main page" h1 element. */
body.page-Main_Page h1.firstHeading { display:none; }

/* Disable footer. */
#footer { display:none; }

/* Increase height and center upper-left logo. */
#p-logo, #p-logo a, #p-logo a:hover { height:238px; width:117px; }
#p-logo { left:2.9em; top:10px; }
div#column-one { padding-top:260px; }

/* Disable external link marker. */
#bodyContent a.external { background:none; padding:0px; }
#bodyContent a.external, #bodyContent a.external[href ^="https://"] { background:none; padding:0px; }

/* Apply different background image */
body { background:#E0F5FA url(/images/header_hatched_background.png); }

/* 1 more em space for left column to allow additional padding */
div#column-content { margin-left:-13.2em; }
div#content { margin-left:13.2em; }
div#column-one { padding-left:0.8em; }
#p-cactions { left: 13.5em; }

/* adjust spacing and border for left-side toolboxes */
.portlet { margin-bottom:0.75em; }
.pBody {
    border-radius:0.5em;
    -moz-border-radius:0.5em;
    -webkit-border-radius:0.5em;
}

/* rounded border on upper-left of content area */
#content {
    border-top-left-radius:0.5em;
    -moz-border-radius-topleft:0.5em;
    -webkit-border-top-left-radius:0.5em;
}

/* A little bit larger default text size */
body { font-size: 12px; }