Modul:Message box/cmbox.css: Unterschied zwischen den Versionen

(code style conventions)
Zeile 1: Zeile 1:
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text {  /* The message body cell(s) */
padding: 0.25em 0.9em;    /* 0.9em left/right */
}
td.mbox-image {                /* The left image cell */
padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
}
td.mbox-imageright {          /* The right image cell */
padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
}
/**
/**
  * {{cmbox}} (category message box) styles
  * {{cmbox}} (category message box) styles
Zeile 23: Zeile 12:
background-color: #dfe8ff;
background-color: #dfe8ff;
box-sizing: border-box;
box-sizing: border-box;
}
/* An empty narrow cell */
.cmbox td.mbox-empty-cell {
border: none;
padding: 0;
width: 1px;
}
/* The message body cell(s) */
.cmbox th.mbox-text,
.cmbox td.mbox-text {
border: none;
/* 0.9em left/right */
padding: 0.25em 0.9em;
/* Make all mboxes the same width regardless of text length */
width: 100%;
}
/* The left image cell */
.cmbox td.mbox-image {
/* 0.9em left, 0px right */
/* @noflip */
padding: 2px 0 2px 0.9em;
}
/* The right image cell */
.cmbox td.mbox-imageright {
/* 0px left, 0.9em right */
/* @noflip */
padding: 2px 0.9em 2px 0;
}
}


Anonymer Benutzer