Nice!
COPY
* {
margin: 0;
padding: 0;
list-style: none;
box-sizing: border-box;
}
.menu {
background: #a8ce70;
padding: 100px 10px;
}
.menu .inner {
max-width: 1100px;
margin: 0 auto;
padding: 60px 10px;
background: #fff;
border-radius: 10px;
}
@media only screen and (max-width: 600px) {
.menu .inner {
padding: 30px 10px;
}
}
.menu .inner ul {
max-width: 900px;
margin: 0 auto;
}
.menu .inner ul li {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
padding: 15px 10px;
border-bottom: solid 1px #eee;
}
.menu .inner ul li:nth-child(1) {
border-top: solid 1px #eee;
}
.menu .inner ul li .course {
font-size: 17px;
font-weight: 500;
color: #6d992c;
}
@media only screen and (max-width: 600px) {
.menu .inner ul li .course {
font-size: 14px;
}
}
.menu .inner ul li .course small {
color: #777;
}
@media only screen and (max-width: 600px) {
.menu .inner ul li .course small {
display: block;
}
}
.menu .inner ul li .course span {
display: block;
font-size: 12px;
color: #469d5a;
margin-bottom: 0.2em;
}
.menu .inner ul li .price {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
font-size: 17px;
font-weight: 500;
}
@media only screen and (max-width: 600px) {
.menu .inner ul li .price {
font-size: 14px;
}
}
@media only screen and (max-width: 500px) {
.menu .inner ul li .price {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: end;
-ms-flex-align: end;
align-items: flex-end;
}
}
.menu .inner ul li .price span {
display: block;
color: #888;
text-decoration: line-through;
}
.menu .inner ul li .price span:last-child {
color: #6d992c;
text-decoration: none;
}
.menu .inner ul li .price span:nth-child(2) {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
@media only screen and (min-width: 500px) {
.menu .inner ul li .price span:nth-child(2)::before {
content: "";
display: block;
width: 1em;
height: 1em;
margin: 0 0.5em;
background-image: url("../img/arrow.svg");
background-size: cover;
background-position: center;
}
}
/*# sourceMappingURL=style.css.map */