「MediaWiki:Common.css」:修訂間差異

移除 3,873 位元組 、​ 2022年12月29日 (星期四)
無編輯摘要
無編輯摘要
無編輯摘要
 
(未顯示同一使用者於中間所作的 9 次修訂)
第1行: 第1行:
/* 放置于这里的CSS将应用于所有皮肤 */
/* 放置于这里的CSS将应用于所有皮肤 */
/*
* 由用户850710247liu制作的皮肤界面,参考Github添加了Emoji支持
* 更改后要同步到 [[MediaWiki:Gadget-GothicMoe.css]]
*/
/*春季主题背景---画画的纱雾酱*/
body {
background-color: rgba(240, 240, 240, .5);
background-image:url(/index.php/Special:FilePath/%E7%94%BB%E7%94%BB%E7%9A%84%E7%BA%B1%E9%9B%BE%E9%85%B1.png);
background-blend-mode: overlay;
background-position:right 40% bottom 45%;
background-size:670px;
background-attachment:fixed;
background-repeat:no-repeat;
}
.mw-body {
margin-top: -3px;
background-color: rgba(255, 255, 255, 0.8);
}
.mw-footer {
height: -webkit-fill-available;
}


/*全站样式*/
/*全站样式*/
第27行: 第6行:
-webkit-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
hyphens: auto;
}
.mw-body {
margin-left: 12.4em;
}
}
.mw-body-content {
.mw-body-content {
第61行: 第37行:
}
}
::-webkit-scrollbar {
::-webkit-scrollbar {
  height: 10px;
height: 10px;
  width: 10px;
width: 10px;
}
}
::-webkit-scrollbar-thumb {
::-webkit-scrollbar-thumb {
  background: rgb(213, 213, 213);
background: rgb(213, 213, 213);
  border-radius: 6px;
border-radius: 6px;
}
}
::-webkit-scrollbar-thumb:hover {
::-webkit-scrollbar-thumb:hover {
  background: rgb(196, 196, 196);
background: rgb(196, 196, 196);
}
}
/* 公告栏滚动Rollnews */
/* 公告栏滚动Rollnews */
第82行: 第58行:
}
}
#scrollDiv li {
#scrollDiv li {
background-color: rgb(245,245,245,0.3);
height: 25px;
height: 25px;
padding-left: 0px;
padding-left: 0px;
list-style: none;
list-style: none;
}
#localNotice {
background-color: rgb(245,245,245,0.3);
}
}
/* 链接显示效果 */
/* 链接显示效果 */
a:hover {
a:hover {
  text-decoration: none!important;
text-decoration: none!important;
  color: #2a4b8d;
color: #2a4b8d;
}
/* 侧边栏、顶部栏、页脚 */
.mw-body {
border-left: 1px solid #bbb;
border-bottom: 1px solid #bbb;
border-top: none;
border-right: none;
}
.vectorTabs {
font-size: 16px;
padding-top: 2px;
}
.vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-wikilove.icon a {
padding-top: 3.4em;
}
.vectorMenuCheckbox {
  height:110%;
}
.portal {
background: transparent !important;
}
#mw-panel {
border-right: 1px solid #bbb;
border-bottom: 1px solid #bbb;
/* background: rgb(254,254,254,0.95) !important; */
background: rgb(246,246,246,0.95) !important;
padding-left: 14px !important;
}
#p-logo {
left: 0px;
padding-left: 2px;
}
#p-logo a {
padding-left: 40px;
left: 0px;
border-right: 1px solid #aaa;
}
#p-logo a:hover {
opacity: 1.0;
}
#mw-head {
background-color: rgb(254,254,254,0.94);
height: 100px;
box-shadow: 0px 1px 2px #aaa;
background-image: url(/index.php/Special:FilePath/%E6%98%A5%E5%A4%A9%E9%A3%9E%E9%B8%9F.png);
background-position: right top;
background-size: 920px;
background-repeat: no-repeat;
transition-property: opacity !important;
transition-duration: 0.25s !important;
}
.vectorMenu {
font-size: 92%;
}
#left-navigation {
margin-left: 233px !important;
}
#mw-page-base {
height: 104px;
}
#left-navigation,
#right-navigation {
margin-top: 60px;
}
#mw-head div.vectorMenu h4 {
height: 1.9em;
margin-bottom: 0;
padding-top: 1.25em;
padding-bottom: 0;
padding-right: 0.5em;
}
#mw-panel div.portal {
padding-bottom: 0.7em;
padding-top: 0.4em;
}
#mw-panel #p-logo .mw-wiki-logo {
width: 175px;
}
#mw-panel {
font-size: 18.5px;
}
#mw-head li {
background: transparent !important;
}
#mw-panel .portal .body li {
line-height: 1.6em;
}
.mw-wiki-logo{
padding-left: 5px !important;
padding-top: 10px !important;
border: none !important;
}
.clear-div {
clear: both;
}
.uls-trigger{
display: none;
}
div.vectorMenu div.menu {
top: 2.8em;
width: 100%;
background-color: rgba(251,251,251,0.9);
border: 1px solid #a7d7f9;
border-top: transparent;
}
#mw-panel .portal .body li a:visited {
  color: #0645ad;
}
#mw-head .portal .body li a:visited {
  color: #0645ad;
}
}
#ca-conv{
#ca-conv{
float: right;
float: right;
第230行: 第93行:
font-size: 170%;
font-size: 170%;
}
}
h2,
h2, h3, h4, h5, h6 {
h3,
h4,
h5,
h6 {
font-family: "roboto",sans-serif !important;
color: #404040 !important;
color: #404040 !important;
line-height: 1.8 !important;
line-height: 1.8 !important;
第251行: 第109行:
padding-top: 11px;
padding-top: 11px;
padding: 0.1em;
padding: 0.1em;
}
/* 搜索框 */
#simpleSearch {
  max-width: 225px;
  background-image: none;
  padding: 0.1px 10px;
  opacity: 0.625;
  display: flex;
  transition: width 0.4s;
}
#simpleSearch #searchButton {
  right: 6px !important;
  width: 20px !important;
  height: 23px !important;
}
input::-webkit-search-cancel-button {
  display:none;
}
#p-search {
float: left;
margin-right: 0.5em;
margin-left: 0.6em;
margin-top: 0.1em;
}
}
@keyframes shake {
@keyframes shake {
  0%,
0%,
  50% {
50% {
transform: rotate(5deg) scale(1.05);
transform: rotate(5deg) scale(1.05);
  }
}
  
  
  25%,
25%,
  75% {
75% {
transform: rotate(-5deg) scale(1.05);
transform: rotate(-5deg) scale(1.05);
  }
}
  
  
  100% {
100% {
transform: rotate(0deg) scale(1.05);
transform: rotate(0deg) scale(1.05);
  }
}
}
}
.oo-ui-actionFieldLayout-input {
.oo-ui-actionFieldLayout-input {
第308行: 第143行:
}
}
.infoBoxx {
.infoBoxx {
  border-radius: 5px;
border-radius: 5px;
  overflow: hidden;
overflow: hidden;
}
}
.infobox {
.infobox {
  margin-top: 0.4em ;
margin-top: 0.4em ;
  margin-left: 2em;
margin-left: 2em;
  padding: 0.3em;
padding: 0.3em;
  width: 285px;
width: 285px;
  float: right;
float: right;
  clear: right;
clear: right;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  border-radius: 4px;
border-radius: 4px;
  overflow: hidden;
overflow: hidden;
  background: rgba(251,251,251,0.7);
background: rgba(251,251,251,0.7);
}
}
.infotemplatebox {
.infotemplatebox {
  margin-top: 0.4em ;
margin-top: 0.4em ;
  margin-left: 2em;
margin-left: 2em;
  padding: 0.03em;
padding: 0.03em;
  width: 285px;
width: 285px;
  float: right;
float: right;
  clear: right;
clear: right;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  border-radius: 4px;
border-radius: 4px;
  overflow: hidden!important;
overflow: hidden!important;
  background: rgba(251,251,251,0.7);
background: rgba(251,251,251,0.7);
}
}
/* 编辑历史调整*/
/* 编辑历史调整*/
第354行: 第189行:
margin-right: 3px;
margin-right: 3px;
}
}
/* Extension:MultimediaViewer的半透明化修改 */
/* Extension:MultimediaViewer的半透明化修改 */
.mw-mmv-overlay {
.mw-mmv-overlay {
position: fixed;
position: fixed;
第372行: 第207行:
display: inherit;
display: inherit;
}
}
body.mediawiki.mw-mmv-lightbox-open > * {
body.mediawiki.mw-mmv-lightbox-open > * {
display: inherit;
display: inherit;
}
}
第449行: 第284行:
}
}
#toc:not(.toc-custom) {
#toc:not(.toc-custom) {
  display: none;
display: none;
}
}
.mw-mmv-filepage-buttons .mw-mmv-view-expanded, .mw-mmv-filepage-buttons .mw-mmv-view-config {
.mw-mmv-filepage-buttons .mw-mmv-view-expanded, .mw-mmv-filepage-buttons .mw-mmv-view-config {
第500行: 第335行:
.action-edit .backToTop,
.action-edit .backToTop,
.action-submit .backToTop {
.action-submit .backToTop {
  display: none !important;
display: none !important;
}
}
/* 表格宽度 */
/* 表格宽度 */
第515行: 第350行:
/* 图片外框圆角化 */
/* 图片外框圆角化 */
.thumbinner {
.thumbinner {
  box-shadow: #666 0 0.4px 1px!important;
box-shadow: #666 0 0.4px 1px!important;
  border-radius: 5px!important;
border-radius: 5px!important;
  overflow: hidden!important;
overflow: hidden!important;
}
}
/* 图库样式 */
/* 图库样式 */
第933行: 第768行:
.navbox .TabLabel {
.navbox .TabLabel {
text-align: left;
text-align: left;
}
/* 适配宽屏 */
@media screen and (min-width: 1300px) {
.mw-body {
padding-left: 47px;
padding-right: 47px;
padding-top: 31px;
}
#localNotice {
padding-bottom: 17px;
}
#sidebarHidden-arrow {
top: 7.7em;
}
}
/* 适配带鱼屏 */
@media screen and (min-width: 1800px) {
.mw-body {
border-right: 1px solid #bbb;
}
#content {
max-width: 72.9em;
margin-left: auto;
margin-right: auto;
}
#sidebarHidden-arrow {
display: none;
}
}
}