MediaWiki:Mobile.css:修订间差异
外观
第1行: | 第1行: | ||
/* 应用于所有皮肤的全局样式 */ | |||
/* WIKI背景图设置 */ | |||
.mw-page-container { | |||
background-image: url("https://wiki.ottohub.cn/images/5/56/Th13_select00.png"); | |||
background-size: cover; | |||
background-repeat: no-repeat; | |||
background-position: center; | |||
} | |||
.mw-header { | |||
background-image: url("https://wiki.ottohub.cn/images/e/ed/Th13_front00.png"); | |||
background-size: cover; | |||
background-repeat: no-repeat; | |||
background-position: center; | |||
} | |||
@font-face { | |||
font-family: "SimHei"; | |||
src: url("https://c.webfontfree.com/Code/EOT/b1/00/b1001bef64775f292296d337d5ad79f9.eot") format('embedded-opentype'); | |||
} | |||
/* 主体字体及文字阴影 */ | |||
body { | |||
font-family: 'SimHei', 'SimSun', sans-serif; | |||
filter: blur(0.4px); | |||
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); | |||
} | |||
.vector-sticky-pinned-container { | |||
border-radius: 5px; | |||
background-color:#fff; | |||
} | |||
.vector-main-menu-landmark { | |||
border-radius: 8px; | |||
background-color:#fff; | |||
} | |||
/* 为滚动条整体设置样式 */ | |||
::-webkit-scrollbar { | |||
width: 10px; | |||
height: 10px; | |||
} | |||
/* 为滚动条的轨道设置样式 */ | |||
::-webkit-scrollbar-track { | |||
background: rgba(#101F1C, 0.1); | |||
border-radius: 2em; | |||
} | |||
/* 为滚动条的滑块设置样式 */ | |||
::-webkit-scrollbar-thumb { | |||
background-color: rgba(144,147,153,.5); | |||
border-radius: 2em; | |||
transition: background-color .3s; | |||
cursor: pointer; | |||
} | |||
/* 当鼠标悬停在滑块上时改变滑块的颜色 */ | |||
::-webkit-scrollbar-thumb:hover { | |||
background-color: rgba(144,147,153,.3); | |||
} |