更多操作
< 模板:PD
小无编辑摘要 |
小无编辑摘要 |
||
第1行: | 第1行: | ||
.pd { | .pd { | ||
background-position: left | background-position: left 12px top 50%; | ||
padding: 0.5em 0.5em 0.5em | padding: 0.5em 0.5em 0.5em 75px; | ||
margin: | margin: 4px 10%; | ||
overflow: hidden; | overflow: hidden; | ||
background-color: #f8f9fa; | background-color: #f8f9fa; | ||
color: #333; | color: #333; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
border: | border: 3px solid #808080; | ||
/* [[File:Fontawesome-creative-commons-pd-brands.svg]] */ | /* [[File:Fontawesome-creative-commons-pd-brands.svg]] */ | ||
background-image: url("https://www.cathop.top/images/5/50/Fontawesome-creative-commons-pd-brands.svg"); | background-image: url("https://www.cathop.top/images/5/50/Fontawesome-creative-commons-pd-brands.svg"); |
2025年5月25日 (日) 12:40的版本
.pd {
background-position: left 12px top 50%;
padding: 0.5em 0.5em 0.5em 75px;
margin: 4px 10%;
overflow: hidden;
background-color: #f8f9fa;
color: #333;
background-repeat: no-repeat;
border: 3px solid #808080;
/* [[File:Fontawesome-creative-commons-pd-brands.svg]] */
background-image: url("https://www.cathop.top/images/5/50/Fontawesome-creative-commons-pd-brands.svg");
background-size: 52px;
min-height: 52px;
line-height: 1.6;
}
.pd hr {
height: 1px;
margin: .2em 0;
}
.pd span {
font-size: smaller;
line-height: 1.2;
}
@media screen {
html.skin-theme-clientpref-night .pd {
background-color: transparent;
color: inherit;
}
}
@media screen and (prefers-color-scheme: dark) {
/* automatic mode */
html.skin-theme-clientpref-os .pd {
background-color: transparent;
color: inherit;
}
}