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

Expertise section #4

Merged
merged 3 commits into from
Feb 21, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
responsive expertise section without border
  • Loading branch information
bosvill committed Feb 21, 2023
commit 8be664c0979b20b0d86a394abd2110f84abae137
40 changes: 39 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,45 @@
<main>
<section id="our_story-section">our story section</section>
<section id="watch-section">watch section</section>
<section id="expertise-section">expertise section</section>
<section id="expertise-section">
<div class="expertise-container">
<div class="expertise-title center">
<h2 class="title-bold">Expertise</h2>
<p class="title-norm">Lorem ipsum dolor sit amet proin gravida nibh vel velit</p>
<hr class="line">
</div>
<article class="expertise-card center">
<img src="images/png/screen.png" alt="picture of screen" class="card-img">
<h3 class="card-title">Web design&development</h3>
<p class="card-content">This is Photoshop's version of Lorem Ipsum Proin gravida nibh vel velit auctor aliquet Aenean</p>
</article>
<article class="expertise-card center">
<img src="images/png/pen.png" alt="picture of screen" class="card-img">
<h3 class="card-title">Branding Idenity</h3>
<p class="card-content">This is Photoshop's version of Lorem Ipsum Proin gravida nibh vel velit auctor aliquet Aenean</p>
</article>
<article class="expertise-card center">
<img src="images/png/mobile.png" alt="picture of screen" class="card-img">
<h3 class="card-title">Mobile App</h3>
<p class="card-content">This is Photoshop's version of Lorem Ipsum Proin gravida nibh vel velit auctor aliquet Aenean</p>
</article>
<article class="expertise-card center">
<img src="images/png/graph.png" alt="picture of screen" class="card-img">
<h3 class="card-title">Search engine optimisation</h3>
<p class="card-content">This is Photoshop's version of Lorem Ipsum Proin gravida nibh vel velit auctor aliquet Aenean</p>
</article>
<article class="expertise-card center">
<img src="images/png/gameboy.png" alt="picture of screen" class="card-img">
<h3 class="card-title">Game development</h3>
<p class="card-content">This is Photoshop's version of Lorem Ipsum Proin gravida nibh vel velit auctor aliquet Aenean</p>
</article>
<article class="expertise-card center">
<img src="images/png/heart.png" alt="picture of screen" class="card-img">
<h3 class="card-title">Made with love</h3>
<p class="card-content">This is Photoshop's version of Lorem Ipsum Proin gravida nibh vel velit auctor aliquet Aenean</p>
</article>
</div>
</section>
<section id="team-section">team section</section>
<section id="contact_client-section">contact / client section</section>
</main>
Expand Down
100 changes: 83 additions & 17 deletions styles.css
Original file line number Diff line number Diff line change
@@ -1,35 +1,101 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

nav {
color: red;

#watch-section {
height: 70vh;
background-image: url(images/bgk-middle.png);
background-repeat: no-repeat;
background-size: cover;
background-color: #1e1a3e;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 2rem;

}

#hero-section {
color: blue;
.play-link {
font-family: sans-serif;
font-size: 1rem;
font-weight: bold;
color: white;
text-decoration: none;
text-transform: uppercase;
}

#our_story-section {
color: green;

.play-link:hover,
.play-link:focus {
color: #1baeaa;
}
#expertise-section {
background: white;
color: #3b3b3b;
font-family: 'Segoe UI', sans-serif;
font-size: 0.8rem;
}
.expertise-container {
width: 80%;
max-width: 960px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
grid-auto-columns: max-content;
place-content: center;
gap: 1rem;
/* place-items: center; */
}

#watch-section {
color: darkred;
.center {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 1rem;

}

#expertise-section {
color: fuchsia;
.expertise-title {
grid-column: 1/-1;
margin: 70px 0 70px;
}

.title-bold {
text-transform: uppercase;
font-weight: bold;
}

#team-section {
color: yellowgreen;
.title-norm {
font-weight: 400;
}

#contact_client-section {
color: lightsalmon;
.line {
width: 4rem;
}

footer {
color: blueviolet;
}
.card-img,
.card-title,
.card-content {
margin-bottom: 1rem;
}
.card-img {
height: 50px;
width: 50px;
}
.card-content {
text-align: center;
}
.card-title {
font-weight: 600;
font-size: 0.8rem;
}
.expertise-card {
padding: 0 1rem;
margin-bottom: 1rem;
/* border-right: 0.2px solid #4d4d4d; */
}