Difference between revisions of "Template:Message bubble"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{#css: | {{#css: | ||
− | .row { | + | .message-row { |
max-width: 100%; | max-width: 100%; | ||
width: 100%; | width: 100%; | ||
display: inline-block; | display: inline-block; | ||
− | } .base { | + | } .message-base { |
border-radius: 8px; | border-radius: 8px; | ||
padding: 4px 12px; | padding: 4px 12px; | ||
− | } .base p { | + | } .message-base p { |
margin: 0; | margin: 0; | ||
− | } .mark { | + | } .message-mark { |
margin: -16px -10px -6px; | margin: -16px -10px -6px; | ||
}}<!-- | }}<!-- | ||
--><includeonly><!-- | --><includeonly><!-- | ||
− | --><div class=row> | + | --><div class=message-row> |
− | <div class=base style= | + | <div class=message-base style= |
"background-color: | "background-color: | ||
{{#switch: {{{type|{{{2|right}}}}}} | {{#switch: {{{type|{{{2|right}}}}}} | ||
Line 36: | Line 36: | ||
{{{text|{{{1|}}}}}} | {{{text|{{{1|}}}}}} | ||
− | {{#ifeq:{{{status|none}}}|none||<div class=mark> | + | {{#ifeq:{{{status|none}}}|none||<div class=message-mark> |
[[File:{{#switch:{{{status|none}}} | [[File:{{#switch:{{{status|none}}} | ||
| sent = MBSent.png | | sent = MBSent.png |