User:Star0/sandbox 2/styles.css:修订间差异
< User:Star0 | sandbox 2
(测试) |
无编辑摘要 |
||
(未显示3个用户的22个中间版本) | |||
第1行: | 第1行: | ||
/* ====== 以下内容为新版主页内容 ======= */ | |||
.newspic img{ | |||
width:100%; | |||
height:auto; | |||
object-fit:cover; | |||
} | |||
.random-box{ | |||
padding: 1em; | |||
width: auto; | |||
text-align:center; | |||
margin: 0 auto | |||
} | |||
.random-pic{ | |||
margin:0 5px 0 5px; | |||
} | |||
/* The following content is adapted 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: .1em; | |||
} | |||
#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 ) { | @media all and ( min-width: 720px ) { | ||
td.toppic { | td.toppic { | ||
第6行: | 第200行: | ||
} | } | ||
@media all and ( max-width: 720px ) { | |||
td.sidepic { | td.sidepic { | ||
display: none; | display: none; | ||
} | } | ||
.autowidth { | td.autowidth { | ||
width:100%; | width:100%; | ||
} | } | ||
} | |||
@media all and ( min-width: 720px) { | |||
td.phoneonly { | |||
display: none; | |||
} | |||
} | |||
@media all and ( max-width: 720px ) { | |||
td.desktoponly { | |||
display: none; | |||
} | |||
} | |||
/* ====== 以上内容为新版主页内容 ======= */ |
2021年1月2日 (六) 00:11的最新版本
/* ====== 以下内容为新版主页内容 ======= */
.newspic img{
width:100%;
height:auto;
object-fit:cover;
}
.random-box{
padding: 1em;
width: auto;
text-align:center;
margin: 0 auto
}
.random-pic{
margin:0 5px 0 5px;
}
/* The following content is adapted 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: .1em;
}
#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;
}
}
/* ====== 以上内容为新版主页内容 ======= */