Skip to content
Open
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
19 changes: 18 additions & 1 deletion css/sports.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@
background-position: 0 0;
}

h4.title {
font-size: 48px;
font-weight: bold;
}

.img-size {
height: 200px !important;
}
.card-body {
text-align: left;
}
.card-body > a {
width: 100%;
}

@media screen and (max-width:768px){

#banner {
Expand All @@ -26,11 +41,13 @@
}




h5.card-title{
line-height:1.6rem;
}


#footer a {
padding: 0.8rem;
}
}
36 changes: 16 additions & 20 deletions sport.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ <h2 class="font-italic">
<main>
<!--banner-->
<article id="banner" class="jumbotron jumbotron-fluid">
<div class="font-italic pl-4 mt-4 text-light">
<div class="pl-4 mt-4 text-light">
<h1 class="display-1 font-italic">
Play
<span class="badge badge-primary shadow">Sport</span>
Expand All @@ -82,42 +82,38 @@ <h1 class="display-1 font-italic">

<div class="container mt-4">

<h4 class="text-center font-italic mb-4">Sport List
<h4 class="text-center mb-4 title">Sport List
<span class="fa fa-star fa-lg text-warning"></span>
</h4>

<div class="row justify-content-center font-italic mt-4">
<div class="row justify-content-center mt-4">

<div class="col-md-4">
<div class="col-md-4 card-contaier">
<!--product card-->
<article class="card text-center font-italic mb-4">
<article class="card text-center mb-4">
<!--product image-->
<img src="https://images.unsplash.com/photo-1521731978332-9e9e714bdd20?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60" alt="image" class="card-img-top">
<img src="https://images.unsplash.com/photo-1521731978332-9e9e714bdd20?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60" alt="image" class="card-img-top img-size">
<div class="card-body">
<!-- name-->
<h5 class="card-title">
Football
</h5>





<!--more info button-->
<a href="#" class="btn btn-success mb-2">
<i class="fa fa-info-circle" aria-hidden="true"></i>
More info

</a>

</div>
</article>
</div>

<div class="col-md-4">
<!--product card-->
<article class="card text-center font-italic mb-4">
<article class="card text-center mb-4">
<!--product image-->
<img src="https://wallpaperaccess.com/full/139512.jpg" alt="image" class="card-img-top">
<img src="https://wallpaperaccess.com/full/139512.jpg" alt="image" class="card-img-top img-size">
<div class="card-body">
<!-- name-->
<h5 class="card-title">
Expand All @@ -140,9 +136,9 @@ <h5 class="card-title">

<div class="col-md-4">
<!--product card-->
<article class="card text-center font-italic mb-4">
<article class="card text-center mb-4">
<!--product image-->
<img src="https://wallpaperaccess.com/full/1088580.jpg" alt="image" class="card-img-top" style="height: 225px;">
<img src="https://wallpaperaccess.com/full/1088580.jpg" alt="image" class="card-img-top img-size" style="height: 225px;">
<div class="card-body">
<!-- name-->
<h5 class="card-title">
Expand All @@ -165,9 +161,9 @@ <h5 class="card-title">

<div class="col-md-4">
<!--product card-->
<article class="card text-center font-italic mb-4">
<article class="card text-center mb-4">
<!--product image-->
<img src="https://vistapointe.net/images/field-hockey-2.jpg" alt="image" class="card-img-top">
<img src="https://vistapointe.net/images/field-hockey-2.jpg" alt="image" class="card-img-top img-size">
<div class="card-body">
<!-- name-->
<h5 class="card-title">
Expand All @@ -190,9 +186,9 @@ <h5 class="card-title">

<div class="col-md-4">
<!--product card-->
<article class="card text-center font-italic mb-4">
<article class="card text-center mb-4">
<!--product image-->
<img src="https://i.pinimg.com/originals/d0/6c/ef/d06cef457ec2ec1a4ec68968775dd891.jpg" alt="image" class="card-img-top" style="height: 230px;">
<img src="https://i.pinimg.com/originals/d0/6c/ef/d06cef457ec2ec1a4ec68968775dd891.jpg" alt="image" class="card-img-top img-size" style="height: 230px;">
<div class="card-body">
<!-- name-->
<h5 class="card-title">
Expand Down