Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from BLV-OSAV-USAV/feature/logincss
login css update
- Loading branch information
Showing
3 changed files
with
97 additions
and
18 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,70 @@ | ||
/* Add Montserrat font to your CSS */ | ||
|
||
body { | ||
font-family: "Montserrat", sans-serif; | ||
background-color: #009999; | ||
} | ||
|
||
/* Container */ | ||
.login-container { | ||
display: flex; | ||
justify-content: center; /* horizontally center */ | ||
align-items: center; /* vertically center */ | ||
height: 100vh; /* set height to 100% of viewport height */ | ||
padding: 10px; | ||
} | ||
|
||
/* Your existing CSS styles */ | ||
/* Form */ | ||
.login-form { | ||
background-color: white; | ||
padding: 20px; | ||
border-radius: 10px; | ||
} | ||
|
||
/* Input fields */ | ||
.input-field { | ||
width: 90%; | ||
padding: 10px; | ||
margin: 10px 0; | ||
border: 1px solid #ccc; | ||
border-radius: 5px; | ||
text-size-adjust: 16 px; | ||
} | ||
|
||
/* Submit button */ | ||
.login-btn { | ||
width: 100%; | ||
padding: 10px; | ||
margin-top: 10px; | ||
background-color: #ff99cc; | ||
color: #fff; | ||
border: none; | ||
border-radius: 5px; | ||
cursor: pointer; | ||
} | ||
|
||
.login-btn:hover { | ||
background-color: #0056b3; | ||
} | ||
|
||
p { | ||
text-size-adjust: 6px; | ||
} | ||
|
||
/* Additional styles for smaller screens */ | ||
@media screen and (max-width: 480px) { | ||
.login-form { | ||
padding: 10px; | ||
} | ||
|
||
.input-field { | ||
padding: 8px; | ||
margin: 8px 0; | ||
} | ||
|
||
.login-btn { | ||
padding: 8px; | ||
margin-top: 8px; | ||
} | ||
} |
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