Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
html styling
  • Loading branch information
LucifersCircle committed Dec 8, 2024
1 parent e6f089d commit 77c020a
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ def initialize_db():
}
.container {
text-align: center;
width: 400px;
margin: 0 auto; /* Center the container */
}
input {
padding: 10px;
Expand All @@ -89,18 +91,26 @@ def initialize_db():
background-color: #3f4c8c;
}
.message {
margin-top: 10px;
margin: 10px auto;
padding: 10px;
background-color: #2e2e2e;
border-radius: 5px;
color: lightgreen;
width: 100%; /* Match container width */
text-align: center;
}
.message.duplicate {
color: yellow;
}
.message.invalid {
color: red;
}
.description {
margin-top: 15px;
font-size: 14px;
color: #ccc;
text-align: center;
}
.footer {
position: absolute;
bottom: 10px;
Expand Down Expand Up @@ -141,6 +151,7 @@ def initialize_db():
</body>
</html>
"""

# Landing page route
Expand Down

0 comments on commit 77c020a

Please sign in to comment.