v-style / static /style.css
tonyassi's picture
Upload 43 files
abc8d9a verified
body {
font-family: Arial, sans-serif;
text-align: center;
margin: 0;
padding: 20px;
}
.title-img {
width: auto;
height: 30vh;
}
.title-img2 {
width: auto;
height: 30vh;
}
.upload-container {
border: 2px dashed #ccc;
padding: 20px;
margin: 20px auto;
width: 80%;
max-width: 400px;
cursor: pointer;
text-align: center;
position: relative;
min-height: 250px; /* Increased height */
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.upload-container.dragging {
border-color: #007bff;
background-color: rgba(0, 123, 255, 0.1);
}
.upload-icon {
width: 60px;
height: 60px;
display: block;
margin: 10px auto;
}
.upload-text {
font-size: 16px;
margin: 10px 0;
}
.preview-image {
max-width: 100%;
max-height: 200px;
display: none;
border-radius: 10px;
}
.remove-image {
position: absolute;
top: 10px;
right: 10px;
background: transparent;
color: black;
border: none;
cursor: pointer;
font-size: 20px;
font-weight: bold;
width: 24px;
height: 24px;
text-align: center;
line-height: 22px;
border-radius: 50%;
}
/* Removed hover effect */
.remove-image:hover {
background: transparent;
}
input[type="email"] {
width: 80%;
max-width: 400px;
padding: 10px;
margin: 10px auto;
display: block;
}
button {
background-color: #007bff;
color: white;
padding: 10px 20px;
border: none;
cursor: pointer;
font-size: 16px;
margin-top: 10px;
}
button:hover {
background-color: #0056b3;
}
.hidden {
display: none;
opacity: 0;
transition: opacity 0.5s ease-in-out;
}
.fade {
transition: opacity 0.5s ease-in-out;
}
#confirmation-message {
font-size: 16px;
margin-top: 60px;
color: #333;
opacity: 0;
transition: opacity 0.5s ease-in-out;
}
.image-gallery {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 30px; /* Increased spacing between images */
margin-top: 20px;
}
.image-item {
text-align: left; /* Align text to the left */
max-width: 280px; /* Increase max width of images */
flex: 1 1 calc(25% - 15px); /* 4 items per row on desktop */
}
.image-item img {
width: 100%; /* Make images fill their container */
max-width: 280px; /* Increase max size */
height: auto;
border-radius: 10px;
}
/* Adjust text styling under images */
.image-item p {
font-size: 16px; /* Small text */
font-weight: 100; /* Thinner font */
color: #444; /* Slightly lighter color */
margin-top: 5px;
text-align: left; /* Ensure text is left-aligned */
line-height: 1.2;
}
.examples-title {
font-family: "Bodoni", serif;
font-size: 24px;
text-align: center;
margin-top: 40px;
font-weight: 100;
}
.examples-container {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 20px;
margin-bottom: 10%;
}
.example-image {
width: 200px;
height: auto;
border-radius: 10px;
transition: transform 0.3s ease-in-out;
}
.example-image:hover {
transform: scale(1.05);
}
/* Mobile view: Ensure 2 columns */
@media (max-width: 768px) {
.image-item {
flex: 1 1 calc(50% - 15px); /* 2 items per row on mobile */
}
.image-item p {
font-size: 12px;
}
.title-img2 {
height: 10vh;
}
}