“MediaWiki:Common.css”的版本间的差异
来自Alex's wiki
(未显示同一用户的35个中间版本) | |||
第3行: | 第3行: | ||
display: block; | display: block; | ||
position: fixed; | position: fixed; | ||
− | + | bottom: 2px; | |
right: 0px; | right: 0px; | ||
− | min-width: | + | min-width: 150px; |
− | max-width: | + | max-width: 150px; |
− | max-height: | + | max-height: 15px; |
overflow-y: scroll; | overflow-y: scroll; | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
第13行: | 第13行: | ||
-moz-border-radius: 0 0 1px 1px; | -moz-border-radius: 0 0 1px 1px; | ||
background: rgba(249,249,249,0.75); | background: rgba(249,249,249,0.75); | ||
− | padding: | + | padding: 8px; |
box-shadow: 0 1px 8px #000; | box-shadow: 0 1px 8px #000; | ||
-webkit-box-shadow: 0 1px 8px #000; | -webkit-box-shadow: 0 1px 8px #000; | ||
第22行: | 第22行: | ||
display: block; | display: block; | ||
position: fixed; | position: fixed; | ||
− | + | bottom: 2px; | |
right: 0px; | right: 0px; | ||
min-width: 100px; | min-width: 100px; | ||
− | max-width: | + | max-width: 450px; |
− | max-height: | + | max-height: 550px; |
overflow-y: scroll; | overflow-y: scroll; | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
border-radius: 0 0 1px 1px; | border-radius: 0 0 1px 1px; | ||
-moz-border-radius: 0 0 1px 1px; | -moz-border-radius: 0 0 1px 1px; | ||
− | background: rgba(249,249,249,0. | + | background: rgba(249,249,249,0.99); |
padding: 12px; | padding: 12px; | ||
box-shadow: 0 1px 8px #000; | box-shadow: 0 1px 8px #000; | ||
第40行: | 第40行: | ||
body { overflow-x: hidden;} | body { overflow-x: hidden;} | ||
+ | |||
+ | pre { | ||
+ | white-space: pre-wrap; | ||
+ | word-wrap: break-word; | ||
+ | } | ||
+ | |||
+ | /* 对font的一些定制化 */ | ||
+ | font.code{ | ||
+ | background:#dddddd; | ||
+ | } | ||
+ | font.bg-warning{ | ||
+ | background: yellow; | ||
+ | } | ||
+ | |||
+ | font.bg-error{ | ||
+ | background: red; | ||
+ | } | ||
+ | |||
+ | font.warning{ | ||
+ | color: yellow; | ||
+ | } | ||
+ | |||
+ | font.error{ | ||
+ | color: red; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* 对表格的一些定制化 */ | ||
+ | .table-enhance{ | ||
+ | color:firebrick!; | ||
+ | font-weight:bold; | ||
+ | } |
2017年12月14日 (四) 09:54的最后版本
/* 放置于这里的CSS将应用于所有皮肤 */ #toc{ display: block; position: fixed; bottom: 2px; right: 0px; min-width: 150px; max-width: 150px; max-height: 15px; 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: 8px; 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; bottom: 2px; right: 0px; min-width: 100px; max-width: 450px; max-height: 550px; 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.99); 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;} pre { white-space: pre-wrap; word-wrap: break-word; } /* 对font的一些定制化 */ font.code{ background:#dddddd; } font.bg-warning{ background: yellow; } font.bg-error{ background: red; } font.warning{ color: yellow; } font.error{ color: red; } /* 对表格的一些定制化 */ .table-enhance{ color:firebrick!; font-weight:bold; }