You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
YOLO/index.css

144 lines
2.5 KiB

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.centered-image
{
display: flex;
justify-content: center;
}
.search-container {
max-width: 800px;
margin: 2rem auto;
padding: 0 1rem;
}
.search-bar {
width: 100%;
padding: 1rem;
border: 2px solid #ddd;
border-radius: 25px;
font-size: 1rem;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.section-title {
font-size: 1.5rem;
color: #00416A;
margin: 2rem 1rem;
text-align: center;
}
.section-title1 {
font-size: 1.5rem;
color: #00416A;
margin: 2rem 1rem;
text-align: center;
}
.ad-box {
text-align: center;
margin: 20px auto;
padding: 10px;
}
.centered-image img {
max-width: 25%;
height: auto;
}
.featured-jobs {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
padding: 40px 20px;
margin: 0 auto;
max-width: 800px;
}
.job-card {
background-color: white;
border-radius: 8px;
padding: 40px 20px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.job-title {
font-size: 1.2rem;
color: #00416A;
margin-bottom: 0.5rem;
}
.job-card1 {
background-color: white;
border-radius: 8px;
padding: 40px 20px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.job-card2 {
background-color: white;
border-radius: 8px;
padding: 40px 20px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.job-card3 {
background-color: white;
border-radius: 8px;
padding: 40px 20px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.job-location {
color: #666;
margin-bottom: 1rem;
}
.job-description {
color: black;
font-size: 0.9rem;
line-height: 1.5;
}
.categories {
display: flex;
gap: 2rem;
padding: 2rem;
flex-wrap: wrap;
padding: 40px 20px;
margin: 0 auto;
max-width: 800px;
align-items: right;
justify-content: center;
}
.category {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
text-decoration: none;
color: #00416A;
transition: transform 0.2s;
}
.category:hover {
transform:translateY(-5px);
}
.category-icon {
width: 120px;
height: 80px;
border-radius: 8px;
overflow:hidden;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);;
}
.category-icon img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s;
}
.category-icon img:hover {
transform: scale(1.1);
}