-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
131 lines (110 loc) · 1.95 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
:root {
--border-rad-lg: 15px;
--light-text: #fefefe;
--dark-text: #000000;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
font-family: "Poppins";
}
main {
background-color: #000814;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
/* chatbot elements */
.chatbot-container {
background-color: #003049;
width: 430px;
border-radius: var(--border-rad-lg);
padding: 1em;
}
.chatbot-container > * {
padding: 0.5em;
}
.chatbot-header {
display: flex;
flex-direction: column;
gap: 0.6em;
}
.heading {
color: var(--light-text);
font-family: "Roboto", sans-serif;
font-size: 32px;
}
.chatbot-conversation-container {
height: 450px;
overflow-y: scroll;
margin: 1em 0;
}
/* stop ugly scroll bar on some browsers */
.chatbot-conversation-container::-webkit-scrollbar {
display: none;
}
.chatbot-conversation-container::-moz-scrollbar {
display: none;
}
.speech {
padding: 1em;
max-width: 240px;
color: var(--dark-text);
min-width: 90%;
border-radius: var(--border-rad-lg);
font-size: 1.07em;
}
.speech:first-child {
margin-top: 0;
}
.speech-ai {
background: #06d6a0;
border-top-left-radius: 0;
margin: 1.2em 1em 0 0;
}
.speech-human {
margin: 1.2em 0 0 1em;
background: #fdf0d5;
border-top-right-radius: 0;
}
.chatbot-input-container {
display: flex;
}
input[type="text"],
button {
background-color: transparent;
border: 1px solid #586e88;
border-radius: var(--border-rad-lg);
padding: 1em;
}
input[type="text"] {
color: var(--light-text);
width: 100%;
border-right: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
button {
border-left: 0;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.send-btn-icon {
width: 20px;
display: block;
}
/* text */
.sub-heading {
color: #999999;
font-family: "Roboto", sans-serif;
font-size: 12px;
text-transform: uppercase;
margin: 0;
}