mirror of
https://github.com/YouHaveTrouble/youhavetrouble.github.io.git
synced 2026-05-12 06:16:55 +00:00
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:
@@ -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>
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user