Add horizontal lines as section separators and remove redundant CSS

This commit introduces horizontal line (<hr>) elements in the HTML to visually separate different sections. It also removes the 'overscroll-behavior-y' property and the unused '#projects.active' rule from the CSS file, thus streamlining the style sheet.
This commit is contained in:
2023-12-29 00:35:53 +01:00
parent a7be286037
commit 276ed80248
2 changed files with 10 additions and 6 deletions
+2
View File
@@ -42,6 +42,7 @@
</div> </div>
</article> </article>
</section> </section>
<hr>
<section id="projects"> <section id="projects">
<h2>Projects</h2> <h2>Projects</h2>
<div class="project-scroller"> <div class="project-scroller">
@@ -214,6 +215,7 @@
</article> </article>
</div> </div>
</section> </section>
<hr>
<section id="socials"> <section id="socials">
<h2>Socials</h2> <h2>Socials</h2>
<article> <article>
+8 -6
View File
@@ -2,7 +2,6 @@
--text-color: #cccccc; --text-color: #cccccc;
--text-color-highlight: #ffffff; --text-color-highlight: #ffffff;
scroll-behavior: smooth; scroll-behavior: smooth;
overscroll-behavior-y: contain;
} }
html { html {
@@ -26,6 +25,13 @@ body {
background-position: center; background-position: center;
} }
hr {
border: none;
border-bottom: 1px solid var(--text-color);
width: 100%;
margin: 0;
}
.text-center { .text-center {
text-align: center; text-align: center;
} }
@@ -123,10 +129,6 @@ article {
height: auto; height: auto;
} }
#projects.active {
}
#projects .links { #projects .links {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@@ -320,4 +322,4 @@ section h2 {
#socials .social-link:hover img { #socials .social-link:hover img {
filter: brightness(1); filter: brightness(1);
scale: 1.05; scale: 1.05;
} }