Imablank commited on
Commit
e6f3582
1 Parent(s): 4d6f407

Upload html_cai_style.css

Browse files
Files changed (1) hide show
  1. html_cai_style.css +108 -0
html_cai_style.css ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .chat {
2
+ margin-left: auto;
3
+ margin-right: auto;
4
+ max-width: 800px;
5
+ height: calc(100vh - 300px);
6
+ overflow-y: auto;
7
+ padding-right: 20px;
8
+ display: flex;
9
+ flex-direction: column-reverse;
10
+ word-break: break-word;
11
+ overflow-wrap: anywhere;
12
+ }
13
+
14
+ .message {
15
+ display: grid;
16
+ grid-template-columns: 60px minmax(0, 1fr);
17
+ padding-bottom: 28px;
18
+ font-size: 18px;
19
+ font-family: Quicksand, Arial, sans-serif;
20
+ line-height: 1.428571429;
21
+ }
22
+
23
+ .circle-you {
24
+ width: 135px;
25
+ height: 175px;
26
+ background-color: rgb(255, 255, 255);
27
+ border-radius: 1rem;
28
+ border: 2px solid white;
29
+ }
30
+
31
+ .circle-bot {
32
+ width: 135px;
33
+ height: 175px;
34
+ background-color: rgb(255, 255, 255);
35
+ border-radius: 1rem;
36
+ border: 2px solid white;
37
+ }
38
+
39
+ .circle-bot img,
40
+ .circle-you img {
41
+ border-radius: 10%;
42
+ width: 100%;
43
+ height: 100%;
44
+ object-fit: cover;
45
+ }
46
+
47
+ .text {
48
+ padding-left: 90px;
49
+ }
50
+
51
+ .text p {
52
+ margin-top: 2px;
53
+ padding: 5px;
54
+ border-top: 1px solid rgb(40, 50, 70);
55
+ border-bottom: 1px solid rgb(40, 50, 70);
56
+ }
57
+
58
+ .username {
59
+ padding-left: 10px;
60
+ font-size: 22px;
61
+ font-weight: bold;
62
+ border-top: 1px solid rgb(255, 255, 255);
63
+ padding: 3px;
64
+ }
65
+
66
+ .message-body {
67
+ border-radius: 1rem;
68
+ border: 1px solid rgba(255, 255, 255, 0.459);
69
+ border-radius: 10px;
70
+ padding: 10px;
71
+ padding-top: 5px;
72
+ }
73
+
74
+ .message-body img {
75
+ max-width: 300px;
76
+ max-height: 300px;
77
+ border-radius: 20px;
78
+ }
79
+
80
+ .message-body p {
81
+ margin-bottom: 0 !important;
82
+ font-size: 18px !important;
83
+ line-height: 1.428571429 !important;
84
+ }
85
+
86
+ .message-body li {
87
+ margin-top: 0.5em !important;
88
+ margin-bottom: 0.5em !important;
89
+ }
90
+
91
+ .message-body li > p {
92
+ display: inline !important;
93
+ }
94
+
95
+ .message-body code {
96
+ overflow-x: auto;
97
+ }
98
+ .message-body :not(pre) > code {
99
+ white-space: normal !important;
100
+ }
101
+
102
+ .dark .message-body p em {
103
+ color: rgb(138, 138, 138) !important;
104
+ }
105
+
106
+ .message-body p em {
107
+ color: rgb(110, 110, 110) !important;
108
+ }