Skip to content

Commit

Permalink
Update style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Shiangan authored Jul 16, 2024
1 parent 823fbf9 commit 04b006e
Showing 1 changed file with 49 additions and 50 deletions.
99 changes: 49 additions & 50 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,94 +1,93 @@
body {
font-family: Arial, sans-serif;
background-color: #f5f5f5;
background-color: #f4f4f4;
color: #333;
margin: 0;
padding: 0;
}

header {
background-color: #8e8e8e;
color: #fff;
padding: 20px;
background-color: #6d83f3;
color: white;
text-align: center;
padding: 1rem 0;
}

main {
max-width: 800px;
margin: 20px auto;
padding: 20px;
background-color: white;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

section {
margin-bottom: 20px;
}

h1, h2 {
color: #4a4a4a;
h2 {
margin-top: 0;
}

form {
background-color: #fff;
border-radius: 10px;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
}

label {
display: block;
form label {
margin-top: 10px;
}

input, textarea, select, button {
width: 100%;
form input,
form textarea,
form select,
form button {
padding: 10px;
margin-top: 5px;
border-radius: 5px;
border: 1px solid #ccc;
font-size: 1rem;
}

button {
background-color: #4a90e2;
color: #fff;
form button {
background-color: #6d83f3;
color: white;
border: none;
cursor: pointer;
margin-top: 15px;
}

button:hover {
background-color: #357ab8;
}

#obituary img {
max-width: 100%;
border-radius: 10px;
margin-bottom: 20px;
form button:hover {
background-color: #5b71d1;
}

#messages-section, #flower-basket-section {
margin-top: 30px;
#shopping-cart ul {
list-style: none;
padding: 0;
}

#flower-basket-options button {
width: auto;
margin-right: 10px;
#shopping-cart li {
margin-bottom: 5px;
}

#shopping-cart {
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
margin-top: 10px;
#shopping-cart p {
font-weight: bold;
}

#shopping-cart ul {
list-style-type: none;
padding: 0;
img {
max-width: 100%;
margin-bottom: 10px;
}

.fade-in {
animation: fadeIn 1s forwards;
#additional-photos img {
width: 100px;
margin-right: 10px;
}

@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
footer {
text-align: center;
padding: 10px 0;
background-color: #6d83f3;
color: white;
position: absolute;
width: 100%;
bottom: 0;
}

0 comments on commit 04b006e

Please sign in to comment.