“MediaWiki:Common.css”的版本间的差异
| 第21行: | 第21行: | ||
} | } | ||
body { overflow-x: hidden;} | body { overflow-x: hidden;} | ||
| + | |||
| + | |||
| + | |||
| + | @import "mediawiki.mixins.less"; | ||
| + | // External links | ||
| + | .mw-body { | ||
| + | .external { | ||
| + | background-position: center right; | ||
| + | background-repeat: no-repeat; | ||
| + | |||
| + | // 此处做了注释,原语句如下: | ||
| + | // .background-image-svg('images/external-link-ltr-icon.svg', 'images/external-link-ltr-icon.png'); | ||
| + | |||
| + | /*.background-image-svg('images/external-link-ltr-icon.svg', 'images/external-link-ltr-icon.png');*/ | ||
| + | |||
| + | // 此处修改了值,从13px,变为了0px,这样就去掉了“链接图标消除后,留下来的空隙” | ||
| + | padding-right: 0px; | ||
| + | } | ||
| + | } | ||
2019年1月1日 (二) 01:49的版本
/* 放置于这里的CSS将应用于所有皮肤 */
/* == 浮动目录 == */
#toc, .toc {
display: block;
position: fixed;
top: 30px;
right: 0px;
min-width: 200px;
max-width: 350px;
max-height: 600px;
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.85);
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;}
@import "mediawiki.mixins.less";
// External links
.mw-body {
.external {
background-position: center right;
background-repeat: no-repeat;
// 此处做了注释,原语句如下:
// .background-image-svg('images/external-link-ltr-icon.svg', 'images/external-link-ltr-icon.png');
/*.background-image-svg('images/external-link-ltr-icon.svg', 'images/external-link-ltr-icon.png');*/
// 此处修改了值,从13px,变为了0px,这样就去掉了“链接图标消除后,留下来的空隙”
padding-right: 0px;
}
}