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
89 changes: 89 additions & 0 deletions about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css" />
<title>Gymnastic</title>
</head>

<header>
<h1 class="logo">Gymnastic</h1>
<a href="index.html">
<h2>Home</h2>
</a>
<h2>About Us</h2>
<h2>Contact Us</h2>
</header>

<body>
<h1>About Us</h1>
<p class="who">Lorem ipsum dolor sit amet consectetur, adipisicing elit. Quibusdam totam quod rem. Quisquam error
iusto molestiae nostrum, velit reiciendis tenetur sapiente nobis cupiditate possimus natus fugiat at sequi,
explicabo incidunt?</p>


<div class="gym-locations">
<h1>Our Locations:</h1>
<div>
<section>Glasgow:</section>
<p>Lorem ipsum dolor sit amet </p><br>
<p>consectetur adipisicing elit.</p> <br>
<p>Lorem ipsum dolor sit amet consectetur.</p>
</div>
<div>
<section>Cardiff:</section>
<p>Lorem ipsum dolor sit amet </p><br>
<p>consectetur adipisicing elit.</p> <br>
<p>Lorem ipsum dolor sit amet consectetur.</p>
</div>
<div>
<section>London:</section>
<p>Lorem ipsum dolor sit amet </p><br>
<p>consectetur adipisicing elit.</p> <br>
<p>Lorem ipsum dolor sit amet consectetur.</p>
</div>

</div>


<div class="social">
<p>Follow us on</p>
<button><a href="">Instagram</a></button>
<button><a href="">Facebook</a></button>
<button><a href="">YouTube</a></button>
</div>

</body>

<footer>
<div class="bottom">
<h2> Popular features</h2>
<h3>Gyms Near Me</h3>
<div class="locations">
<p>
<a href="">Gyms in London</a>
</p>
<p>
<a href="">Gyms in Cardiff</a>
</p>
<p>
<a href="">Gyms in Glasgow</a>
</p>
</div>
<div class="features">
<p>
<a href="">Fitness Classes</a>
</p>
<p>
<a href="">Personal Trainers </a>
</p>
<p>
<a href="">Gym Membership Deals & Offers</a>
</p>
</div>
</div>
</footer>

</html>
76 changes: 76 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css" />
<title>Gymnastic</title>
</head>

<header>
<h1 class="logo">Gymnastic</h1>
<h2>Home</h2>
<a href="about.html"><h2>About Us</h2></a>
<h2>Contact Us</h2>

</header>

<body>
<h1>Fitness for life!</h1>
<p class="why">Every gym is designed with you in mind, from the way they're laid out, to the range of
equipment available.</p>
<div>
<p class="promo">Get your membership today and save a whopping <span>50%</span>!</p>
</div>
<button class="enroll">GET MEMBERSHIP</button>
<div class="social">
<p>Follow us on</p>
<button><a href="">Instagram</a></button>
<button><a href="">Facebook</a></button>
<button><a href="">YouTube</a></button>
</div>

<div class="testimonials">
<h1>They said about us:</h1>
<div><section>Person 1:</section><p>"Expedita ipsam laboriosam nostrum modi delectus, <br>
rerum voluptatibus ad maiores ipsa fugit sit eius, harum voluptate"</p></div>
<div><section>Person 2:</section><p>"Expedita ipsam laboriosam nostrum modi delectus, <br>
rerum voluptatibus ad maiores ipsa fugit sit eius, harum voluptate"</p></div>
<div><section>Person 3:</section><p>"Expedita ipsam laboriosam nostrum modi delectus, <br>
rerum voluptatibus ad maiores ipsa fugit sit eius, harum voluptate"</p></div>

</div>

</body>

<footer>
<div class="bottom">
<h2> Popular features</h2>
<h3>Gyms Near Me</h3>
<div class="locations">
<p>
<a href="">Gyms in London</a>
</p>
<p>
<a href="">Gyms in Cardiff</a>
</p>
<p>
<a href="">Gyms in Glasgow</a>
</p>
</div>
<div class="features">
<p>
<a href="">Fitness Classes</a>
</p>
<p>
<a href="">Personal Trainers </a>
</p>
<p>
<a href="">Gym Membership Deals & Offers</a>
</p>
</div>
</div>
</footer>

</html>
183 changes: 183 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
* {
font-family: sans-serif;
margin: 0;
}

header {
background-color: #357ba6;
padding-top: 30px;
padding-bottom: 35px;
/* padding-left: 5px; */
/* margin: 0; */
}

.logo {
display: inline;
color: white;
background-color: #357ba6;
font-weight: bolder;
/* padding-left: 5px; */
padding-right: 35px;
padding-bottom: 3px;
}

header h2 {
display: inline;
color: white;
font-weight: bold;

background-color: #357ba6;
padding-right: 30px;
}

body h1 {
color: #367497;
font-size: 45px;
font-weight: bolder;
padding: 50px;
}

.why,
.who {
padding-left: 50px;
padding-bottom: 40px;
font-size: 30px;
}

.promo {
padding-left: 50px;
padding-bottom: 20px;
font-size: 30px;
}

.promo span {
font-weight: bold;
color: #4c8bb1;
}

.enroll {
margin-top: 20px;
margin-left: 50px;
margin-bottom: 50px;
padding: 20px 50px;
border: 4px solid #e87e2c;
border-radius: 20px;
font-size: 25px;
font-weight: 500;
color: #e87e2c;
background-color: white;
}

.social p {
margin-left: 50px;
color: #367497;
font-size: 45px;
font-weight: bolder;
}

.social button {
margin-top: 20px;
margin-left: 50px;
margin-bottom: 50px;
padding: 20px 70px;
border: 1px solid black;
border-radius: 20px;
font-size: 35px;
font-weight: bold;
background-color: #874bf4;
color: white;
box-shadow: 5px 5px 10px lightgray;
}

.social button:nth-of-type(2) {
background-color: #3778e8;
}

.social button:nth-of-type(3) {
background-color: #ea3223;
}

.social a {
text-decoration: none;
color: white;
}

.testimonials div {
display: inline-block;
background-color: #828b88;
color: white;
margin: 40px 25px 40px 15px;
/* margin-bottom: 40px;
margin-right: 20px;
margin-left: 15px; */
padding: 50px;
font-size: 18px;
font-style: italic;
text-align: center;
line-height: 30px;
}

.testimonials section {
font-style: normal;
}


.gym-locations div {
display: inline-block;
background-color: #a9aead;
color: white;
margin-top: 20px;
margin-bottom: 80px;
margin-right: 20px;
margin-left: 25px;
padding: 30px;
font-size: 18px;
text-align: center;
line-height: 15px;
}

.gym-locations section {
font-size: 26px;
font-weight: bold;
margin-bottom: 25px;
}



.bottom {
/* display: */
background-color: #357ba6;
padding-top: 35px;
padding-left: 50px;
padding-bottom: 150px;
}

.bottom h2 {
padding-bottom: 20px;
color: white;
font-weight: lighter;
font-size: 25px;
}

.bottom h3 {
/* padding-bottom: 20px; */
color: white;
font-weight: bold;
font-size: 25px;
}

.locations a {
/* display: block */
text-decoration: none;
margin-left: 30px;
color: white;
font-size: 25px;
}

.features a {
/* margin-left: 30px; */
text-decoration: none;
color: white;
font-size: 25px;
font-weight: bold;
}