Nice!
COPY
* {
margin: 0;
padding: 0;
list-style: none;
box-sizing: border-box;
}
.member {
font-family: "M PLUS Rounded 1c", sans-serif;
background: #1fb3e3;
padding: 100px 15px;
}
.member .inner {
max-width: 1000px;
margin: 0 auto;
padding: 40px;
background: #fff;
border-radius: 10px;
border: solid 2px #000;
}
.member .inner ul {
max-width: 800px;
margin: 0 auto;
display: -ms-grid;
display: grid;
-ms-grid-columns: (1fr)[3];
grid-template-columns: repeat(3, 1fr);
gap: 30px 20px;
}
@media only screen and (max-width: 800px) {
.member .inner ul {
-ms-grid-columns: (1fr)[2];
grid-template-columns: repeat(2, 1fr);
}
}
@media only screen and (max-width: 600px) {
.member .inner ul {
max-width: 300px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
}
.member .inner ul li {
display: -ms-grid;
display: grid;
-ms-grid-columns: auto 1fr;
grid-template-columns: auto 1fr;
gap: 3px 10px;
line-height: 1.4;
font-weight: 500;
}
.member .inner ul li .ruby {
font-size: 15px;
color: #7ac3da;
-ms-grid-row: 1;
-ms-grid-row-span: 1;
-ms-grid-column: 1;
-ms-grid-column-span: 2;
grid-area: 1 / 1 / 2 / 3;
}
@media only screen and (max-width: 500px) {
.member .inner ul li .ruby {
-ms-grid-row: 2;
-ms-grid-row-span: 1;
-ms-grid-column: 2;
-ms-grid-column-span: 1;
grid-area: 2 / 2 / 3 / 3;
-ms-flex-item-align: center;
-ms-grid-row-align: center;
align-self: center;
}
}
.member .inner ul li .name {
font-size: 18px;
color: #0a91bd;
-ms-grid-row: 2;
-ms-grid-row-span: 1;
-ms-grid-column: 1;
-ms-grid-column-span: 1;
grid-area: 2 / 1 / 3 / 2;
}
@media only screen and (max-width: 500px) {
.member .inner ul li .name {
-ms-grid-row: 2;
-ms-grid-row-span: 1;
-ms-grid-column: 1;
-ms-grid-column-span: 1;
grid-area: 2 / 1 / 3 / 2;
}
}
.member .inner ul li .tag {
font-size: 15px;
color: #999;
-ms-flex-item-align: center;
-ms-grid-row-align: center;
align-self: center;
-ms-grid-row: 2;
-ms-grid-row-span: 1;
-ms-grid-column: 2;
-ms-grid-column-span: 1;
grid-area: 2 / 2 / 3 / 3;
}
@media only screen and (max-width: 500px) {
.member .inner ul li .tag {
font-size: 12px;
-ms-grid-row: 1;
-ms-grid-row-span: 1;
-ms-grid-column: 1;
-ms-grid-column-span: 2;
grid-area: 1 / 1 / 2 / 3;
}
}
/*# sourceMappingURL=style.css.map */