Creating a margin css class
This commit is contained in:
parent
7cba3f550a
commit
a78575f4d6
@ -12,6 +12,10 @@ body {
|
|||||||
margin: 0 auto
|
margin: 0 auto
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.m-5-auto {
|
||||||
|
margin: 5rem auto
|
||||||
|
}
|
||||||
|
|
||||||
/*** Landing Page ***/
|
/*** Landing Page ***/
|
||||||
.main-title,
|
.main-title,
|
||||||
.main-para {
|
.main-para {
|
||||||
@ -70,10 +74,6 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*** Login Page ***/
|
/*** Login Page ***/
|
||||||
.login-page {
|
|
||||||
margin: 5rem auto
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-weight: 300
|
font-weight: 300
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@ const handleClick = () => {
|
|||||||
|
|
||||||
export default function SignInPage() {
|
export default function SignInPage() {
|
||||||
return (
|
return (
|
||||||
<div className="text-center login-page">
|
<div className="text-center m-5-auto">
|
||||||
<h2>Sign in to us</h2>
|
<h2>Sign in to us</h2>
|
||||||
<form action="/home">
|
<form action="/home">
|
||||||
<p>
|
<p>
|
||||||
|
@ -6,7 +6,7 @@ import '../../App.css'
|
|||||||
export default function SignUpPage() {
|
export default function SignUpPage() {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="text-center login-page">
|
<div className="text-center m-5-auto">
|
||||||
<h2>Join us</h2>
|
<h2>Join us</h2>
|
||||||
<h3>Create your personal account</h3>
|
<h3>Create your personal account</h3>
|
||||||
<form action="/home">
|
<form action="/home">
|
||||||
|
Loading…
Reference in New Issue
Block a user