Template:Message box: Difference between revisions

m more style fixes
trying width auto so small messageboxes don't span the whole page
Line 4: Line 4:
   background-color: {{{bgcol|#FFFFCC}}};
   background-color: {{{bgcol|#FFFFCC}}};
   border: 2px solid {{{linecol|#616161}}};
   border: 2px solid {{{linecol|#616161}}};
   width: fit-content;
   width: auto;
   max-width: {{{width|94%}}};
   max-width: {{{width|94%}}};
   place-content: center;
   place-content: center;