refactor: Remove unnecessary comments from codebase
This commit is contained in:
@@ -20,18 +20,20 @@ body {
|
||||
}
|
||||
|
||||
.i-am {
|
||||
color: #ca6e0b;
|
||||
color: #2e97be;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.about-section h1 {
|
||||
font-size: 2.5rem;
|
||||
color: #2e97be;
|
||||
text-align: center;
|
||||
margin-bottom: var(--margin-medium);
|
||||
}
|
||||
|
||||
.about-section h2 {
|
||||
font-size: 1.8rem;
|
||||
color: #2e97be;
|
||||
}
|
||||
|
||||
.about-section p {
|
||||
@@ -80,7 +82,7 @@ body {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.w3-acag21 {
|
||||
.w3-cag21 {
|
||||
color: #ca6e0b;
|
||||
}
|
||||
|
||||
@@ -97,6 +99,11 @@ body {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
#contact-heading {
|
||||
font-size: 1.8rem;
|
||||
color: #2e97be;
|
||||
}
|
||||
|
||||
form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
@@ -1,5 +1,19 @@
|
||||
/* demos.css */
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
background-image: url("/images/abstract-timekeeper.svg");
|
||||
background-attachment: fixed;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
main {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
h1, h2 {
|
||||
text-align: center;
|
||||
margin-top: 200px;
|
||||
font-size: 2.5rem;
|
||||
}
|
@@ -56,7 +56,7 @@ body {
|
||||
}
|
||||
|
||||
.benefits-container h2, .accordion-container h2, .project-steps h2 {
|
||||
font-color: #2e97be;
|
||||
color: #2e97be;
|
||||
}
|
||||
|
||||
.benefits-container p, .transition p {
|
||||
@@ -73,7 +73,7 @@ body {
|
||||
min-height: 150px;
|
||||
}
|
||||
|
||||
/* Correct media query to force a single column layout below 950px */
|
||||
/* Media query to force a single column layout below 950px */
|
||||
@media (max-width: 950px) {
|
||||
.benefits-visual {
|
||||
grid-template-columns: 1fr;
|
||||
@@ -176,7 +176,7 @@ body {
|
||||
.accordion-item {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
background-color: #ffffff; /* Ensure a solid white background */
|
||||
background-color: #ffffff;
|
||||
border-radius: 10px;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
@@ -187,17 +187,17 @@ body {
|
||||
}
|
||||
|
||||
.accordion-item.active {
|
||||
opacity: 1; /* Fully opaque for the focused card */
|
||||
opacity: 1;
|
||||
transform: scale(1.1);
|
||||
z-index: 1;
|
||||
min-height: 318px; /* Ensure the focused card is above others */
|
||||
min-height: 318px;
|
||||
}
|
||||
|
||||
/* Styles for an active (open) accordion item */
|
||||
.accordion-item.active .accordion-content {
|
||||
max-height: 500px; /* This value should be large enough to contain all content */
|
||||
padding: 15px; /* Adds padding back when open */
|
||||
border-top: 1px solid #dee2e6; /* Adds a border to separate header and content */
|
||||
max-height: 500px;
|
||||
padding: 15px;
|
||||
border-top: 1px solid #dee2e6;
|
||||
}
|
||||
|
||||
.accordion-header {
|
||||
@@ -224,9 +224,9 @@ body {
|
||||
max-height: 0;
|
||||
overflow: hidden;
|
||||
transition: max-height 0.3s ease;
|
||||
background-color: #ffffff; /* Ensure a solid white background */
|
||||
background-color: #ffffff;
|
||||
padding: 0 15px;
|
||||
color: #333333; /* Explicitly set text color to dark gray */
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.accordion-content ul {
|
||||
@@ -237,7 +237,7 @@ body {
|
||||
|
||||
.accordion-content li {
|
||||
padding: 10px;
|
||||
color: #333333; /* Explicitly set text color to dark gray */
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.hover-list {
|
||||
@@ -248,7 +248,7 @@ body {
|
||||
}
|
||||
|
||||
.hover-list.active {
|
||||
max-height: 300px; /* Adjust this value if your lists get longer */
|
||||
max-height: 300px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user