|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.gradio-container { |
|
|
|
background: linear-gradient(to bottom, #142036, #21103b); |
|
} |
|
|
|
|
|
|
|
::-webkit-scrollbar { |
|
width: 8px; |
|
height: 12px; |
|
} |
|
|
|
::-webkit-scrollbar-track { |
|
background: #364258; |
|
} |
|
|
|
::-webkit-scrollbar-thumb { |
|
background: #667a8d; |
|
border-radius: 6px; |
|
} |
|
|
|
::-webkit-scrollbar-thumb:hover { |
|
background: #9adfff; |
|
} |
|
|
|
|
|
@media screen and (min-width: 768px) { |
|
.chat { |
|
margin-left: auto; |
|
margin-right: auto; |
|
max-width: 800px; |
|
height: calc(100vh - 200px); |
|
overflow-y: auto; |
|
padding-right: 10px; |
|
display: flex; |
|
flex-direction: column-reverse; |
|
word-break: break-word; |
|
overflow-wrap: anywhere; |
|
background-size: cover; |
|
background-position: bottom; |
|
border-radius: 2%; |
|
} |
|
|
|
.message { |
|
display: grid; |
|
grid-template-columns: 60px minmax(0, 1fr); |
|
padding-bottom: 28px; |
|
font-size: 15px; |
|
|
|
padding-left: 10px; |
|
|
|
font-family: Quicksand Medium, Arial, sans-serif; |
|
line-height: 1.428571429; |
|
} |
|
|
|
.circle-you { |
|
background-color: rgba(0, 0, 0, 0); |
|
} |
|
|
|
.circle-bot { |
|
background-color: rgba(0, 0, 0, 0); |
|
} |
|
|
|
.circle-bot img, |
|
.circle-you img { |
|
width: 100%; |
|
height: 100%; |
|
object-fit: cover; |
|
} |
|
|
|
.circle-you, .circle-bot, .circle-bot img, |
|
.circle-you img { |
|
|
|
width: 110px; |
|
height: 140px; |
|
|
|
border-radius: 20%; |
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); |
|
transition: transform 0.3s ease; |
|
} |
|
|
|
.text { |
|
|
|
padding-left: 60px; |
|
text-shadow: 0px 0px 9px rgba(0, 0, 0, 0.9); |
|
} |
|
|
|
.text p { |
|
margin-top: 2px; |
|
} |
|
|
|
.username { |
|
padding-left: 10px; |
|
font-size: 20px; |
|
font-weight: bold; |
|
padding: 3px; |
|
text-shadow: 1px 1px 2px rgba(0, 0, 0, 1); |
|
} |
|
|
|
.message-body { |
|
position: relative; |
|
border-radius: 1rem; |
|
border-radius: 20px; |
|
|
|
border-top-left-radius: 4px; |
|
padding: 10px; |
|
padding-top: 5px; |
|
|
|
background: linear-gradient(to bottom, #44566334, #6e647934); |
|
|
|
-webkit-backdrop-filter: blur(7px); |
|
backdrop-filter: blur(7px); |
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.8); |
|
} |
|
|
|
.message-body img { |
|
max-width: 300px; |
|
max-height: 300px; |
|
border-radius: 20px; |
|
} |
|
|
|
.message-body p { |
|
margin-bottom: 0 !important; |
|
font-size: 17px !important; |
|
line-height: 1.428571429 !important; |
|
} |
|
|
|
.message-body li { |
|
margin-top: 0.5em !important; |
|
margin-bottom: 0.5em !important; |
|
} |
|
|
|
.message-body li > p { |
|
display: inline !important; |
|
} |
|
|
|
.message-body code { |
|
overflow-x: auto; |
|
} |
|
.message-body :not(pre) > code { |
|
white-space: normal !important; |
|
} |
|
|
|
|
|
.dark .message-body p em { |
|
color: rgb(154, 153, 178) !important; |
|
} |
|
|
|
.message-body p em { |
|
color: rgb(222, 219, 255) !important; |
|
} |
|
} |
|
|
|
|
|
@media screen and (max-width: 767px) { |
|
.chat { |
|
margin-left: auto; |
|
margin-right: auto; |
|
max-width: 800px; |
|
height: calc(100vh - 100px); |
|
overflow-y: auto; |
|
padding-right: 10px; |
|
display: flex; |
|
flex-direction: column-reverse; |
|
word-break: break-word; |
|
overflow-wrap: anywhere; |
|
background-size: cover; |
|
background-position: bottom; |
|
} |
|
|
|
.message { |
|
display: grid; |
|
grid-template-columns: 60px minmax(0, 1fr); |
|
padding-bottom: 28px; |
|
font-size: 18px; |
|
|
|
padding-left: 10px; |
|
|
|
font-family: Quicksand Medium, Arial, sans-serif; |
|
line-height: 1.428571429; |
|
} |
|
|
|
.circle-you { |
|
background-color: rgba(0, 0, 0, 0); |
|
} |
|
|
|
.circle-bot { |
|
background-color: rgba(0, 0, 0, 0); |
|
} |
|
|
|
.circle-bot img, |
|
.circle-you img { |
|
width: 100%; |
|
height: 100%; |
|
object-fit: cover; |
|
} |
|
|
|
.circle-you, .circle-bot, .circle-bot img, |
|
.circle-you img { |
|
|
|
width: 60px; |
|
height: 80px; |
|
|
|
border-radius: 10%; |
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); |
|
} |
|
|
|
.text { |
|
|
|
padding-left: 5px; |
|
text-shadow: 0px 0px 9px rgba(0, 0, 0, 0.9); |
|
} |
|
|
|
.text p { |
|
margin-top: 2px; |
|
} |
|
|
|
.username { |
|
padding-left: 10px; |
|
font-size: 16px; |
|
font-weight: bold; |
|
padding: 3px; |
|
text-shadow: 1px 1px 2px rgba(0, 0, 0, 1); |
|
} |
|
|
|
.message-body { |
|
position: relative; |
|
border-radius: 1rem; |
|
border-radius: 20px; |
|
|
|
border-top-left-radius: 5px; |
|
padding: 10px; |
|
padding-top: 5px; |
|
|
|
background: linear-gradient(to bottom, #44566334, #6e647934); |
|
|
|
-webkit-backdrop-filter: blur(7px); |
|
backdrop-filter: blur(7px); |
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.8); |
|
} |
|
|
|
.message-body img { |
|
max-width: 300px; |
|
max-height: 300px; |
|
border-radius: 20px; |
|
} |
|
|
|
.message-body p { |
|
margin-bottom: 0 !important; |
|
font-size: 15px !important; |
|
line-height: 1.428571429 !important; |
|
} |
|
|
|
.message-body li { |
|
margin-top: 0.5em !important; |
|
margin-bottom: 0.5em !important; |
|
} |
|
|
|
.message-body li > p { |
|
display: inline !important; |
|
} |
|
|
|
.message-body code { |
|
overflow-x: auto; |
|
} |
|
.message-body :not(pre) > code { |
|
white-space: normal !important; |
|
} |
|
|
|
|
|
.dark .message-body p em { |
|
color: rgb(154, 153, 178) !important; |
|
} |
|
|
|
.message-body p em { |
|
color: rgb(222, 219, 255) !important; |
|
} |
|
} |