模板:Imm/test.css
来自RIA | Wiki
更多操作
@charset "utf-8";
/* CSS Document */
.mainblock {
display: block;
border: solid black 1px;
margin-bottom: 20px;
width: 650px;
min-width: inherit;
flex-direction: column;
display: inline-flex;
} /*中央栏目*/
.mainblock-header {
display: block;
background-color: #ffd3c7;
color: #ffffff;
} /*中央栏目标题*/
.mainblock-body {
margin: 0;
padding: 1em;
display: flex;
} /*中央栏目主体*/
.mainblock-body-text {
display: flex;
align-items: center;
} /*中央栏目文本*/
.mainblock-header h2 {
text-align: center;
margin: 0;
padding: 0.3em;
display: block;
} /*中央栏目h2*/
.rightblock {
display: flex;
flex-direction: column;
border: solid black 1px;
margin-bottom: 20px;
width: 350px;
margin-left: 5px;
margin-right: 5px;
align-self: center;
} /*右边栏*/
.rightblock-header {
display: block;
background-color: #ffd3c7;
color: #ffffff;
} /*右边栏目标题*/
.rightblock-body-text {
display: flex;
align-items: center;
margin-left: 20px;
margin-right: 20px;
} /*右边栏目文本*/
.rightblock-header h2 {
text-align: center;
margin: 0;
padding: 0.3em;
display: block;
} /*右边栏目h2*/
.leftarea{
display: block;
width:670px;
}
.rightarea{
display: flex;
width: 350px;
flex-direction: column;
}
.align-middle{
text-align: center;
}
.cont {
display: flex;
}
.main {
min-width: 300px;
display: flex;
flex-flow: row wrap;
align-content: flex-start;
}
.nowrap, .wrap, .wrap_reverse {
display: flex;
flex-direction: row;
margin-bottom: 15px;
}
.wrap {
flex-wrap: wrap;
}