-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Showing
1 changed file
with
85 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,103 @@ | ||
/* src/ui/styles.css */ | ||
|
||
/* Reset some default styles */ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
} | ||
|
||
body { | ||
font-family: Arial, sans-serif; | ||
margin: 0; | ||
padding: 0; | ||
font-family: 'Arial', sans-serif; | ||
background-color: #f4f4f4; | ||
color: #333; | ||
line-height: 1.6; | ||
} | ||
|
||
.container { | ||
width: 90%; | ||
max-width: 600px; | ||
margin: auto; | ||
overflow: hidden; | ||
} | ||
|
||
header { | ||
background-color: #333; | ||
color: #fff; | ||
padding: 1rem; | ||
text-align: center; | ||
background: #35424a; | ||
color: #ffffff; | ||
padding: 20px 0; | ||
text-align: center; | ||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
h1 { | ||
margin: 0; | ||
} | ||
|
||
main { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
padding: 1rem; | ||
form { | ||
background: #ffffff; | ||
padding: 20px; | ||
border-radius: 5px; | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | ||
margin: 20px 0; | ||
transition: all 0.3s ease; | ||
} | ||
|
||
#content { | ||
width: 100%; | ||
max-width: 800px; | ||
margin: 1rem 0; | ||
padding: 1rem; | ||
border: 1px solid #ccc; | ||
border-radius: 5px; | ||
form:hover { | ||
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); | ||
} | ||
|
||
#controls { | ||
margin-top: 1rem; | ||
form input[type="text"], | ||
form input[type="password"] { | ||
width: 100%; | ||
padding: 10px; | ||
margin: 10px 0; | ||
border: 1px solid #ccc; | ||
border-radius: 5px; | ||
transition: border-color 0.3s ease; | ||
} | ||
|
||
button { | ||
background-color: #333; | ||
border: none; | ||
border-radius: 5px; | ||
color: #fff; | ||
cursor: pointer; | ||
font-size: 1rem; | ||
padding: 0.5rem 1rem; | ||
form input[type="text"]:focus, | ||
form input[type="password"]:focus { | ||
border-color: #35424a; | ||
outline: none; | ||
} | ||
|
||
button:hover { | ||
background-color: #555; | ||
form button { | ||
background: #35424a; | ||
color: #ffffff; | ||
border: none; | ||
padding: 10px; | ||
border-radius: 5px; | ||
cursor: pointer; | ||
transition: background 0.3s ease; | ||
} | ||
|
||
form button:hover { | ||
background: #45a049; | ||
} | ||
|
||
.error-message { | ||
color: red; | ||
margin: 10px 0; | ||
} | ||
|
||
.success-message { | ||
color: green; | ||
margin: 10px 0; | ||
} | ||
|
||
footer { | ||
background-color: #333; | ||
color: #fff; | ||
padding: 1rem; | ||
text-align: center; | ||
text-align: center; | ||
padding: 20px; | ||
background: #35424a; | ||
color: #ffffff; | ||
position: relative; | ||
bottom: 0; | ||
width: 100%; | ||
} | ||
|
||
@media (max-width: 600px) { | ||
.container { | ||
width: 95%; | ||
} | ||
} |