Template:Ambox/styles.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
imported>Hb1290
No edit summary
imported>Hb1290
No edit summary
Line 1: Line 1:
/* Article message box styles */
/* Message box templates */
table.ambox {
.messagebox {
margin: 0 10%;                 /* 10% = Will not overlap with other elements */
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
background: #f8f9fa;
/* @noflip */
width: 80%;
border-left: 10px solid #36c/* Default "notice" blue */
margin: 0 auto 1em;
background-color: #fbfbfb;
padding: 0.2em;
box-sizing: border-box;
text-align: justify;
}
.messagebox.merge {
border: 1px solid #cf9fff;
  background: #f5edf5;
text-align: center;
}
}
table.ambox + table.ambox {     /* Single border between stacked boxes. */
.messagebox.cleanup {
margin-top: -1px;
border: 1px solid #9f9fff;
background: #efefff;
text-align: center;
}
}
.ambox th.mbox-text,
.messagebox.standard-talk {
.ambox td.mbox-text {            /* The message body cell(s) */
border: 1px solid #c0c090;
padding: 0.25em 0.5em;       /* 0.5em left/right */
background: #f8eaba;
}
}
.ambox td.mbox-image {           /* The left image cell */
 
/* @noflip */
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
padding: 2px 0 2px 0.5em;   /* 0.5em left, 0px right */
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 */
}
}
.ambox td.mbox-imageright {     /* The right image cell */
td.mbox-image {                 /* The left image cell */
/* @noflip */
    border: none;
padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
    padding: 2px 0 2px 0.9em;    /* 0.9em left, 0px right */
    text-align: center;
}
}
 
td.mbox-imageright {             /* The right image cell */
table.ambox-notice {
    border: none;
/* @noflip */
    padding: 2px 0.9em 2px 0;   /* 0px left, 0.9em right */
border-left: 10px solid #36c;       /* Blue */
    text-align: center;
}
}
table.ambox-speedy {
td.mbox-empty-cell {         /* An empty narrow cell */
/* @noflip */
    border: none;
border-left: 10px solid #b32424;   /* Red */
    padding: 0;
background-color: #fee7e6;         /* Pink */
    width: 1px;
}
}
table.ambox-delete {
 
/* @noflip */
/* Article message box styles */
border-left: 10px solid #b32424;    /* Red */
table.ambox {
    margin: 0 10%;  /* 10% = Will not overlap with other elements */
    border: 1px solid #a2a9b1;
    border-left: 10px solid #36c;    /* Default "notice" blue */
    background: #fbfbfb;
}
}
table.ambox-content {
table.ambox + table.ambox {   /* Single border between stacked boxes. */
/* @noflip */
    margin-top: -1px;
border-left: 10px solid #f28500;   /* Orange */
}
}
table.ambox-style {
.ambox th.mbox-text,
/* @noflip */
.ambox td.mbox-text {           /* The message body cell(s) */
border-left: 10px solid #fc3;      /* Yellow */
    padding: 0.25em 0.5em;      /* 0.5em left/right */
}
}
table.ambox-move {
.ambox td.mbox-image {           /* The left image cell */
/* @noflip */
    padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
border-left: 10px solid #9932cc;    /* Purple */
}
}
table.ambox-protection {
.ambox td.mbox-imageright {     /* The right image cell */
/* @noflip */
    padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
border-left: 10px solid #a2a9b1;    /* Gray-gold */
}
}
Anonymous user

Navigation menu