Skip to content

Commit

Permalink
Modify css
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewJanong committed Mar 5, 2024
1 parent 5a5848e commit 624eebc
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 25 deletions.
5 changes: 5 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import viteLogo from '/vite.svg'
import {useQuery} from "@tanstack/react-query";
import resolveURL from "./api/fetch.ts";
import './assets/css/App.css'
import LoginFormComponent from './components/LoginFormComponent.tsx';
import LoginImage from './components/LoginImage.tsx';

function App() {
const [count, setCount] = useState(0)
Expand Down Expand Up @@ -35,6 +37,9 @@ function App() {
<p className="read-the-docs">
Click on the Vite and React logos to learn more
</p>

<LoginFormComponent />
<LoginImage />
</>
)
}
Expand Down
55 changes: 38 additions & 17 deletions src/assets/css/LoginFormComponent.module.css
Original file line number Diff line number Diff line change
@@ -1,45 +1,66 @@
@import url('https://fonts.cdnfonts.com/css/dm-sans');

.login {
height: 240px;
width: 220px;
height: 591px;
width: 480px;
padding: 0;

display: flex;
flex-direction: column;
align-items: center;

font-family: 'DM Sans', sans-serif;
}

.login > p {
font-size: 1.2rem;
font-weight: 600;
margin: 0.5rem;
font-size: 50px;
font-size: 50px;
font-style: normal;
font-weight: 500;
line-height: normal;
}

.login > input {
outline: none;
border: none;

font-size: 0.6rem;
height: 1.8rem;
width: 80%;
padding: 0.2rem 0.6rem;
margin-bottom: 0.5rem;
border-radius: 0.3rem;
background-color: #dbdcdc;
height: 69px;
width: 400px;
border-radius: 7px;
padding-left: 21px;
margin-bottom: 45px;
background-color: #D9D9D9;

font-family: "DM Sans";
font-size: 26px;
font-style: normal;
font-weight: 500;
line-height: normal;
}

.login > input::placeholder {
color: #fff;
opacity: 1; /* Firefox */
color: #FFF;
font-family: "DM Sans";
font-size: 26px;
font-style: normal;
font-weight: 500;
line-height: normal;
}

.forgot-password {
color: inherit;
font-size: 0.6rem;
color: #151515;
font-family: "DM Sans";
font-size: 26px;
font-style: normal;
font-weight: 500;
line-height: normal;
text-decoration: underline;
}

.login-button-container {
width: 50%;
height: 1.8rem;
width: 227px;
height: 69px;
border-radius: 7px;
margin: auto;
}
4 changes: 2 additions & 2 deletions src/assets/css/LoginImage.module.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.login-image {
height: 240px;
width: 240px;
height: 591px;
width: 577px;
}
15 changes: 9 additions & 6 deletions src/assets/css/SignInButton.module.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
@import url('https://fonts.cdnfonts.com/css/dm-sans');

.sign-in-button {
/* put in container */
height: 100%;
width: 100%;
padding: 0;

background-color: #213547;
border-radius: 0.3rem;

text-align: center;
font-size: 0.6rem;
color: #fff;
color: #FFF;
background-color: #0C1747;
font-family: "DM Sans";
font-size: 26px;
font-style: normal;
font-weight: 500;
line-height: normal;
}

0 comments on commit 624eebc

Please sign in to comment.