diff --git a/README.md b/README.md index 988ce68..36bdcba 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,10 @@ This project aims to be a little interface to an LLM hosted by a vllm-Engine. It implements a simple Authentication with JSON Web Tokens. +```shell +docker-compose up --build +``` + +```shell +docker-compose down +``` \ No newline at end of file diff --git a/client/css/styles.css b/client/css/styles.css index 3cb820b..a267310 100644 --- a/client/css/styles.css +++ b/client/css/styles.css @@ -1,35 +1,84 @@ +/* Zentrieren des gesamten Inhalts und Grundfarbgebung */ body { - font-family: Arial, sans-serif; + font-family: 'Segoe UI', Tahoma, Geneva, sans-serif; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; - background-color: #f4f4f9; + background-color: #e9ecef; } -form { - border: 1px solid #ddd; - padding: 20px; - margin: 20px; - background: white; - width: 300px; +/* Container für zentrales Layout */ +.container { text-align: center; + max-width: 500px; + padding: 20px; } -h1, h2 { +/* Styling für die Form-Wrapper */ +.form-wrapper { + display: flex; + justify-content: space-around; + gap: 20px; +} + +/* Formulare aufhübschen */ +.form { + background: #ffffff; + padding: 20px; + width: 75%; + border-radius: 8px; + box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); +} + +h1 { color: #333; + font-size: 1.8rem; + margin-bottom: 10px; +} + +h2 { + color: #007bff; + font-size: 1.5rem; + margin-bottom: 15px; } input, button { - width: 100%; - padding: 10px; + width: 80%; + padding: 12px; margin: 10px 0; + border-radius: 5px; border: 1px solid #ddd; + font-size: 1rem; +} + +input:focus { + outline: none; + border-color: #007bff; + box-shadow: 0px 0px 5px rgba(0, 123, 255, 0.3); } button { background-color: #007bff; - color: white; + color: #ffffff; + border: none; cursor: pointer; + transition: background-color 0.3s; +} + +button:hover { + background-color: #0056b3; +} + +/* Responsive Design */ +@media (max-width: 600px) { + .form-wrapper { + flex-direction: column; + align-items: center; + } + + .form { + width: 90%; + } } diff --git a/client/index.html b/client/index.html index 97b880d..a4de265 100644 --- a/client/index.html +++ b/client/index.html @@ -7,21 +7,26 @@
-