MediaWiki:Common.css

From Club Penguin Protocol
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* CSS placed here will be applied to all skins */
/* Article message box styles */ table.ambox { 
 
   margin: 0px 10%;   /* 10% = Will not overlap with other elements */
   border: 1px solid #aaa; 
   border-left: 10px solid #1e90ff;    /* Default "notice" blue */
   background: #fbfbfb; 
} table.ambox + table.ambox { /* Single border between stacked boxes. */ 
 
   margin-top: -1px;
} .ambox th.mbox-text, .ambox td.mbox-text { /* The message body cell(s) */ 
 
   padding: 0.25em 0.5em;       /* 0.5em left/right */
} .ambox td.mbox-image { /* The left image cell */ 
 
   padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
} .ambox td.mbox-imageright { /* The right image cell */ 
 
   padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
} 
 
table.ambox-notice { 
 
   border-left: 10px solid #1e90ff;    /* Blue */
} table.ambox-speedy { 
 
   border-left: 10px solid #b22222;    /* Red */
   background: #fee;                   /* Pink */
} table.ambox-delete { 
 
   border-left: 10px solid #b22222;    /* Red */
} table.ambox-content { 
 
   border-left: 10px solid #f28500;    /* Orange */
} table.ambox-style { 
 
   border-left: 10px solid #f4c430;    /* Yellow */
} table.ambox-move { 
 
   border-left: 10px solid #9932cc;    /* Purple */
} table.ambox-protection { 
 
   border-left: 10px solid #bba;       /* Gray-gold */
}
 
/* Other pages message box styles */ table.ombox {     margin: 4px 10%;      border-collapse: collapse;      border: 1px solid #aaa;       /* Default "notice" gray */     background: #f9f9f9; } Â  table.ombox-notice {     border: 1px solid #aaa;       /* Gray */ } table.ombox-speedy {     border: 2px solid #b22222;    /* Red */     background: #fee;             /* Pink */ } table.ombox-delete {     border: 2px solid #b22222;    /* Red */ } table.ombox-content {     border: 1px solid #f28500;    /* Orange */ } table.ombox-style {     border: 1px solid #f4c430;    /* Yellow */ } table.ombox-move {     border: 1px solid #9932cc;    /* Purple */ } table.ombox-protection {     border: 2px solid #bba;       /* Gray-gold */ }
 
 
/* Talk page message box styles */
table.tmbox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #c0c090;    /* Default "notice" gray-brown */
    background: #f8eaba;
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
    margin: 2px 0;               /* this declaration overrides other styles (including mbox-small above)   */
    width: 100%;                 /* For Safari and Opera */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
    line-height: 1.5em;          /* also "nested", so reset styles that are   */   
    font-size: 100%;             /* set in "mbox-small" above.                */
}
 
table.tmbox-speedy {
    border: 2px solid #b22222;    /* Red */
    background: #fee;             /* Pink */
}
table.tmbox-delete {
    border: 2px solid #b22222;    /* Red */
}
table.tmbox-content {
    border: 2px solid #f28500;    /* Orange */
}
table.tmbox-style {
    border: 2px solid #f4c430;    /* Yellow */
}
table.tmbox-move {
    border: 2px solid #9932cc;    /* Purple */
}
table.tmbox-protection,
table.tmbox-notice {
    border: 1px solid #c0c090;    /* Gray-brown */
}
 
 
/* infobox core */
.infobox {
    float: right;
    clear: right;
}