User:Star0/sandbox 2/styles.css:修订间差异
< User:Star0 | sandbox 2
无编辑摘要 |
无编辑摘要 |
||
第76行: | 第76行: | ||
.mp-left-block { | .mp-left-block { | ||
padding: 0em 1.6em 0em; | |||
line-height: 1.5em; | line-height: 1.5em; | ||
margin-top: .4em; | margin-top: .4em; |
2020年12月19日 (六) 23:15的版本
/* Rewrite from Wikipedia */
/* 总 */
#mp h1{
font-weight: bold;
border: none;
}
/* 相关链接 */
#mp-links table {
padding: .8em 1.6em;
font-size: .95em;
width: 96%;
border: 1px solid #EEE;
box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
background: #f8f9fa;
margin: 0 auto;
}
#mp-links td {
width: 50%;
vertical-align: top;
}
#mp-links h3 {
font-size: .98em;
font-weight: bold;
color: #6B6B6B;
padding-bottom: .2em;
border-bottom: 1px solid #EEE;
margin-bottom: .8em;
}
@media all and ( min-width: 720px ) {
/* 总 */
#mp,
#mp-body {
clear: both;
}
#mp h2 {
font-weight: bold;
border: none;
}
#mp h2 {
font-size: 1.16em;
margin-bottom: .8em;
letter-spacing: .16em;
}
#mp-body {
clear: both;
min-width: 695px;
}
/* 左 */
#mp-left {
float: left;
width: 64.9%;
}
#mp-left > div {
margin-right: 1.5em;
}
#mp-left h2,
#mp-left h2 a {
color: #259;
}
.mp-left-block {
padding: 0em 1.6em 0em;
line-height: 1.5em;
margin-top: .4em;
}
/* 左方框 */
.mp-left-box {
margin: 0 0 1.6em;
padding: .8em 1.6em 1.6em;
}
#mp-left-box-a {
border: 1px solid #E8E8E8;
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);
background: #FFF;
Height:180px;
}
#mp-left-box-b {
border: 1px solid #CADEED;
box-shadow: 0px 1px 3px #DDE6ED;
background: #FFF;
background: linear-gradient(#fff 65%,#EFF6FA 100%);
clear: both;
}
#mp-left-box-c {
border: 1px solid transparent;
margin-bottom: .4em;
clear: both;
}
/* 右 */
#mp-right {
float: right;
width: 35%;
}
#mp-right h2,
#mp-right h2 a {
color: #5c5c5c;
}
#mp-right .mp-2012-text {
font-size: .98em;
}
#mp-right > div {
margin-top: 1.6em;
}
#mp-right-block-a {
border: 1px solid #E8E8E8;
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);
background: #FFF;
}
.mp-right-block {
margin: 0 0 1.6em;
padding: .8em 1.6em 1.6em;
}
#mp-right-block-a {
border: 1px solid #E8E8E8;
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);
background: #FFF;
}
#mp-right-block-b {
border: 1px solid #CADEED;
box-shadow: 0px 1px 3px #DDE6ED;
background: #FFF;
background: linear-gradient(#fff 65%,#EFF6FA 100%);
clear: both;
}
#mp-right-block-c {
border: 1px solid transparent;
margin-bottom: .4em;
clear: both;
}
/* 相关链接 */
#mp-links {
margin-bottom: .8em;
overflow: hidden;
clear: left;
}
}
@media all and ( min-width: 720px ) {
td.toppic {
display: none;
}
}
@media all and ( max-width: 720px ) {
td.sidepic {
display: none;
}
td.autowidth {
width:100%;
}
}
@media all and ( min-width: 720px) {
td.phoneonly {
display: none;
}
}
@media all and ( max-width: 720px ) {
td.desktoponly {
display: none;
}
}