MediaWiki:Common.css:修订间差异
来自康健生活
无编辑摘要 |
无编辑摘要 |
||
| (未显示同一用户的17个中间版本) | |||
| 第27行: | 第27行: | ||
#p-tb > input[type="checkbox"], | #p-tb > input[type="checkbox"], | ||
#p-coll-print_export > input[type="checkbox"] { | #p-coll-print_export > input[type="checkbox"] { | ||
visibility: hidden !important; | /*visibility: hidden !important;*/ | ||
display: none !important; | |||
} | } | ||
/* 个人工具等栏目隐藏标题 */ | /* 个人工具等栏目隐藏标题 */ | ||
| 第42行: | 第43行: | ||
#p-coll-print_export h3 { | #p-coll-print_export h3 { | ||
display: none !important; | display: none !important; | ||
} | |||
/***************************************** | |||
* 隐藏一些功能按键 | |||
*****************************************/ | |||
/* 隐藏文件页的原始文件下载链接 */ | |||
/*.fullMedia .internal {*/ | |||
/* display: none !important;*/ | |||
/*}*/ | |||
/* 隐藏所有页面顶部的“讨论”标签页 */ | |||
/*#ca-nstab-main,*/ | |||
/*#ca-talk,*/ | |||
/*#ca-unwatch,*/ | |||
/*#ca-watch,*/ | |||
/*#ca-nstab-mediawiki {*/ | |||
/* display: none !important;*/ | |||
/*}*/ | |||
/* 可选:隐藏右上角个人工具栏中的“讨论”链接 */ | |||
/*#pt-mytalk {*/ | |||
/* display: none !important;*/ | |||
/*}*/ | |||
/* g */ | |||
/*#p-coll-print_export,*/ | |||
/*#p-navigation,*/ | |||
/*#p-variants,*/ | |||
/*#p-associated-pages,*/ | |||
/*#p-tb {*/ | |||
/* display: none !important;*/ | |||
/*}*/ | |||
/***************************************** | |||
* 页面内样式修改 | |||
*****************************************/ | |||
body { | |||
background-color: transparent; | |||
} | |||
#mw-page-base { | |||
background-color: transparent; | |||
background-image: none; | |||
} | |||
/* 页面内 [编辑 | 编辑源代码] 样式 */ | |||
.mw-editsection { | |||
font-size: 14px; | |||
padding: 0 10px; | |||
} | |||
/* 头部返回按钮面包屑 */ | |||
#contentSub { | |||
padding: 3px 10px; | |||
margin-bottom: 10px; | |||
font-size: 12px; | |||
} | |||
/* 分类框 */ | |||
#catlinks { | |||
background: lightyellow; | |||
padding: 5px 10px; | |||
font-size: 12px; | |||
} | |||
/* 头部 H1 大标题 */ | |||
#firstHeading { | |||
border: none; | |||
} | |||
/* 加粗字体 */ | |||
.mw-body-content b { | |||
color: #8b0000; | |||
} | |||
/* code 标签 */ | |||
.mw-body-content code:not([class]) { | |||
background: black; | |||
color: white; | |||
} | |||
/* 标题样式 */ | |||
.mw-body > h1 { | |||
border-bottom: 2px double #a2a9b1; | |||
} | |||
/* 编辑样式 */ | |||
.mw-body-content pre, | |||
.mw-body-content .mw-code { | |||
padding: 10px; | |||
} | |||
.mw-body-content blockquote { | |||
border-left: none; | |||
} | |||
.mw-body-content .mw-parser-output > h2 { | |||
border-bottom: 1px dashed #a2a9b1; | |||
} | |||
.mw-body .mw-highlight .nv { | |||
color: #0e9bbf; | |||
} | |||
table.wikitable .mw-highlight { | |||
margin: 0; | |||
} | |||
table.wikitable .td-pre-noborder pre { | |||
border: none; | |||
} | } | ||
| 第89行: | 第191行: | ||
float: none; | float: none; | ||
justify-content: end; | justify-content: end; | ||
margin- | margin: 5px 0 10px 0; | ||
} | |||
#footer #footer-icons li { | |||
padding-right: 0; | |||
padding-left: 1em; | |||
} | } | ||
#footer #footer-icons li > a { | #footer #footer-icons li > a { | ||
| 第95行: | 第201行: | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
background: transparent; | |||
} | } | ||
#footer #footer-info { | #footer #footer-info { | ||
margin-top: 0; | margin-top: 0; | ||
margin-bottom: | margin-bottom: 5px; | ||
} | |||
#footer #footer-places { | |||
margin-top: 0; | |||
} | } | ||
#footer #footer-info li { | #footer #footer-info li { | ||
| 第106行: | 第216行: | ||
#footer-places li a { | #footer-places li a { | ||
font-size: 12px; | font-size: 12px; | ||
} | |||
#siteSub { | |||
display: none; | |||
} | |||
#p-logo { | |||
float: none; | |||
position: absolute; | |||
right: 0; | |||
top: 20px; | |||
} | |||
#p-logo img { | |||
width: 60px; | |||
height: 60px; | |||
} | |||
#p-logo h1 { | |||
display: none; | |||
} | |||
#p-search { | |||
display: flex; | |||
gap: 10px; | |||
} | |||
#mw-navigation #p-search h3 { | |||
position: relative !important; | |||
width: 30px; | |||
height: 26px; | |||
font-size: 14px; | |||
display: flex; | |||
align-items: center; | |||
} | |||
#p-search input[type="search"] { | |||
flex: 1; | |||
} | |||
/***************************************** | |||
* 动画效果 | |||
*****************************************/ | |||
/* template: module_name_version style */ | |||
@keyframes glowing-button-85 { | |||
0% { | |||
background-position: 0 0; | |||
} | |||
50% { | |||
background-position: 400% 0; | |||
} | |||
100% { | |||
background-position: 0 0; | |||
} | |||
} | } | ||