fix: Replace ALL remaining hardcoded #ddd borders with theme variable
Replaced 12 hardcoded borders across 5 files: - _cv-section.css: 2 borders (company icons) - _projects.css: 2 borders (project icons) - _courses.css: 2 borders (course icons) - _toggles.css: 3 borders (logo containers) - logo-toggle.css: 3 borders (logo containers) All icon borders now use var(--icon-border): - Light theme: #ddd (visible) - Dark theme: transparent (invisible) Verified with Playwright: rgba(0,0,0,0) in dark theme
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
height: 80px;
|
height: 80px;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid var(--icon-border);
|
||||||
background: transparent;
|
background: transparent;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid var(--icon-border);
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: var(--text-light);
|
color: var(--text-light);
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|||||||
@@ -249,7 +249,7 @@
|
|||||||
height: 60px;
|
height: 60px;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid var(--icon-border);
|
||||||
background: transparent;
|
background: transparent;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
@@ -261,7 +261,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid var(--icon-border);
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: var(--text-light);
|
color: var(--text-light);
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
height: 80px;
|
height: 80px;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid var(--icon-border);
|
||||||
background: transparent;
|
background: transparent;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid var(--icon-border);
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: var(--text-light);
|
color: var(--text-light);
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|||||||
@@ -113,7 +113,7 @@
|
|||||||
.award-item {
|
.award-item {
|
||||||
margin-bottom: 2.5rem;
|
margin-bottom: 2.5rem;
|
||||||
padding-bottom: 2rem;
|
padding-bottom: 2rem;
|
||||||
border-bottom: 2px solid #ddd;
|
border-bottom: 2px solid var(--icon-border);
|
||||||
page-break-inside: avoid;
|
page-break-inside: avoid;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 1.2rem;
|
gap: 1.2rem;
|
||||||
@@ -149,7 +149,7 @@
|
|||||||
height: 80px;
|
height: 80px;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid var(--icon-border);
|
||||||
background: transparent;
|
background: transparent;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
@@ -164,7 +164,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid var(--icon-border);
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: #999;
|
color: #999;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|||||||
@@ -112,7 +112,7 @@
|
|||||||
.experience-item {
|
.experience-item {
|
||||||
margin-bottom: 2.5rem;
|
margin-bottom: 2.5rem;
|
||||||
padding-bottom: 2rem;
|
padding-bottom: 2rem;
|
||||||
border-bottom: 2px solid #ddd;
|
border-bottom: 2px solid var(--icon-border);
|
||||||
page-break-inside: avoid;
|
page-break-inside: avoid;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 1.2rem;
|
gap: 1.2rem;
|
||||||
@@ -140,7 +140,7 @@
|
|||||||
height: 80px;
|
height: 80px;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid var(--icon-border);
|
||||||
background: white;
|
background: white;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid var(--icon-border);
|
||||||
background: #f5f5f5;
|
background: #f5f5f5;
|
||||||
color: #999;
|
color: #999;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|||||||
Reference in New Issue
Block a user