nanoCLIP / style.css
amaralibey's picture
Upload 2 files
2ee9c45 verified
raw
history blame
1.47 kB
.container {
/* max-width: 1200px; */
margin: 0 auto;
padding: 0.5rem;
background-color: #1a1a1a;
}
.header {
text-align: center;
margin-bottom: 3rem;
}
.header h1 {
font-size: 2rem;
color: #ffffff;
margin-bottom: 1rem;
font-weight: 700;
}
.header p {
color: #9ca3af;
font-size: 1.1rem;
}
.search-input {
background-color: #374151 !important;
border: 2px solid #3d3d3d !important;
border-radius: 40px !important;
font-size: 1.1rem !important;
color: #ffffff !important;
transition: all 0.3s ease;
width: 60%; /* Default width for larger screens (PC) */
margin: 0 auto; /* Center the input */
}
/* Media query for smartphones */
@media only screen and (max-width: 768px) {
.search-input {
width: 90% !important; /* 100% width on smartphones */
}
}
.gallery {
margin-top: 2rem;
background-color: #2d2d2d;
border-radius: 12px;
/* padding: 1rem; */
}
.footer {
margin-top: 3rem;
padding: 0.5rem;
background-color: #2d2d2d;
border-radius: 12px;
text-align: center;
}
.footer a {
color: #6366f1;
text-decoration: none;
transition: color 0.3s ease;
}
/* .footer a:hover {
color: #818cf8;
} */
/*
@media (max-width: 767px) {
.gallery {
grid-template-columns: repeat(3, 1fr) !important;
}
}
@media (min-width: 768px) {
.gallery {
grid-template-columns: repeat(5, 1fr) !important;
}
} */