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
+8 -6
View File
@@ -2,7 +2,6 @@
--text-color: #cccccc;
--text-color-highlight: #ffffff;
scroll-behavior: smooth;
overscroll-behavior-y: contain;
}
html {
@@ -26,6 +25,13 @@ body {
background-position: center;
}
hr {
border: none;
border-bottom: 1px solid var(--text-color);
width: 100%;
margin: 0;
}
.text-center {
text-align: center;
}
@@ -123,10 +129,6 @@ article {
height: auto;
}
#projects.active {
}
#projects .links {
display: flex;
flex-direction: row;
@@ -320,4 +322,4 @@ section h2 {
#socials .social-link:hover img {
filter: brightness(1);
scale: 1.05;
}
}