From d8c9f8738de29c688041cc7d13e869fd334f92ac Mon Sep 17 00:00:00 2001 From: OPIran Official <130220895+opiran-club@users.noreply.github.com> Date: Sat, 17 Aug 2024 06:17:57 +0330 Subject: [PATCH] Update styles.css --- styles.css | 68 ++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 45 insertions(+), 23 deletions(-) diff --git a/styles.css b/styles.css index bc839f5..3e2db81 100644 --- a/styles.css +++ b/styles.css @@ -1,43 +1,65 @@ body { font-family: Arial, sans-serif; - margin: 20px; - padding: 0; + background-color: #f4f4f4; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; + margin: 0; } -#converter { - max-width: 600px; - margin: 0 auto; +.container { + background-color: #fff; padding: 20px; - border: 1px solid #ccc; - border-radius: 5px; - background-color: #f9f9f9; + border-radius: 8px; + box-shadow: 0010pxrgba(0, 0, 0, 0.1); + width: 300px; } -textarea { - width: 100%; - height: 200px; - margin-bottom: 10px; - padding: 10px; - border: 1px solid #ddd; +h2 { + text-align: center; + color: #333; +} + +form { + display: flex; + flex-direction: column; +} + +label { + margin-bottom: 5px; + color: #555; +} + +input { + padding: 8px; + margin-bottom: 15px; + border: 1px solid #ccc; border-radius: 4px; - font-family: monospace; - box-sizing: border-box; /* Ensures padding and border are included in the element's width and height */ } button { - padding: 10px 20px; - margin-right: 10px; + padding: 10px; + background-color: #5cb85c; + color: white; border: none; border-radius: 4px; - background-color: #007bff; - color: white; cursor: pointer; + text-align: center; } button:hover { - background-color: #0056b3; + background-color: #4cae4c; +} + +.output { + margin-top: 20px; } -#output { - height: 100px; /* Adjust height if needed */resize: none; /* Prevent resizing of the textarea */ +#wg-uri { + word-wrap: break-word; + background-color: #f4f4f4; + padding: 10px; + border-radius: 4px; + border: 1px solid #ccc; }