-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7cbcd8e
commit c685f70
Showing
4 changed files
with
450 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
body { | ||
font-family: Arial, sans-serif; | ||
background-color: #f8f9fa; | ||
color: #343a40; | ||
margin: 0; | ||
padding: 20px; | ||
} | ||
|
||
.container { | ||
max-width: 800px; | ||
margin: 0 auto; | ||
padding: 20px; | ||
background-color: #ffffff; | ||
border-radius: 8px; | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
h1 { | ||
text-align: center; | ||
color: #007bff; | ||
margin-bottom: 40px; | ||
} | ||
|
||
.section { | ||
margin-bottom: 40px; | ||
} | ||
|
||
.section h2 { | ||
color: #007bff; | ||
margin-bottom: 20px; | ||
border-bottom: 2px solid #007bff; | ||
padding-bottom: 10px; | ||
} | ||
|
||
form { | ||
display: grid; | ||
grid-template-columns: 1fr 2fr; | ||
gap: 10px; | ||
} | ||
|
||
form label { | ||
align-self: center; | ||
} | ||
|
||
form input[type="text"], | ||
form input[type="number"], | ||
form button { | ||
padding: 10px; | ||
border: 1px solid #ced4da; | ||
border-radius: 4px; | ||
} | ||
|
||
form input[type="text"]:focus, | ||
form input[type="number"]:focus { | ||
outline: none; | ||
border-color: #007bff; | ||
box-shadow: 0 0 5px rgba(0, 123, 255, 0.25); | ||
} | ||
|
||
form button { | ||
grid-column: span 2; | ||
background-color: #007bff; | ||
color: white; | ||
border: none; | ||
cursor: pointer; | ||
transition: background-color 0.3s; | ||
} | ||
|
||
form button:hover { | ||
background-color: #0056b3; | ||
} | ||
|
||
#display, | ||
#balance-result { | ||
margin-top: 20px; | ||
padding: 15px; | ||
background-color: #e9ecef; | ||
border-radius: 4px; | ||
border: 1px solid #ced4da; | ||
} | ||
|
||
@media (max-width: 600px) { | ||
form { | ||
grid-template-columns: 1fr; | ||
} | ||
|
||
form button { | ||
grid-column: span 1; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.