From eef507c419a6bb68bb30cc09dc86c795574899f3 Mon Sep 17 00:00:00 2001 From: cereci5049 Date: Thu, 20 Jun 2024 02:24:03 +0530 Subject: [PATCH] 005 --- src/public/style.css | 75 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 src/public/style.css diff --git a/src/public/style.css b/src/public/style.css new file mode 100644 index 0000000..17d2f6b --- /dev/null +++ b/src/public/style.css @@ -0,0 +1,75 @@ +body { + font-family: sans-serif; + margin: 0; + padding: 0; + display: flex; + justify-content: center; + align-items: center; + min-height: 100vh; + background-color: #f0f0f0; + } + + .container { + background-color: #fff; + padding: 30px; + border-radius: 5px; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); + width: 400px; + } + + h1 { + text-align: center; + margin-bottom: 20px; + } + + .form-group { + margin-bottom: 15px; + } + + label { + display: block; + margin-bottom: 5px; + } + + input[type="text"], + input[type="email"], + input[type="password"] { + width: 100%; + padding: 10px; + border: 1px solid #ccc; + border-radius: 3px; + } + + button { + background-color: #4CAF50; /* Green */ + color: white; + padding: 10px 20px; + border: none; + border-radius: 3px; + cursor: pointer; + } + + button:hover { + background-color: #3e8e41; /* Darker green */ + } + + a { + color: #4CAF50; + text-decoration: none; + } + + a:hover { + color: #3e8e41; /* Same dark green as hover button */ + } + + /* Additional styles */ + input:focus { + outline: none; /* Remove default outline on focus */ + border-color: #4CAF50; /* Change border color to green on focus */ + } + + .form-group.error { + /* Add styling for error state (optional) */ + border-color: red; + } + \ No newline at end of file