Skip to content

Commit 89343fc

Browse files
committed
Refactor primary color variables and enhance header icon and button styles
1 parent abb5b0b commit 89343fc

1 file changed

Lines changed: 37 additions & 2 deletions

File tree

Web/wwwroot/css/site.css

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
--footer-text: #6c757d;
3535

3636
/* Bootstrap color overrides for light theme */
37-
--bs-primary: #0d6efd;
38-
--bs-primary-dark: #0a58ca;
37+
--bs-primary: var(--primary-color);
38+
--bs-primary-dark: var(--primary-dark);
3939
--bs-secondary: #6c757d;
4040
--bs-success: #198754;
4141
--bs-info: #0dcaf0;
@@ -542,4 +542,39 @@ html[data-theme-resolved="dark"] .philly-phillies-red {
542542
1px -1px 0 rgba(255, 255, 255, 0.7),
543543
-1px 1px 0 rgba(255, 255, 255, 0.7),
544544
1px 1px 0 rgba(255, 255, 255, 0.7);
545+
}
546+
547+
/* Header icon styling */
548+
.header-icon {
549+
width: 300px;
550+
height: 300px;
551+
padding: 2rem;
552+
border-radius: 1.5rem;
553+
background-color: var(--primary-color);
554+
transition: transform 0.3s ease;
555+
display: inline-block;
556+
}
557+
558+
.header-icon:hover {
559+
transform: scale(1.05);
560+
}
561+
562+
/* Button styling */
563+
.btn-primary {
564+
color: #fff;
565+
background-color: var(--primary-color);
566+
border-color: var(--primary-dark);
567+
}
568+
569+
.btn-primary:hover {
570+
color: #fff;
571+
background-color: var(--primary-hover);
572+
border-color: var(--primary-dark);
573+
}
574+
575+
.btn-primary:focus,
576+
.btn-primary:active {
577+
background-color: var(--primary-dark);
578+
border-color: var(--primary-dark);
579+
box-shadow: 0 0 0 0.25rem rgba(98, 0, 238, 0.25);
545580
}

0 commit comments

Comments
 (0)