“MediaWiki:Common.css”的版本间的差异
跳到导航
跳到搜索
(创建页面,内容为“→这里放置的CSS将应用于所有皮肤: body{ font-family:"Helvetica","sans-serif","Microsoft Yahei","宋体","Arial"; }”) |
|||
第1行: | 第1行: | ||
/* 这里放置的CSS将应用于所有皮肤 */ | /* 这里放置的CSS将应用于所有皮肤 */ | ||
body{ font-family:"Helvetica","sans-serif","Microsoft Yahei","宋体","Arial"; } | body{ font-family:"Helvetica","sans-serif","Microsoft Yahei","宋体","Arial"; } | ||
+ | /* 去除登录按钮 */ | ||
+ | #p-personal li {display:none;} | ||
+ | /*悬浮目录列表*/ | ||
+ | #toc{ | ||
+ | display: block; | ||
+ | position: fixed; | ||
+ | top: 100px; | ||
+ | right: 0px; | ||
+ | min-width: 100px; | ||
+ | max-width: 350px; | ||
+ | max-height: 20px; | ||
+ | overflow-y: scroll; | ||
+ | border: 1px solid #aaa; | ||
+ | border-radius: 0 0 1px 1px; | ||
+ | -moz-border-radius: 0 0 1px 1px; | ||
+ | background: rgba(249,249,249,0.75); | ||
+ | padding: 12px; | ||
+ | box-shadow: 0 1px 8px #000; | ||
+ | -webkit-box-shadow: 0 1px 8px #000; | ||
+ | -moz-box-shadow: 0 1px 8px #000; | ||
+ | } | ||
+ | |||
+ | #toc:hover{ | ||
+ | display: block; | ||
+ | position: fixed; | ||
+ | top: 100px; | ||
+ | right: 0px; | ||
+ | min-width: 100px; | ||
+ | max-width: 350px; | ||
+ | max-height: 500px; | ||
+ | overflow-y: scroll; | ||
+ | border: 1px solid #aaa; | ||
+ | border-radius: 0 0 1px 1px; | ||
+ | -moz-border-radius: 0 0 1px 1px; | ||
+ | background: rgba(249,249,249,0.75); | ||
+ | padding: 12px; | ||
+ | box-shadow: 0 1px 8px #000; | ||
+ | -webkit-box-shadow: 0 1px 8px #000; | ||
+ | -moz-box-shadow: 0 1px 8px #000; | ||
+ | |||
+ | } | ||
+ | |||
+ | body { overflow-x: hidden;} |
2019年5月27日 (一) 03:02的版本
/* 这里放置的CSS将应用于所有皮肤 */ body{ font-family:"Helvetica","sans-serif","Microsoft Yahei","宋体","Arial"; } /* 去除登录按钮 */ #p-personal li {display:none;} /*悬浮目录列表*/ #toc{ display: block; position: fixed; top: 100px; right: 0px; min-width: 100px; max-width: 350px; max-height: 20px; overflow-y: scroll; border: 1px solid #aaa; border-radius: 0 0 1px 1px; -moz-border-radius: 0 0 1px 1px; background: rgba(249,249,249,0.75); padding: 12px; box-shadow: 0 1px 8px #000; -webkit-box-shadow: 0 1px 8px #000; -moz-box-shadow: 0 1px 8px #000; } #toc:hover{ display: block; position: fixed; top: 100px; right: 0px; min-width: 100px; max-width: 350px; max-height: 500px; overflow-y: scroll; border: 1px solid #aaa; border-radius: 0 0 1px 1px; -moz-border-radius: 0 0 1px 1px; background: rgba(249,249,249,0.75); padding: 12px; box-shadow: 0 1px 8px #000; -webkit-box-shadow: 0 1px 8px #000; -moz-box-shadow: 0 1px 8px #000; } body { overflow-x: hidden;}