Spaces:
Paused
Paused
File size: 2,410 Bytes
7c28e1f a868da0 7c28e1f |
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 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f0f0f0;
}
header {
background: linear-gradient(90deg, #64b5f6, #1e88e5);
color: #fff;
padding: 20px;
text-align: center;
}
nav ul {
list-style: none;
padding: 0;
}
nav ul li {
display: inline;
margin: 0 10px;
}
nav ul li a {
color: #fff;
text-decoration: none;
}
section {
padding: 20px;
margin: 20px;
background-color: #fff;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.project img {
max-width: 100%;
height: auto;
}
footer {
background-color: #64b5f6;
color: #fff;
text-align: center;
padding: 10px;
position: fixed;
bottom: 0;
width: 100%;
}
#chat-bot-container {
position: fixed;
bottom: 20px;
right: 20px;
width: 500px;
height: 600px;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
z-index: 1000;
display: flex;
flex-direction: column;
overflow: hidden;
}
.chat-header {
background: linear-gradient(90deg, #1e88e5, #6455f6);
color: #fff;
padding: 10px;
text-align: center;
font-size: 18px;
cursor: move;
}
.chat-messages {
flex: 1;
padding: 10px;
overflow-y: auto;
border-bottom: 1px solid #ddd;
}
.chat-input {
display: flex;
padding: 10px;
background-color: #f9f9f9;
}
.chat-input form {
display: flex;
width: 100%;
}
.chat-input input {
flex: 1;
padding: 10px;
border: none;
border-radius: 5px;
margin-right: 10px;
}
.chat-input button {
padding: 10px 20px;
border: none;
background-color: #64b5f6;
color: #fff;
border-radius: 5px;
cursor: pointer;
}
.chat-input button:hover {
background-color: #1e88e5;
}
.message {
margin-bottom: 10px;
padding: 10px;
border-radius: 5px;
}
.message.user {
background-color: #b5d8f5;
align-self: flex-end;
}
.message.assistant {
background-color: #e1e1ff;
align-self: flex-start;
}
.resizable {
resize: both;
overflow: auto;
}
#clear-history {
margin-top: 10px;
padding: 5px 10px;
border: none;
background-color: transparent;
color: #000;
font-size: 12px;
text-decoration: underline;
cursor: pointer;
}
#clear-history:hover {
text-decoration: none;
color: #555;
} |