Template:Main Page/Frame/styles.css:修订间差异
删除的内容 添加的内容
创建页面,内容为“.mp-frame { box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0 2em 0; padding: 1px; } .mp-frame:after { display: block; content: ""; clear: both; } .mp-frame-header { background-color: #888; border-radius: .2em; color: #fff; padding: .4em .8em .5em; font-weight: bold; } .mp-frame-header:before { display: inline-block; →Add some content in order to get normal line height, then make it transparent: content: "x"; color: transparent;…” |
小无编辑摘要 |
||
(未显示同一用户的1个中间版本) | |||
第22行: | 第22行: | ||
content: "x"; |
content: "x"; |
||
color: transparent; |
color: transparent; |
||
width: 40px; |
/* width: 40px;*/ |
||
opacity: .7; |
opacity: .7; |
||
/* [[File:Wikidata-logo white.svg]] */ |
/* [[File:Wikidata-logo white.svg]] */ |
||
/* background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/5/54/Wikidata-logo_white.svg/27px-Wikidata-logo_white.svg.png); */ |
/* background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/5/54/Wikidata-logo_white.svg/27px-Wikidata-logo_white.svg.png); */ |
||
/* background-image: url(https://upload.wikimedia.org/wikipedia/commons/5/54/Wikidata-logo_white.svg); */ |
/* background-image: url(https://upload.wikimedia.org/wikipedia/commons/5/54/Wikidata-logo_white.svg); */ |
||
background-size: 27px; |
/* background-size: 27px; */ |
||
background-repeat: no-repeat; |
background-repeat: no-repeat; |
||
background-position: left center; |
background-position: left center; |
2022年5月28日 (六) 11:31的最新版本
.mp-frame {
box-shadow: 0 0 .3em #999;
border-radius: .2em;
margin: 1em 0 2em 0;
padding: 1px;
}
.mp-frame:after {
display: block;
content: "";
clear: both;
}
.mp-frame-header {
background-color: #888;
border-radius: .2em;
color: #fff;
padding: .4em .8em .5em;
font-weight: bold;
}
.mp-frame-header:before {
display: inline-block;
/* Add some content in order to get normal line height, then make it transparent */
content: "x";
color: transparent;
/* width: 40px;*/
opacity: .7;
/* [[File:Wikidata-logo white.svg]] */
/* background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/5/54/Wikidata-logo_white.svg/27px-Wikidata-logo_white.svg.png); */
/* background-image: url(https://upload.wikimedia.org/wikipedia/commons/5/54/Wikidata-logo_white.svg); */
/* background-size: 27px; */
background-repeat: no-repeat;
background-position: left center;
}
.mw-content-rtl .mp-frame-header:before {
background-position: right center;
}
.mp-frame-body {
padding: 1em;
}