模板:Imm/test.css:修订间差异
来自RIA | Wiki
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第52行: | 第52行: | ||
.container { | |||
display: flex; | display: flex; | ||
width: 300px; | width: 300px; | ||
} | } | ||
.item { | |||
width: 150px; | width: 150px; | ||
line-height: 100px; | line-height: 100px; | ||
} | } | ||
.container :nth-child(1) { | |||
background-color: #E3ABB3; | background-color: #E3ABB3; | ||
height: 100px; | height: 100px; | ||
} | } | ||
.container :nth-child(2) { | |||
background-color: #9DC54B; | background-color: #9DC54B; | ||
} | } | ||
.container :nth-child(3) { | |||
background-color: #1FBEE7; | background-color: #1FBEE7; | ||
height: 300px; | height: 300px; | ||
} | } | ||
2023年4月21日 (五) 19:50的版本
.immtest {
display: block;
border: solid black 1px;
margin-bottom: 20px;
}
.immtest-header {
display: block;
background-color: #ffd3c7;
color: #ffffff;
}
.immtest-body {
margin: 0;
padding: 1em;
display: block;
}
.immtest-body-text {
display: flex;
align-items: center;
}
.immtest-header h2 {
text-align: center;
margin: 0;
padding: 0.3em;
display: block;
}
.main-page-tag-rcs {
display: flex;
flex-direction: column;
}
@media only screen and (max-width: 1023px) {
.main-page-tag-rcs {
clear:both;
column-count: 2;
float: none;
padding: 13px 10px 0;
padding-right: 10px;
padding-bottom: 0px;
padding-left: 10px;
width: auto
}
}
.main-container {
min-width: 300px;
}
.container {
display: flex;
width: 300px;
}
.item {
width: 150px;
line-height: 100px;
}
.container :nth-child(1) {
background-color: #E3ABB3;
height: 100px;
}
.container :nth-child(2) {
background-color: #9DC54B;
}
.container :nth-child(3) {
background-color: #1FBEE7;
height: 300px;
}