169 lines
3.7 KiB
CSS
169 lines
3.7 KiB
CSS
@media screen and (min-width: 0px) {
|
|
body {
|
|
background-image: url(images/background.png);
|
|
text-align: center;
|
|
}
|
|
|
|
#topContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-evenly;
|
|
padding: 0px 10px 0px 10px;
|
|
margin: 20px 0px;
|
|
}
|
|
#topContainer > span {
|
|
border-bottom: solid 3px;
|
|
margin-bottom: 10px;
|
|
}
|
|
#topContainer button {
|
|
color: white;
|
|
background-color: rgb(0, 102, 255);
|
|
}
|
|
|
|
#productContainer > span {
|
|
width: 90%;
|
|
border-bottom: solid 3px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
#topTable {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
justify-content: space-evenly;
|
|
align-items: stretch;
|
|
padding: 0px;
|
|
}
|
|
|
|
#topTable button {
|
|
width: 23%;
|
|
margin: 4px 0px;
|
|
}
|
|
|
|
#topTake button {
|
|
width: 100%;
|
|
}
|
|
|
|
#topContainer{
|
|
padding: 10px;
|
|
}
|
|
|
|
#topContainer, #productContainer{
|
|
border: solid black;
|
|
margin: 20px 0px;
|
|
}
|
|
|
|
#extraSpan {
|
|
font-size: 25px;
|
|
color: red;
|
|
}
|
|
|
|
#buttonContainer{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
border: solid black;
|
|
padding: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
#containerDiv, #flavourDiv, #toppingDiv{
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
justify-content: space-evenly;
|
|
margin: 20px 0px;
|
|
}
|
|
|
|
#containerDiv div, #flavourDiv div, #toppingDiv div{
|
|
margin: 10px 0px;
|
|
}
|
|
|
|
#container, #flavour, #topping{
|
|
margin: 20px 0px;
|
|
}
|
|
|
|
.container, .flavour, .topping{
|
|
width: 40%;
|
|
}
|
|
|
|
.container img {
|
|
border: solid black 3px;
|
|
border-radius: 50%;
|
|
}
|
|
.container img, .flavour img, .topping img {
|
|
width: 80%;
|
|
}
|
|
.container button, .flavour button, .topping button {
|
|
background-color: transparent;
|
|
border-radius: 5%;
|
|
}
|
|
|
|
#buttonContainer button {
|
|
width: 100%;
|
|
margin: 5px 0px;
|
|
color: white;
|
|
background-color: rgb(0, 102, 255);
|
|
border-radius: 20px;
|
|
}
|
|
|
|
#buttonContainer a {
|
|
width: 100%;
|
|
color: white;
|
|
text-decoration: none;
|
|
margin: 5px 0px;
|
|
}
|
|
|
|
#displayContainer {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
border: solid black 3px;
|
|
margin: 20px 0px;
|
|
min-height: 100px;
|
|
flex-wrap: wrap;
|
|
}
|
|
#displayContainer img {
|
|
width: 100px;
|
|
margin: 0px 5px;
|
|
}
|
|
}
|
|
@media screen and (min-width: 601px) {
|
|
#topTable button, #topTake button {
|
|
font-size: 30px;
|
|
}
|
|
|
|
#buttonContainer button {
|
|
font-size: 30px;
|
|
padding: 5px 0px;
|
|
}
|
|
|
|
#containerDiv div, #flavourDiv div, #toppingDiv div{
|
|
font-size: 30px;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
.container, .flavour, .topping{
|
|
width: 30%;
|
|
}
|
|
#containerDiv button, #flavourDiv button, #toppingDiv button{
|
|
font-size: 25px;
|
|
}
|
|
}
|
|
@media screen and (min-width: 1025px) {
|
|
.container, .flavour, .topping{
|
|
width: 12%;
|
|
}
|
|
#topTable button {
|
|
width: 10%;
|
|
margin: 4px 0px;
|
|
}
|
|
#topTable button:hover, #topTake button:hover, #buttonContainer button:hover{
|
|
background-color: black;
|
|
color: rgb(0, 102, 255);
|
|
}
|
|
.container button:hover, .flavour button:hover, .topping button:hover {
|
|
background-color: white;
|
|
}
|
|
|
|
} |