Skip to content

Commit abb5b0b

Browse files
committed
Refactor button styles and add Philadelphia sports team colors to CSS
1 parent e621247 commit abb5b0b

3 files changed

Lines changed: 34 additions & 10 deletions

File tree

Web/Pages/Index.cshtml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@
1010
<div class="row align-items-center"> <div class="col-lg-7 col-md-8">
1111
<h1 class="display-3 fw-bold mb-3 brand-title">Copilot That Jawn</h1>
1212
<p class="lead fs-4 mb-4">Where Philly innovation meets AI excellence. Master Microsoft Copilot and GitHub Copilot with our expert-curated tips.</p>
13-
<div class="d-flex flex-wrap gap-2">
14-
<a asp-page="/Tips/Index" class="btn btn-light btn-lg">Browse All Tips</a>
15-
<a asp-page="/Tips/Category" asp-route-category="github-copilot" class="btn btn-outline-light btn-lg">GitHub Copilot</a>
13+
<div class="d-flex flex-wrap gap-2"> <a asp-page="/Tips/Index" class="btn btn-light btn-lg">Browse All Tips</a>
14+
<a asp-page="/Tips/Category" asp-route-category="GitHub Copilot" class="btn btn-outline-light btn-lg">GitHub Copilot</a>
1615
</div>
1716
</div> <div class="col-lg-5 col-md-4 text-center">
1817
<img src="~/img/icon.webp" alt="Copilot That Jawn Logo" class="img-fluid" style="max-height: 200px;" />
@@ -62,7 +61,7 @@
6261
</div>
6362

6463
<!-- Categories Section -->
65-
<div class="container-fluid bg-light py-5 mb-5">
64+
<div class="container-fluid py-5 mb-5">
6665
<div class="container">
6766
<h2 class="fw-bold mb-4"><i class="bi bi-folder2-open"></i> Explore Categories</h2>
6867
<div class="row g-4">

Web/Pages/Tips/Details.cshtml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -230,15 +230,9 @@
230230
background-color: transparent !important;
231231
border: 1px solid #6c757d !important;
232232
border-radius: 0.25rem !important;
233-
opacity: 0;
234-
transition: opacity 0.2s ease-in-out !important;
235233
cursor: pointer !important;
236234
}
237235
238-
.tip-content pre:hover .copy-button {
239-
opacity: 1;
240-
}
241-
242236
.tip-content .copy-button:hover {
243237
color: #fff !important;
244238
background-color: #6c757d !important;

Web/wwwroot/css/site.css

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@
4848
--z-index-dropdown: 1050;
4949
--z-index-sticky: 1020;
5050
--z-index-code-copy: 10;
51+
52+
/* Philadelphia sports team colors */
53+
--philly-eagles-green: #004C54;
54+
--philly-phillies-red: #E81828;
5155
}
5256

5357
/* Dark theme colors */
@@ -511,4 +515,31 @@ html[data-theme-resolved="dark"] .list-group-item.active {
511515
background-color: yellow !important;
512516
border-color: yellow !important;
513517
color: #333 !important;
518+
}
519+
520+
/* Philadelphia sports team color classes */
521+
.philly-eagles-green {
522+
color: var(--philly-eagles-green);
523+
}
524+
525+
.philly-phillies-red {
526+
color: var(--philly-phillies-red);
527+
}
528+
529+
html[data-theme="dark"] .philly-eagles-green,
530+
html[data-theme-resolved="dark"] .philly-eagles-green {
531+
color: var(--philly-eagles-green);
532+
text-shadow: -1px -1px 0 rgba(255, 255, 255, 0.7),
533+
1px -1px 0 rgba(255, 255, 255, 0.7),
534+
-1px 1px 0 rgba(255, 255, 255, 0.7),
535+
1px 1px 0 rgba(255, 255, 255, 0.7);
536+
}
537+
538+
html[data-theme="dark"] .philly-phillies-red,
539+
html[data-theme-resolved="dark"] .philly-phillies-red {
540+
color: var(--philly-phillies-red);
541+
text-shadow: -1px -1px 0 rgba(255, 255, 255, 0.7),
542+
1px -1px 0 rgba(255, 255, 255, 0.7),
543+
-1px 1px 0 rgba(255, 255, 255, 0.7),
544+
1px 1px 0 rgba(255, 255, 255, 0.7);
514545
}

0 commit comments

Comments
 (0)