|
2 | 2 | <html lang="nl"> |
3 | 3 | <head> |
4 | 4 | <meta charset="UTF-8" /> |
5 | | - <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
6 | | - <title>AI Indicatiehulp</title> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> |
| 6 | + <title>Indicatiehulp.ai</title> |
7 | 7 | <style> |
8 | 8 | body { |
9 | | - font-family: Arial, sans-serif; |
10 | | - background-color: #fff8e1; |
| 9 | + font-family: "Segoe UI", sans-serif; |
11 | 10 | margin: 0; |
12 | 11 | padding: 0; |
| 12 | + background-color: #fff8e1; /* zachte oranje achtergrond */ |
13 | 13 | display: flex; |
14 | 14 | flex-direction: column; |
15 | 15 | height: 100vh; |
16 | 16 | } |
17 | 17 |
|
18 | | - header { |
19 | | - background-color: #ffc827; |
20 | | - padding: 1rem; |
| 18 | + h1 { |
21 | 19 | text-align: center; |
22 | | - font-weight: bold; |
23 | | - font-size: 1.2rem; |
24 | | - box-shadow: 0 2px 4px rgba(0,0,0,0.1); |
| 20 | + background-color: #ffc827; /* oranje kopbalk */ |
| 21 | + color: black; |
| 22 | + padding: 12px 0; |
| 23 | + margin: 0; |
| 24 | + font-size: 20px; |
25 | 25 | } |
26 | 26 |
|
27 | | - #messages { |
| 27 | + #chat { |
28 | 28 | flex-grow: 1; |
29 | 29 | overflow-y: auto; |
30 | | - padding: 1rem; |
| 30 | + padding: 16px; |
| 31 | + display: flex; |
| 32 | + flex-direction: column; |
| 33 | + background-color: #fff8e1; |
31 | 34 | } |
32 | 35 |
|
33 | 36 | .message { |
34 | | - max-width: 80%; |
35 | | - margin-bottom: 1rem; |
36 | | - padding: 0.75rem 1rem; |
37 | | - border-radius: 1.5rem; |
| 37 | + margin-bottom: 10px; |
| 38 | + padding: 10px 14px; |
| 39 | + border-radius: 10px; |
| 40 | + max-width: 75%; |
| 41 | + word-wrap: break-word; |
| 42 | + font-size: 15px; |
38 | 43 | line-height: 1.4; |
39 | | - white-space: pre-line; |
40 | 44 | } |
41 | 45 |
|
42 | | - .user { |
43 | | - background-color: #ffd54f; |
| 46 | + .user-message { |
| 47 | + background-color: #ffe082; |
44 | 48 | align-self: flex-end; |
45 | | - margin-left: auto; |
| 49 | + border-bottom-right-radius: 0; |
46 | 50 | } |
47 | 51 |
|
48 | | - .assistant { |
49 | | - background-color: #ffffff; |
50 | | - border: 1px solid #eee; |
| 52 | + .agent-message { |
| 53 | + background-color: #fffde7; |
51 | 54 | align-self: flex-start; |
52 | | - margin-right: auto; |
| 55 | + border-bottom-left-radius: 0; |
53 | 56 | } |
54 | 57 |
|
55 | | - form { |
| 58 | + #input-form { |
56 | 59 | display: flex; |
57 | | - padding: 1rem; |
58 | | - border-top: 1px solid #ddd; |
59 | | - background-color: #fff; |
| 60 | + border-top: 1px solid #ccc; |
| 61 | + padding: 10px; |
| 62 | + background: white; |
60 | 63 | } |
61 | 64 |
|
62 | | - input[type="text"] { |
| 65 | + #user-input { |
63 | 66 | flex-grow: 1; |
64 | | - padding: 0.75rem; |
65 | | - border-radius: 1rem; |
| 67 | + padding: 10px; |
| 68 | + font-size: 16px; |
66 | 69 | border: 1px solid #ccc; |
67 | | - font-size: 1rem; |
68 | | - margin-right: 0.5rem; |
| 70 | + border-radius: 20px; |
| 71 | + margin-right: 10px; |
69 | 72 | } |
70 | 73 |
|
71 | 74 | button { |
| 75 | + padding: 10px 16px; |
| 76 | + font-size: 16px; |
72 | 77 | background-color: #ffc827; |
| 78 | + color: black; |
73 | 79 | border: none; |
74 | | - border-radius: 1rem; |
75 | | - padding: 0.75rem 1.5rem; |
76 | | - font-weight: bold; |
| 80 | + border-radius: 20px; |
77 | 81 | cursor: pointer; |
78 | 82 | } |
79 | 83 |
|
80 | | - ul { |
81 | | - padding-left: 1.2rem; |
82 | | - margin: 0.5rem 0; |
83 | | - } |
84 | | - |
85 | | - li { |
86 | | - margin-bottom: 0.4rem; |
| 84 | + button:hover { |
| 85 | + background-color: #ffa000; |
87 | 86 | } |
88 | 87 | </style> |
89 | 88 | </head> |
90 | 89 | <body> |
91 | | - <header>AI Indicatiehulp</header> |
92 | 90 |
|
93 | | - <div id="messages"></div> |
| 91 | + <h1>Indicatiehulp.ai</h1> |
| 92 | + |
| 93 | + <div id="chat"></div> |
94 | 94 |
|
95 | 95 | <form id="input-form"> |
96 | | - <input type="text" id="user-input" placeholder="Typ je vraag..." autocomplete="off" /> |
97 | | - <button type="submit">Verzend</button> |
| 96 | + <input type="text" id="user-input" placeholder="Typ je bericht..." autocomplete="off" /> |
| 97 | + <button type="submit">Verstuur</button> |
98 | 98 | </form> |
99 | 99 |
|
100 | 100 | <script src="script.js"></script> |
| 101 | + |
101 | 102 | </body> |
102 | 103 | </html> |
103 | 104 |
|
| 105 | + |
0 commit comments