Skip to content

Commit 7b98d62

Browse files
authored
Merge pull request #1441 from neeru24/patch-7
Enhance Button Styles in GitHub Buttons Component
2 parents 9ac6fba + c3fe92b commit 7b98d62

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Website/css/styles.css

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,7 @@ h1 {
14861486
margin-bottom: 40px;
14871487
}
14881488

1489-
/* Layout */
1489+
/* Container layout */
14901490
.github-container {
14911491
display: flex;
14921492
justify-content: space-between;
@@ -1503,19 +1503,25 @@ h1 {
15031503
width: 80%;
15041504
padding: 25px;
15051505
margin-bottom: 30px;
1506-
background-color: #48d4f0;
1506+
background-color: #48d4f0;
15071507
color: white;
15081508
border: none;
15091509
cursor: pointer;
15101510
font-size: 1rem;
15111511
border-radius: 5px;
1512-
transition: background-color 0.3s ease;
1512+
font-weight: bold;
1513+
transition: background-color 0.3s ease, box-shadow 0.3s ease;
15131514
}
15141515

1516+
/* Button hover effect */
15151517
.github-buttons button:hover {
1516-
background-color: #03404a;
1518+
background-color: #ffeb3b;
1519+
color: #03404a;
1520+
box-shadow: 0 0 15px #ffeb3b;
1521+
font-weight: bold;
15171522
}
15181523

1524+
15191525
/* Image Display */
15201526
.github-image {
15211527
width: 65%;

0 commit comments

Comments
 (0)