MediaWiki:Common.css: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
mNo edit summary
m (FINE! Have it your way!)
Line 2: Line 2:


/* Article message box template styles */
/* Article message box template styles */
table.ambox {
table.ambox-notice {
     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;
}
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;
}
.ambox-notice {
     border-left: 10px solid #1e90ff;    /* Blue */
     border-left: 10px solid #1e90ff;    /* Blue */
/* border-right: 10px solid #1e90ff; */  /* If you want two blue bars */
}
}
.ambox-delete, .ambox-serious {
table.ambox-delete, .ambox-serious {
    margin: 0 auto;
    width: 70%;
    border-collapse: collapse;
    background: #fbfbfb;
    border: 1px solid #aaa;
     border-left: 10px solid #b22222;    /* Red */
     border-left: 10px solid #b22222;    /* Red */
}
}
table.ambox-content {
table.ambox-content {
    margin: 0 auto;
    width: 70%;
    border-collapse: collapse;
    background: #fbfbfb;
    border: 1px solid #aaa;
     border-left: 10px solid #f28500;    /* Orange */
     border-left: 10px solid #f28500;    /* Orange */
}
}
table.ambox-style {
table.ambox-style {
    margin: 0 auto;
    width: 70%;
    border-collapse: collapse;
    background: #fbfbfb;
    border: 1px solid #aaa;
     border-left: 10px solid #f4c430;    /* Yellow */
     border-left: 10px solid #f4c430;    /* Yellow */
}
}
table.ambox-merge {
table.ambox-merge {
    margin: 0 auto;
    width: 70%;
    border-collapse: collapse;
    background: #fbfbfb;
    border: 1px solid #aaa;
     border-left: 10px solid #9932cc;    /* Purple */
     border-left: 10px solid #9932cc;    /* Purple */
}
}
table.ambox-protection {
table.ambox-protection {
    margin: 0 auto;
    width: 70%;
    border-collapse: collapse;
    background: #fbfbfb;
    border: 1px solid #aaa;
     border-left: 10px solid #bba;        /* Gray */
     border-left: 10px solid #bba;        /* Gray */
}
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.ambox-mini {                /* small floating box variant */
table.ambox.ambox-mini {                /* small floating box variant */

Revision as of 01:58, 12 January 2008

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

/* Article message box template styles */
table.ambox-notice {
    margin: 0 auto;
    width: 70%;
    border-collapse: collapse; 
    background: #fbfbfb; 
    border: 1px solid #aaa; 
    border-left: 10px solid #1e90ff;     /* Blue */
}
table.ambox-delete, .ambox-serious {
    margin: 0 auto;
    width: 70%;
    border-collapse: collapse; 
    background: #fbfbfb; 
    border: 1px solid #aaa; 
    border-left: 10px solid #b22222;     /* Red */
}
table.ambox-content {
    margin: 0 auto;
    width: 70%;
    border-collapse: collapse; 
    background: #fbfbfb; 
    border: 1px solid #aaa; 
    border-left: 10px solid #f28500;     /* Orange */
}
table.ambox-style {
    margin: 0 auto;
    width: 70%;
    border-collapse: collapse; 
    background: #fbfbfb; 
    border: 1px solid #aaa; 
    border-left: 10px solid #f4c430;     /* Yellow */
}
table.ambox-merge {
    margin: 0 auto;
    width: 70%;
    border-collapse: collapse; 
    background: #fbfbfb; 
    border: 1px solid #aaa; 
    border-left: 10px solid #9932cc;     /* Purple */
}
table.ambox-protection {
    margin: 0 auto;
    width: 70%;
    border-collapse: collapse; 
    background: #fbfbfb; 
    border: 1px solid #aaa; 
    border-left: 10px solid #bba;        /* Gray */
}
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.ambox-mini {                 /* small floating box variant */
    float: right;
    clear: right;
    margin: 0 0 0 1em;
    width: 25%;
}