Skip to content

Commit 00bf975

Browse files
Fixed the footer logo for both compare.html and githubbadges.html (#1333)
* fixed logo image of compare and githubbadge * fixed githubbadge.html footer logo * fixed the footer logo for compare.html and githubbadge.html * removed preloader * footer fixes will make change to blog in next PR
1 parent 47b81e9 commit 00bf975

File tree

3 files changed

+22
-11
lines changed

3 files changed

+22
-11
lines changed

pages/blog.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
</head>
1717

1818
<body>
19+
1920
<div id="preloader">
2021
<div class="loader-wrapper">
2122
<img src="recode-hive.png" alt="Logo" class="logo">

pages/compare.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,11 @@
285285
}
286286

287287
.footer-logo {
288-
width: 500px;
289-
height: 100px;
290-
cursor: pointer;
288+
width: auto;
289+
height: 73px;
290+
cursor: pointer;
291+
padding-left: 20px;
292+
padding-top: 40px;
291293
}
292294

293295
.footer-section {

pages/githubbadge.html

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
}
1919

2020
.container {
21-
max-width: 1200px;
22-
margin: auto;
23-
padding: 20px;
21+
max-width: 1200px;
22+
margin: auto;
23+
padding: 20px;
2424
/* background: #fff; */
25-
border-radius: 8px;
26-
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
27-
overflow-x: auto; /* Enable horizontal scrolling */
28-
-webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
29-
}
25+
border-radius: 8px;
26+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
27+
overflow-x: auto; /* Enable horizontal scrolling */
28+
-webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
29+
}
3030

3131
h1,
3232
h2 {
@@ -251,6 +251,14 @@
251251
background: white;
252252
transition: width 0.2s ease;
253253
}
254+
.footer-logo {
255+
width: auto;
256+
height: 73px;
257+
cursor: pointer;
258+
padding-left: 20px;
259+
padding-top: 40px;
260+
object-fit: scale-down; /* Ensure the aspect ratio is maintained */
261+
}
254262
</style>
255263
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
256264
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap" rel="stylesheet" />

0 commit comments

Comments
 (0)