MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
Reverting -- we got off on the wrong foot. Hi, I'm Wolf.
m (I hate CSS.)
(Reverting -- we got off on the wrong foot. Hi, I'm Wolf.)
Line 2: Line 2:


/* Article message box template styles */
/* Article message box template styles */
table.ambox-notice {
table.ambox {
     margin: 0 auto;
     margin: 0 auto;
     width: 70%;
     width: 70%;
Line 8: Line 8:
     background: #fbfbfb;  
     background: #fbfbfb;  
     border: 1px solid #aaa;  
     border: 1px solid #aaa;  
     border-left: 10px solid #1e90ff;    /* Blue */
     border-left: 10px solid #1e90ff;    /* Default "notice" blue */
}
}
table.ambox th.ambox-text, table.ambox td.ambox-text {      /* The message body cell(s) */
table.ambox th.ambox-text, table.ambox td.ambox-text {      /* The message body cell(s) */
Line 21: Line 21:
     padding: 2px 4px 2px 0px;        /* 0px left, 4px right */
     padding: 2px 4px 2px 0px;        /* 0px left, 4px right */
     text-align: center;  
     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-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 */
table.ambox.ambox-mini {                /* small floating box variant */

Navigation menu