My program doesn't have bugs. It just develops random features.

Difference between revisions of "MediaWiki:Common.css"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
m
m
Line 10: Line 10:
 
table.infobox, div.infobox {
 
table.infobox, div.infobox {
 
   background: #fed;
 
   background: #fed;
   border: 1px solid #aaa;
+
   border: 1px solid #88a;
 
   float: right;
 
   float: right;
 
   margin: 1em;
 
   margin: 1em;

Revision as of 05:31, 2 March 2008

/* <!-- Fix for weird-looking preview and diff, doesn't affect CSS content --><source lang="css">
 
Styles for page content that will be applied to all skins.
*/
 
/** Infobox layout *************************************************************
 *
 * Description: General style for infobox-like content objects.
 */
table.infobox, div.infobox {
  background: #fed;
  border: 1px solid #88a;
  float: right;
  margin: 1em;
  margin-right: 0;
  padding: 1em;
}
 
 
/** Article message boxes ******************************************************
 *
 * Description: Various display styles for the ambox template.
 */
table.ambox {
    margin: 0 10%;                       /* Will not overlap with other elements */
    border-collapse: collapse; 
    background: #fbfbfb; 
    border: 1px solid #aaa; 
    border-left: 10px solid #1e90ff;     /* Default "notice" blue */
}
table.ambox th.ambox-text, table.ambox td.ambox-text {      /* The message body cell(s) */
    padding: 0.25em 0.5em;            /* 0.5em left/right */
    width: 100%;                      /* Make all templates the same width regardless of text size */
}
table.ambox td.ambox-image {          /* The left image cell */
    padding: 2px 0px 2px 0.5em;       /* 0.5em left, 0px right */
    text-align: center; 
}
table.ambox td.ambox-imageright {     /* The right image cell */
    padding: 2px 4px 2px 0px;         /* 0px left, 4px right */
    text-align: center; 
}
table.ambox-notice {
    border-left: 10px solid #1e90ff;     /* Blue */
/* border-right: 10px solid #1e90ff; */  /* If you want two blue bars */
}
table.ambox-delete,
table.ambox-serious {
    border-left: 10px solid #b22222;     /* Red */
}
table.ambox-delete {
    background:#FEE; font-size:95%;
}
table.ambox-content {
    border-left: 10px solid #f28500;     /* Orange */
}
table.ambox-style {
    border-left: 10px solid #f4c430;     /* Yellow */
}
table.ambox-merge {
    border-left: 10px solid #9932cc;     /* Purple */
}
table.ambox-protection {
    border-left: 10px solid #bba;        /* Gray */
}
table.ambox.ambox-mini {                 /* small floating box variant */
    float: right;
    clear: right;
    margin: 0 0 0 1em;
    width: 25%;
}
 
/* </source><!-- end of preview fix --> */