テンプレート:Mbox/styles.css

提供:ウィキボヤージュ
/* mbox全体 */
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 */
    font-size: 90%;
}

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: 0px;
    width: 1px;
}

/* ombox */
table.ombox {
    margin: 4px 10%; 
    border-collapse: collapse; 
    border: 1px solid #a2a9b1;       /* Default "notice" gray */
    background: #f8f9fa;
}

table.ombox-notice {
    border: 1px solid #a2a9b1;       /* Gray */
}

table.ombox-speedy {
    border: 2px solid #b22222;    /* Red */
    background: #fee;             /* Pink */
}

table.ombox-delete {
    border: 2px solid #b22222;    /* Red */
}

table.ombox-content {
    border: 1px solid #f28500;    /* Orange */
}

table.ombox-style {
    border: 1px solid #f4c430;    /* Yellow */
}

table.ombox-move {
    border: 1px solid #9932cc;    /* Purple */
}

table.ombox-protection {
    border: 2px solid #bba;       /* Gray-gold */
}

/* cmbox */
table.cmbox {
    margin: 3px 10%;
    border-collapse: collapse;
    border: 1px solid #a2a9b1; 
    background: #DFE8FF;    /* Default "notice" blue */
}
 
table.cmbox-notice {
    background: #DFE8FF;    /* Blue */
}

table.cmbox-speedy {
    margin-top: 4px;
    margin-bottom: 4px;
    border: 4px solid #b22222;    /* Red */
    background: #FFDBDB;          /* Pink */
}

table.cmbox-delete {
    background: #FFDBDB;    /* Red */
}

table.cmbox-content {
    background: #FFE7CE;    /* Orange */
}

table.cmbox-style {
    background: #FFF9DB;    /* Yellow */
}

table.cmbox-move {
    background: #E4D8FF;    /* Purple */
}

table.cmbox-protection {
    background: #EFEFE1;    /* Gray-gold */
}