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

Commit fd30b7e

Browse files
author
condef5
committed
Add extra styles
1 parent 877339f commit fd30b7e

2 files changed

Lines changed: 28 additions & 4 deletions

File tree

client/src/views/login.js

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,33 @@ function Login() {
3737
<div
3838
css={{
3939
display: "flex",
40-
justifyContent: "center"
40+
justifyContent: "center",
41+
height: "100vh",
42+
position: "fixed",
43+
top: "0",
44+
width: "100%",
45+
backgroundColor: "#0d0d0d8a",
46+
backgroundImage: "url(https://i.imgur.com/3hVK2yO.jpg)",
47+
backgroundBlendMode: "overlay",
48+
backgroundPosition: "center",
49+
left: "0",
50+
alignItems: "center"
4151
}}
4252
>
4353
<Card
4454
css={{
45-
minWidth: "400px",
4655
width: "50%",
56+
maxWidth: "450px",
4757
"@media screen and (max-width: 480px)": {
4858
width: "100%",
4959
minWidth: "initial"
5060
}
5161
}}
5262
>
5363
<form onSubmit={handleSubmit}>
64+
<h2 css={{ textAlign: "center", fontWeight: "400" }}>
65+
Welcome to Kampu
66+
</h2>
5467
<Input
5568
type="email"
5669
name="email"
@@ -111,3 +124,4 @@ function Login() {
111124
}
112125

113126
export default Login;
127+

client/src/views/signup.js

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,23 @@ function Signup() {
4444
<div
4545
css={{
4646
display: "flex",
47-
justifyContent: "center"
47+
justifyContent: "center",
48+
height: "100vh",
49+
position: "fixed",
50+
top: "0",
51+
width: "100%",
52+
backgroundColor: "#0d0d0d8a",
53+
backgroundImage: "url(https://i.imgur.com/3hVK2yO.jpg)",
54+
backgroundBlendMode: "overlay",
55+
backgroundPosition: "center",
56+
left: "0",
57+
alignItems: "center"
4858
}}
4959
>
5060
<Card
5161
css={{
52-
minWidth: "400px",
5362
width: "50%",
63+
maxWidth: "450px",
5464
"@media screen and (max-width: 480px)": {
5565
width: "100%",
5666
minWidth: "initial"

0 commit comments

Comments
 (0)