MediaWiki:Common.css:修订间差异
跳转到导航
跳转到搜索
(尝试从cdn引入mdi) |
(回到顶部按钮) 标签:已被回退 |
||
第46行: | 第46行: | ||
-webkit-font-feature-settings: 'liga'; | -webkit-font-feature-settings: 'liga'; | ||
-webkit-font-smoothing: antialiased; | -webkit-font-smoothing: antialiased; | ||
} | |||
/* 回到顶部 */ | |||
.backToTop { | |||
opacity: 1; | |||
filter: alpha(opacity=100); | |||
position: fixed; | |||
_position: absolute; | |||
z-index: 9999; | |||
bottom: 10px; | |||
right: 5px; | |||
display: none; | |||
height: 120px; | |||
width: 65px; | |||
background: url(//media.prts.wiki/8/87/Top.png) no-repeat; | |||
cursor: pointer; | |||
color: #272727; | |||
} | |||
/* 隐藏编辑页面中的返回顶部按钮 */ | |||
.action-edit .backToTop, | |||
.action-submit .backToTop { | |||
display: none !important; | |||
} | } |
2024年7月28日 (日) 13:29的版本
/* 这里放置的CSS将应用于所有皮肤 */
body {
color: #dfdad3;
font-size: 16px;
background-size: 100% !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: STKaiti,Kaiti SC,Kaiti,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Microsoft YaHei,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,Arial,sans-serif !important;
color: #dfdad3;
}
.font-thin {font-weight: 100;}
.font-extralight {font-weight: 200;}
.font-light {font-weight: 300;}
.font-normal {font-weight: 400;}
.font-medium {font-weight: 500;}
.font-semibold {font-weight: 600;}
.font-bold {font-weight: 700;}
.font-extrabold {font-weight: 800;}
.font-black {font-weight: 900;}
/* fallback */
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/materialicons/v142/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased;
}
/* 回到顶部 */
.backToTop {
opacity: 1;
filter: alpha(opacity=100);
position: fixed;
_position: absolute;
z-index: 9999;
bottom: 10px;
right: 5px;
display: none;
height: 120px;
width: 65px;
background: url(//media.prts.wiki/8/87/Top.png) no-repeat;
cursor: pointer;
color: #272727;
}
/* 隐藏编辑页面中的返回顶部按钮 */
.action-edit .backToTop,
.action-submit .backToTop {
display: none !important;
}