Nice!
COPY
* {
margin: 0;
padding: 0;
list-style: none;
box-sizing: border-box;
}
body {
font-family: "Noto Sans JP", sans-serif;
}
.menu {
background: #f2c00f;
padding: 100px 20px;
}
.menu .inner {
background: #fff;
max-width: 1000px;
margin: 0 auto;
border-radius: 10px;
padding: 80px 40px;
overflow-x: scroll;
}
@media only screen and (max-width: 500px) {
.menu .inner {
padding: 40px 10px;
}
}
.menu .inner table {
width: 100%;
white-space: nowrap;
border-collapse: collapse;
border-bottom: solid 1px #f1e2ae;
}
.menu .inner table tr th,
.menu .inner table tr td {
border-right: solid 1px #f1e2ae;
}
.menu .inner table tr:nth-child(even) {
background: #fff8e1;
}
.menu .inner table tr:nth-child(2) th {
border-top: solid 1px #f1e2ae;
}
.menu .inner table tr:first-child td {
border-color: #f2c00f;
}
.menu .inner table tr:first-child th {
background: #f2c00f;
padding: 10px;
width: 180px;
}
.menu .inner table tr:first-child th span {
display: block;
text-align: center;
}
.menu .inner table tr:first-child th span:nth-child(1) {
font-size: 15px;
padding: 0.4em;
border-radius: 5px;
background: #fff;
font-weight: 600;
color: #f2c00f;
margin-bottom: 0.3em;
}
@media only screen and (max-width: 500px) {
.menu .inner table tr:first-child th span:nth-child(1) {
font-size: 12px;
}
}
.menu .inner table tr:first-child th span:nth-child(2) {
font-size: 20px;
color: #fff;
}
@media only screen and (max-width: 500px) {
.menu .inner table tr:first-child th span:nth-child(2) {
font-size: 15px;
}
}
.menu .inner table tr th {
text-align: left;
padding: 10px;
border-left: solid 1px #f1e2ae;
font-size: 15px;
font-weight: 600;
}
@media only screen and (max-width: 500px) {
.menu .inner table tr th {
font-size: 13px;
}
}
.menu .inner table tr td {
text-align: center;
}
.menu .inner table tr td span {
display: inline-block;
vertical-align: middle;
}
.menu .inner table tr td span.on {
width: 12px;
height: 12px;
background: #f2c00f;
border-radius: 100%;
}
.menu .inner table tr td span.off {
width: 12px;
height: 2px;
background: #aaa;
}
/*# sourceMappingURL=style.css.map */