Show sourcecode
The following files exists in this folder. Click to view.
public_html/gamla-kurser/webbutv1/projekt/MemoRing/pages/cart/
bilder/
cart.css
index.html
js/
order-confirm.html
cart.css
111 lines ASCII Windows (CRLF)
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
.cart-items {
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: flex-start;
width: 50em;
min-height: 10em;
border: 1px solid white;
}
.cart-items div {
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
width: 100%;
border: 1px solid white;
}
.cart-items div img {
width: 5em;
height: 5em;
}
.main-container {
display: flex;
flex: 1;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.order-container {
display: flex;
flex-direction: row;
justify-content: space-around;
width: 100%;
min-height: 100%;
align-items: center;
}
.checkout {
border: 1px solid white;
padding: 1em;
font-family: 'Reddit Mono', monospace;
}
button {
color: white;
background-color: rgb(0, 0, 255);
border-radius: 1em;
padding: 10px 20px;
border: none;
cursor: pointer;
transition: all 0.3s ease-in-out;
transform: scale(1);
}
form {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: baseline;
width: 100%;
min-height: 100%;
}
.col {
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: flex-end;
width: 100%;
margin-top: 1em;
margin-bottom: 1em;
}
.col * {
margin-top: 5px;
margin-bottom: 5px;
}
@media screen and (max-width: 1200px) {
.cart-items {
width: 100%;
}
.cart-items div {
flex-direction: column;
}
.order-container {
flex-direction: column;
}
button {
width: 100%;
}
form {
width: 100%;
}
.col {
width: 100%;
}
.page-title {
margin-top: 6em;
}
}