|
|
|
|
|
.message { |
|
display: grid; |
|
grid-template-columns: 60px minmax(0, 1fr); |
|
padding-bottom: 28px; |
|
font-size: 18px; |
|
|
|
font-family: Quicksand, Arial, sans-serif; |
|
line-height: 1.428571429; |
|
} |
|
|
|
.circle-you { |
|
background-color: gray; |
|
border-radius: 1rem; |
|
|
|
border: 2px solid white; |
|
} |
|
|
|
.circle-bot { |
|
background-color: gray; |
|
border-radius: 1rem; |
|
|
|
border: 2px solid white; |
|
} |
|
|
|
.circle-bot img, |
|
.circle-you img { |
|
border-radius: 10%; |
|
width: 100%; |
|
height: 100%; |
|
object-fit: cover; |
|
} |
|
|
|
.circle-you, .circle-bot { |
|
|
|
width: 135px; |
|
height: 175px; |
|
} |
|
|
|
.text { |
|
|
|
padding-left: 90px; |
|
text-shadow: 2px 2px 2px rgb(0, 0, 0); |
|
} |
|
|
|
.text p { |
|
margin-top: 2px; |
|
} |
|
|
|
.username { |
|
padding-left: 10px; |
|
font-size: 22px; |
|
font-weight: bold; |
|
border-top: 1px solid rgb(51, 64, 90); |
|
padding: 3px; |
|
} |
|
|
|
.message-body { |
|
position: relative; |
|
border-radius: 1rem; |
|
border: 1px solid rgba(255, 255, 255, 0.459); |
|
border-radius: 10px; |
|
padding: 10px; |
|
padding-top: 5px; |
|
|
|
background: linear-gradient(to bottom, #171730, #1b263f); |
|
} |
|
|
|
|
|
.message-body:before, |
|
.message-body:after { |
|
content: ""; |
|
position: absolute; |
|
left: 10px; |
|
right: 10px; |
|
height: 1px; |
|
background-color: rgba(255, 255, 255, 0.13); |
|
} |
|
|
|
.message-body:before { |
|
top: 6px; |
|
} |
|
|
|
.message-body:after { |
|
bottom: 6px; |
|
} |
|
|
|
.message-body img { |
|
max-width: 300px; |
|
max-height: 300px; |
|
border-radius: 20px; |
|
} |
|
|
|
.message-body p { |
|
margin-bottom: 0 !important; |
|
font-size: 18px !important; |
|
line-height: 1.428571429 !important; |
|
} |
|
|
|
.dark .message-body p em { |
|
color: rgb(138, 138, 138) !important; |
|
} |
|
|
|
.message-body p em { |
|
color: rgb(110, 110, 110) !important; |
|
} |
|
|