Honest Fingers
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f8f8f8;
display: flex;
flex-direction: column;
min-height: 100vh;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
background-color: #333;
color: white;
}
header img {
height: 40px;
}
.logo-text {
display: flex;
align-items: center;
}
.logo-text img {
margin-left: 10px;
}
.search-bar {
display: flex;
justify-content: center;
padding: 20px;
}
.search-bar input {
padding: 10px;
font-size: 16px;
margin-right: 10px;
width: 300px;
}
.search-bar button {
padding: 10px;
background-color: red;
border: none;
cursor: pointer;
}
.search-bar button img {
height: 20px;
width: 20px;
}
.ticker {
background-color: #eee;
padding: 10px;
overflow: hidden;
white-space: nowrap;
}
.ticker div {
display: inline-block;
padding: 0 10px;
animation: ticker 15s linear infinite;
}
.ticker .gain {
color: green;
}
.ticker .loss {
color: red;
}
@keyframes ticker {
0% { transform: translateX(100%); }
100% { transform: translateX(-100%); }
}
.tiles {
display: flex;
justify-content: space-around;
padding: 20px;
flex-grow: 1;
}
.tile {
position: relative;
width: 30%;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.tile img {
width: 100%;
height: 300px; /* Set a fixed height for consistency */
object-fit: cover; /* Ensure images are properly cropped */
}
.tile h2 {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
margin: 0;
color: yellow; /* Yellow text color */
text-align: center;
font-size: 1.5em;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add a slight shadow for readability */
}
footer {
display: flex;
justify-content: space-around;
padding: 20px;
background-color: #333;
color: white;
margin-top: auto;
}
footer div {
max-width: 200px;
}
Restaurant 1 (Gained)
Restaurant 2 (Lost)
HF’s Top Restaurant Pick
HF’s Best Chinese Eatery
HF’s Best Indian Eatery