Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve margin and padding in card #428

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion src/Homepage/Homepage/Homepage.css
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,22 @@ body {
format("woff2");
}

/* Heading in Homepage Game on!! */
.card-title {
font-size: 50px;
padding: 10px;
line-height: 40px;
margin-bottom: -10px;
}

.card-about {
margin: 15px;
margin-bottom: 5px;
padding: 10px;
line-height: 25px;
text-align: left;
}

/* Heading in Homepage Game on!! */
.header_homepage {
width: 80%;
border: 5px;
Expand Down
4 changes: 2 additions & 2 deletions src/Homepage/Homepage/Homepage.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ function Homepage() {
<div className="card" key={row.serial_number}>
<div className="content">
<h2>{row.serial_number}</h2>
<h3>{row.main_heading}</h3>
<p>{row.about} </p>
<h3 className="card-title">{row.main_heading}</h3>
<p className="card-about">{row.about} </p>
{/* Create a route for your game and add it in AllRoutes.js in Routes folder then add the link in data1 in Data Folder */}
<Link to={row.link_game}>Play now !!!</Link>
</div>
Expand Down