Template:Ambox/styles.css: Difference between revisions
Jump to navigation
Jump to search
imported>Hb1290 No edit summary |
imported>Hb1290 No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* Message box templates */ | ||
.messagebox { | |||
border: 1px solid #a2a9b1; | |||
background: #f8f9fa; | |||
width: 80%; | |||
margin: 0 auto 1em; | |||
padding: 0.2em; | |||
text-align: justify; | |||
} | |||
.messagebox.merge { | |||
border: 1px solid #cf9fff; | |||
background: #f5edf5; | |||
text-align: center; | |||
} | } | ||
.messagebox.cleanup { | |||
border: 1px solid #9f9fff; | |||
background: #efefff; | |||
text-align: center; | |||
} | } | ||
. | .messagebox.standard-talk { | ||
border: 1px solid #c0c090; | |||
background: #f8eaba; | |||
} | } | ||
. | |||
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */ | |||
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 */ | |||
} | } | ||
td.mbox-image { /* The left image cell */ | |||
border: none; | |||
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ | |||
text-align: center; | |||
} | } | ||
td.mbox-imageright { /* The right image cell */ | |||
border: none; | |||
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ | |||
text-align: center; | |||
} | } | ||
td.mbox-empty-cell { /* An empty narrow cell */ | |||
border: none; | |||
padding: 0; | |||
width: 1px; | |||
} | } | ||
table.ambox | |||
/* Article message box styles */ | |||
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 | 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 */ | |||
} | } | ||
Revision as of 03:20, 23 June 2020
/* Message box templates */
.messagebox {
border: 1px solid #a2a9b1;
background: #f8f9fa;
width: 80%;
margin: 0 auto 1em;
padding: 0.2em;
text-align: justify;
}
.messagebox.merge {
border: 1px solid #cf9fff;
background: #f5edf5;
text-align: center;
}
.messagebox.cleanup {
border: 1px solid #9f9fff;
background: #efefff;
text-align: center;
}
.messagebox.standard-talk {
border: 1px solid #c0c090;
background: #f8eaba;
}
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
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 */
}
td.mbox-image { /* The left image cell */
border: none;
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
text-align: center;
}
td.mbox-imageright { /* The right image cell */
border: none;
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
text-align: center;
}
td.mbox-empty-cell { /* An empty narrow cell */
border: none;
padding: 0;
width: 1px;
}
/* Article message box styles */
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 + 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 */
}