Spaces:
Sleeping
Sleeping
File size: 1,595 Bytes
2353eab f87622a 2353eab f87622a 2353eab f87622a 2353eab f87622a 2353eab f87622a 2353eab | 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 | body {
margin: 0;
padding: 0;
background-color: black;
color: white;
font-family: Arial, sans-serif;
}
/* Video alanı - %30 ekran kaplasın */
.video-container {
width: 100%;
height: 30vh; /* Ekranın %30'u kadar */
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
.video-container video {
width: 100%;
height: 100%;
object-fit: cover;
pointer-events: none; /* Kullanıcının videoyu durdurmasını engelle */
}
/* Chatbot Alanı - %50 ekran kaplasın */
.chat-container {
width: 100%;
height: 50vh; /* Ekranın %50'si */
overflow-y: auto;
padding: 10px;
box-sizing: border-box;
}
/* Mesaj baloncuklarını stilize et */
.chat-message {
border-radius: 10px;
padding: 10px;
margin: 5px 0;
max-width: 80%;
}
.chat-message.user {
background-color: #DCF8C6; /* Kullanıcı mesajı - yeşilimsi */
align-self: flex-end;
}
.chat-message.assistant {
background-color: #EAEAEA; /* Bot mesajı - gri */
align-self: flex-start;
}
/* Yazı ve mikrofon bölümü - %20 ekran kaplasın */
.input-container {
width: 100%;
height: 20vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.input-container input, .input-container button {
width: 90%;
margin: 5px;
padding: 10px;
font-size: 16px;
}
.input-container button {
background-color: #007bff;
color: white;
border: none;
cursor: pointer;
}
.input-container button:hover {
background-color: #0056b3;
}
|