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