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

Responsiveness of Skills Section #499

Closed
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
53 changes: 53 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1039,3 +1039,56 @@ HEAD .round-2 {
align-items: center;
margin-left: 7rem;
}
.skills-table{
display: grid;
grid-template-columns: repeat(3,1fr);
width: 90%;
}

.skills-table .skill{
background-color: #49b1ad;
text-align: center;
padding: 30px;
font-weight: bold;
font-size: 20px;
text-shadow: 2px 2px #0000;
cursor: pointer;
}
.skills-table .skill:hover{
background-color: #1e918d;
transition-delay: 100ms;
border-top: 2px solid #0c3b3a;
}
.skills-table .skill:nth-child(4){
background-color: white;
}
.skills-table .skill:nth-child(4):hover{
background-color: #a6adad;
transition-delay: 100ms;
border-top: 2px solid #0c3b3a;
}

.skills-table .skill:nth-child(5){
background-color: white;
}
.skills-table .skill:nth-child(5):hover{
background-color: #a6adad;
transition-delay: 100ms;
border-top: 2px solid #0c3b3a;
}
.skills-table .skill:nth-child(6){
background-color: white;
}
.skills-table .skill:nth-child(6):hover{
background-color: #a6adad;
transition-delay: 100ms;
border-top: 2px solid #0c3b3a;
}
@media screen and (max-width: 800px) {
#sharpen-skills .container{
margin-left: 0;
}
.skills-table{
grid-template-columns: repeat(2,1fr);
}
}
30 changes: 13 additions & 17 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,23 +198,19 @@ <h1 class="text-center">About Us</h1>
<h1 class="text-center">Sharpen Your Skills</h1>
<hr>
<br><br>
<table class="center">
<tr>
<th><i class="fas fa-atom"></i>&nbsp; <a href="https://www.geeksforgeeks.org/data-structures/" target="_blank">Data Structures</a></th>
<th><i class="fas fa-project-diagram"></i>&nbsp; <a href="https://leetcode.com/problemset/algorithms/" target="_blank">Algorithms</a></th>
<th><i class="fab fa-python"></i>&nbsp; <a href="https://docs.python.org/3/tutorial/index.html" target="_blank">Python</a></th>
</tr>
<tr>
<th><i class="fab fa-cuttlefish"></i>&nbsp; <a href="https://www.youtube.com/watch?v=KJgsSFOSQv0" target="_blank">C</a></th>
<th><i class="devicon-cplusplus-line-wordmark fa-lg"></i>&nbsp; <a href="https://www.cplusplus.com/" target="_blank">C++</a></th>
<th><i class="fab fa-java fa-lg"></i>&nbsp; <a href="https://www.youtube.com/watch?v=eTXd89t8ngI&list=PLd3UqWTnYXOmx_J1774ukG_rvrpyWczm0" target="_blank">Java</a></th>
</tr>
<tr>
<th><i class="far fa-gem"></i>&nbsp; <a href="https://www.youtube.com/watch?v=t_ispmWmdjY" target="_blank">Ruby</a></th>
<th><i class="fab fa-gofore"></i>&nbsp; <a href="https://www.youtube.com/watch?v=YS4e4q9oBaU" target="_blank">Golang</a></th>
<th><i class="fab fa-swift"></i>&nbsp; <a href="https://www.youtube.com/watch?v=Ulp1Kimblg0" target="_blank">Swift</a></th>
</tr>
</table>

<div class="skills-table">
<div class="skill"><i class="fas fa-atom"></i>&nbsp; <a href="https://www.geeksforgeeks.org/data-structures/" target="_blank">Data Structures</a></div>
<div class="skill"><i class="fas fa-project-diagram"></i>&nbsp; <a href="https://leetcode.com/problemset/algorithms/" target="_blank">Algorithms</a></div>
<div class="skill"><i class="fab fa-python"></i>&nbsp; <a href="https://docs.python.org/3/tutorial/index.html" target="_blank">Python</a></div>
<div class="skill"><i class="fab fa-cuttlefish"></i>&nbsp; <a href="https://www.youtube.com/watch?v=KJgsSFOSQv0" target="_blank">C</a></div>
<div class="skill"><i class="devicon-cplusplus-line-wordmark fa-lg"></i>&nbsp; <a href="https://www.cplusplus.com/" target="_blank">C++</a></div>
<div class="skill"><i class="fab fa-java fa-lg"></i>&nbsp; <a href="https://www.youtube.com/watch?v=eTXd89t8ngI&list=PLd3UqWTnYXOmx_J1774ukG_rvrpyWczm0" target="_blank">Java</a></div>

<div class="skill"><i class="far fa-gem"></i>&nbsp; <a href="https://www.youtube.com/watch?v=t_ispmWmdjY" target="_blank">Ruby</a></div>
<div class="skill"><i class="fab fa-gofore"></i>&nbsp; <a href="https://www.youtube.com/watch?v=YS4e4q9oBaU" target="_blank">Golang</a></div>
<div class="skill"><i class="fab fa-swift"></i>&nbsp; <a href="https://www.youtube.com/watch?v=Ulp1Kimblg0" target="_blank">Swift</a></div>
</div>
</div>
</section>
<span class="span"></span>
Expand Down