File size: 3,251 Bytes
63670e0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 |
/* General Button Styling for All Buttons */
button {
padding: 10px 20px;
font-size: 16px;
font-weight: bold;
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
/* Start Over Button */
#start-over-button {
display: flex;
justify-content: flex-end;
}
#start-over-button button {
background-color: #76B900; /* Green background */
}
#start-over-button button:hover {
background-color: #76B900;
transform: scale(1.05);
}
#start-over-button button:active {
background-color: #388E3C;
transform: scale(1);
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
#start-over-button button:focus {
outline: none;
box-shadow: 0px 0px 5px 2px rgba(76, 175, 80, 0.5);
}
/* Submit Button */
#submit-button {
background-color: #76B900; /* Green background */
}
#submit-button:hover {
background-color: #76B900;
transform: scale(1.05);
}
#submit-button:active {
background-color: #76B900;
transform: scale(0.98);
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
#submit-button:focus {
outline: none;
box-shadow: 0px 0px 6px 3px rgba(40, 167, 69, 0.5);
}
/* Generate Button */
#generate-button {
background-color: #76b900; /* Blue background */
}
#generate-button:hover {
background-color: #76B900;
transform: scale(1.05);
}
#generate-button:active {
background-color: #004085;
transform: scale(0.98);
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
#generate-button:focus {
outline: none;
box-shadow: 0px 0px 6px 3px rgba(0, 123, 255, 0.5);
}
/* Show Gallery Button */
#show-gallery-button {
background-color: #6c757d; /* Gray background */
display: flex;
justify-content: center;
align-items: center;
}
#show-gallery-button:hover {
background-color: #5a6268;
transform: scale(1.05);
}
#show-gallery-button:active {
background-color: #545b62;
transform: scale(0.98);
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
#show-gallery-button:focus {
outline: none;
box-shadow: 0px 0px 6px 3px rgba(108, 117, 125, 0.5);
}
/* Gallery Container */
#gallery {
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive columns */
gap: 20px; /* Space between images */
padding: 20px; /* Padding around the gallery */
background-color: #1d1f22; /* Dark background */
border-radius: 12px; /* Rounded corners for gallery */
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25); /* Shadow for gallery container */
}
/* Gallery Image Styling */
#gallery img {
width: 100%;
height: auto;
border-radius: 10px; /* Rounded corners for images */
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow around images */
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Image Hover Effect */
#gallery img:hover {
transform: scale(1.05); /* Slight zoom on hover */
box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}
/* Image Active State */
#gallery img:active {
transform: scale(0.98); /* Slight shrink on click */
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3); /* Reduced shadow when active */
} |