Difference between revisions of "MediaWiki:Common.css"

Line 109: Line 109:
  
 
#footer-icon-poweredby { display: none; }
 
#footer-icon-poweredby { display: none; }
 +
#f-poweredbyico { display: none; }

Revision as of 13:57, 20 May 2011

/* CSS placed here will be applied to all skins */
#f-poweredbyico { display: none; }

/* wikitable */
table.wikitable { 
margin: 1em 1em 1em 0px;
background: #f9f9f9;
border: 1px solid #aaaaaa;
border-collapse: collapse;
}

.wikitable th, .wikitable td { 
border: 1px solid #aaaaaa;
padding: 0.2em;
}

.wikitable th { 
background: #f2f2f2;
text-align: center;
}

.wikitable caption { 
font-weight: 700;
}

/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text {     /* The message body cell(s) */
    border: none; 
    padding: 0.25em 0.9em;       /* 0.9em left/right */
    width: 100%;    /* Make all mboxes the same width regardless of text length */
}
td.mbox-image {                  /* The left image cell */
    border: none; 
    padding: 2px 0 2px 0.9em;    /* 0.9em left, 0px right */
    text-align: center; 
}
td.mbox-imageright {             /* The right image cell */
    border: none;
    padding: 2px 0.9em 2px 0;    /* 0px left, 0.9em right */
    text-align: center; 
}
td.mbox-empty-cell {         /* An empty narrow cell */
    border: none;
    padding: 0px;
    width: 1px;
}

/* Template:Imbox */
table.imbox { 
margin: 4px 10%;
border-collapse: collapse;
border: 3px solid #1e90ff;
background: #fbfbfb;
}
.imbox .mbox-text .imbox { 
margin: 0px -0.5em;
}
.mbox-inside .imbox { 
margin: 4px;
}
table.imbox-notice { 
border: 3px solid #1e90ff;
}
table.imbox-speedy { 
border: 3px solid #b22222;
background: #ffeeee;
}
table.imbox-delete { 
border: 3px solid #b22222;
}
table.imbox-content { 
border: 3px solid #f28500;
}
table.imbox-style { 
border: 3px solid #f4c430;
}
table.imbox-move { 
border: 3px solid #9932cc;
}
table.imbox-protection { 
border: 3px solid #bbbbaa;
}
table.imbox-license { 
border: 3px solid #8888aa;
background: #f7f8ff;
}
table.imbox-featured { 
border: 3px solid #cba135;
}

/* These mbox-small classes must be placed after all other 
   ambox/tmbox/ombox etc classes. "body.mediawiki" is so 
   they override "table.ambox + table.ambox" above. */
body.mediawiki table.mbox-small {   /* For the "small=yes" option. */
    clear: right;
    float: right;
    margin: 4px 0 4px 1em;
    width: 238px;
    font-size: 88%;
    line-height: 1.25em;
}
body.mediawiki table.mbox-small-left {   /* For the "small=left" option. */
    margin: 4px 1em 4px 0;
    width: 238px;
    border-collapse: collapse;
    font-size: 88%;
    line-height: 1.25em;
}

#footer-icon-poweredby { display: none; }
#f-poweredbyico { display: none; }