Message box/fmbox.css

From Baldur's Gate 3 Wiki
Revision as of 16:28, 26 September 2023 by Sky (talk | contribs) (Created page with "→‎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: } →‎Footer and header message box styles: table.fmb...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

/* 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 */ } /* Footer and header message box styles */ table.fmbox {

   clear: both;
   margin: 0.2em 0;
   width: 100%;
   border: 1px solid #a2a9b1;
   background-color: #f8f9fa;     /* Default "system" gray */
   box-sizing: border-box;

} table.fmbox-system {

   background-color: #f8f9fa;

} table.fmbox-warning {

   border: 1px solid #bb7070;  /* Dark pink */
   background-color: #ffdbdb;  /* Pink */

} table.fmbox-editnotice {

   background-color: transparent;

}