“MediaWiki:Timeless.css”的版本间的差异
来自小鱼君和他的朋友们
([InPageEdit] 没有编辑摘要) |
|||
(未显示同一用户的2个中间版本) | |||
第11行: | 第11行: | ||
/** Avatar **/ | /** Avatar **/ | ||
+ | #mw-content-text .user-avatar { | ||
+ | width: 1em; | ||
+ | height: 1em; | ||
+ | border-radius: 4px; | ||
+ | } | ||
#personal > h2 { | #personal > h2 { | ||
background-image: none !important; | background-image: none !important; | ||
第39行: | 第44行: | ||
@media screen and (max-width:850px) { | @media screen and (max-width:850px) { | ||
+ | } | ||
+ | |||
+ | /** Button style fixing **/ | ||
+ | .mw-ui-button.mw-ui-progressive, .mw-ui-button.mw-ui-progressive:active, .mw-ui-button.mw-ui-progressive.mw-ui-checked, input[type="submit"], input[type="button"], button, .button { | ||
+ | padding: 0.25em 1em 0.1em 1em; | ||
+ | border: solid 1px #cccccc; | ||
+ | border-bottom-width: 0.2em; | ||
+ | box-sizing: border-box; | ||
+ | border-radius: 0.2em; | ||
+ | background: #ffffff; | ||
+ | color: #001133; | ||
+ | min-height: 30px; | ||
+ | box-shadow: 0 1px 2px rgba(0,0,0,0.05); | ||
+ | } | ||
+ | .mw-ui-button.mw-ui-progressive:hover, .mw-ui-button.mw-ui-progressive:active:hover, .mw-ui-button.mw-ui-progressive.mw-ui-checked:hover, input[type="submit"]:hover, input[type="button"]:hover, button:hover, .button:hover { | ||
+ | background-color: #eeeeee; | ||
+ | } | ||
+ | .button a, a .button, a.button { | ||
+ | color: #252525 !important; | ||
+ | } | ||
+ | .mw-ui-button.mw-ui-progressive:disabled, input[type="submit"]:disabled, input[type="button"]:disabled, button:disabled, .button:disabled, .button.disabled { | ||
+ | background-color: #dddddd; | ||
+ | cursor: not-allowed; | ||
+ | } | ||
+ | /* Disable header border */ | ||
+ | .mw-body .mw-parser-output h2::after { | ||
+ | content: ''; | ||
+ | display: none; | ||
+ | border-bottom: none; | ||
+ | overflow: hidden; | ||
} | } |
2020年10月30日 (五) 00:10的最新版本
#p-logo-text a { color: #001133; font-family: 汉真广标; font-variant: small-caps; font-size: 16px; display: block; line-height: 30px; background: url(https://wjghj.cn/images/icons/wiki.svg) no-repeat transparent 0 0 / 32px; padding-left: 30px } /** Avatar **/ #mw-content-text .user-avatar { width: 1em; height: 1em; border-radius: 4px; } #personal > h2 { background-image: none !important; padding-left: 0 !important; padding-top: 0.4em; } #personal .user-avatar-link { position: relative; top: -6px; } #personal .user-avatar { width: 28px; height: 28px; border-radius: 50%; } @media screen and (min-width:850px) { #mw-related-navigation #page-tools { position: sticky; top: 65px; transition: all .5s } #mw-related-navigation.header-hide #page-tools { top: 8px } } @media screen and (max-width:850px) { } /** Button style fixing **/ .mw-ui-button.mw-ui-progressive, .mw-ui-button.mw-ui-progressive:active, .mw-ui-button.mw-ui-progressive.mw-ui-checked, input[type="submit"], input[type="button"], button, .button { padding: 0.25em 1em 0.1em 1em; border: solid 1px #cccccc; border-bottom-width: 0.2em; box-sizing: border-box; border-radius: 0.2em; background: #ffffff; color: #001133; min-height: 30px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); } .mw-ui-button.mw-ui-progressive:hover, .mw-ui-button.mw-ui-progressive:active:hover, .mw-ui-button.mw-ui-progressive.mw-ui-checked:hover, input[type="submit"]:hover, input[type="button"]:hover, button:hover, .button:hover { background-color: #eeeeee; } .button a, a .button, a.button { color: #252525 !important; } .mw-ui-button.mw-ui-progressive:disabled, input[type="submit"]:disabled, input[type="button"]:disabled, button:disabled, .button:disabled, .button.disabled { background-color: #dddddd; cursor: not-allowed; } /* Disable header border */ .mw-body .mw-parser-output h2::after { content: ''; display: none; border-bottom: none; overflow: hidden; }