nanoCLIP / style.css
amaralibey's picture
Update style.css
a6dbb25 verified
raw
history blame
1.44 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;
border: 2px solid #3d3d3d;
border-radius: 40px;
font-size: 1.1rem;
color: #ffffff;
width: 60%;
margin: 0 auto;
transition: all 0.3s ease;
}
.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 {
height: 400px;
}
}
.gallery {
margin-top: 2rem;
background-color: #2d2d2d;
border-radius: 12px;
}
.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;
}