Skip to content
This repository has been archived by the owner on Aug 8, 2019. It is now read-only.

Commit

Permalink
Add extra styles
Browse files Browse the repository at this point in the history
  • Loading branch information
condef5 committed Jul 19, 2019
1 parent 877339f commit fd30b7e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
18 changes: 16 additions & 2 deletions client/src/views/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,33 @@ function Login() {
<div
css={{
display: "flex",
justifyContent: "center"
justifyContent: "center",
height: "100vh",
position: "fixed",
top: "0",
width: "100%",
backgroundColor: "#0d0d0d8a",
backgroundImage: "url(https://i.imgur.com/3hVK2yO.jpg)",
backgroundBlendMode: "overlay",
backgroundPosition: "center",
left: "0",
alignItems: "center"
}}
>
<Card
css={{
minWidth: "400px",
width: "50%",
maxWidth: "450px",
"@media screen and (max-width: 480px)": {
width: "100%",
minWidth: "initial"
}
}}
>
<form onSubmit={handleSubmit}>
<h2 css={{ textAlign: "center", fontWeight: "400" }}>
Welcome to Kampu
</h2>
<Input
type="email"
name="email"
Expand Down Expand Up @@ -111,3 +124,4 @@ function Login() {
}

export default Login;

14 changes: 12 additions & 2 deletions client/src/views/signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,23 @@ function Signup() {
<div
css={{
display: "flex",
justifyContent: "center"
justifyContent: "center",
height: "100vh",
position: "fixed",
top: "0",
width: "100%",
backgroundColor: "#0d0d0d8a",
backgroundImage: "url(https://i.imgur.com/3hVK2yO.jpg)",
backgroundBlendMode: "overlay",
backgroundPosition: "center",
left: "0",
alignItems: "center"
}}
>
<Card
css={{
minWidth: "400px",
width: "50%",
maxWidth: "450px",
"@media screen and (max-width: 480px)": {
width: "100%",
minWidth: "initial"
Expand Down

0 comments on commit fd30b7e

Please sign in to comment.