/* 适用于[[User:一位史蒂夫]],部分抄自[[夏卜卜/style.css]]和[[User:鬼影233/style.css]] */ /* 倒计时修改 */ .toccolours { border-radius: 7px; box-shadow: 0 3pt 6pt #D2D5D7; } /* 链接改色 */ a, .fakelink { color: #169de1; transition: color 1s; } .external { color: #1db4f2; } a:hover, .fakelink:hover { color: #0e6591; } a:active, .fakelink:active { color: #0e6591; } a.mw-selflink.selflink { color: #000000; } a.new { color: #816CEA; } .heimu a, .heimu.fakelink { color: Transparent; } /* 测试Hover下划线 */ .test{ position: relative; text-decoration: none; } .test:before{ content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: #4285f4; transform: scale(0); transition: all 0.3s; } .test:hover:before{ transform: scale(1); } /* ajax投票ID隐藏 */ .ajaxpoll-id-info { display:none!important; } /* 按钮样式修改 */ .mw-ui-button { border-color: #424242; background-color: #ffffff !important; box-shadow: 0 3pt 6pt #D2D5D7; border-radius: 5px; color: #515151 !important; } .mw-ui-button:hover { background-color: #dfdfdf !important; border-color: #686868; transition: border-color 1s, background-color 1s; } .mw-ui-button:active { box-shadow: 0 1pt 2pt #D2D5D7; background-color: #dfdfdf !important; color: #505050 !important; } .mw-ui-button.mw-ui-progressive { border-color: #424242; background-color: #60bfff !important; box-shadow: 0 3pt 6pt #D2D5D7; border-radius: 5px; color: #ffffff !important; } .mw-ui-button.mw-ui-progressive:hover { background-color: #089cff !important; border-color: #686868; transition: border-color 1s, background-color 1s; } .mw-ui-button.mw-ui-progressive:active { box-shadow: 0 1pt 2pt #D2D5D7; background-color: #089cff !important; color: #ffffff !important; } .mw-ui-button.mw-ui-destructive { border-color: #424242; background-color: #f2003d !important; box-shadow: 0 3pt 6pt #D2D5D7; border-radius: 5px; color: #ffffff !important; } .mw-ui-button.mw-ui-destructive:hover { background-color: #d40035 !important; border-color: #686868; transition: border-color 1s, background-color 1s; } .mw-ui-button.mw-ui-destructive:active { box-shadow: 0 1pt 2pt #D2D5D7; background-color: #d40035 !important; color: #ffffff !important; } /* beep样式 */ .a-beep-infinite { animation: beep-infinite 1s infinite; color: purple; } @keyframes beep-infinite { 0% { opacity: 0; } 49% { opacity: 0; } 50% { opacity: 1; } } /* code */ code { background-color: #F0F1F2; border-width: 0 0 2px; border-color: #212121; margin: 0 2px; color: #212121; border-radius: 3px; padding: 1px 3px 0; opacity: 0.8; } /* 隐藏编辑按钮 */ .mw-editsection { display: none; } /* 黑幕颜色 */ .heimu { background-color: #0f395f; color: #0f395f; } /* 更改选中颜色(除了为了美观还能有效防止Mac文字模糊无法查看问题) */ ::selection { color: #FFFFFF; background-color: #29a3cb; } /* 隐藏ref */ a[href="#cite_note-UserName-Tips-1"] { display: none !important; } /* 标题优化 */ h2:hover,h2:focus { max-width: 100%; background-color: #4697e1; letter-spacing: 0.5em; transition: letter-spacing 1s, background-color 1s; } h2:after { background-color: transparent !important; } h3:hover, h4:hover,h3:focus, h4:focus { letter-spacing: 0.3em; transition: letter-spacing 1s; } h2 { margin: 1em 0 0.5em; padding: 3px 1em; max-width: 100%; border-bottom: none; border-radius: 5px 5px 5px 5px; background-color: #4e9ce3 !important; color: #fff !important; text-align: center; font-weight: bold; font-size: 1.5em; font-family: sans-serif; } h3 { margin-bottom: 0.8em; color: #4e9ce3; text-align: center; font-family: sans-serif; } h4 { margin-bottom: 0.8em; text-align: center; font-family: sans-serif; } h3 .mw-headline::before { content: "⭐"; font-family:Segoe UI Emoji,Apple Color Emoji,Android Emoji,Symbola; } h3 .mw-headline::after { content: "⭐"; font-family:Segoe UI Emoji,Apple Color Emoji,Android Emoji,Symbola; } /* 分割线 */ hr { margin: 1em 10% 0.5em; width: 80%; border-bottom: 2px dashed #004788; background: none; } /* 折叠窗优化 */ table.wikitable { margin: 0.5em 10%; width: 80%!important; text-align: center; } table.wikitable img { height: auto; max-width: 80%; } table.wikitable > tr > th, table.wikitable > * > tr > th { background-color: #9bc7ef; } .mw-collapsible-text { color: #4e9ce3; } table.wikitable tbody{ display: contents; } /* 画廊优化 */ .mw-parser-output .gallery-mod-text .caption { text-align: center; } /* 引用框 */ blockquote.toccolours{ min-width: 75%; text-align: left; } .sidebar-character{ opacity:1!important; } /* 保护navbox原样式 */ .navbox a,.navbox a:hover,.navbox a:focus{ color: #0645ad!important; } .navbox a.new,.navbox a.new:hover,.navbox a.new:focus{ color: #ba0000!important; } /* 签名板样式 */ .signature>ol>li { border-radius: 7px; transition-duration: .3s; cursor: default; word-wrap: break-word; } .signature>ol>li:hover { background-color: rgba(230,244,250,.35); color: #51aded; } /* 媒体适配 */ @media screen and (max-width: 960px) { table.wikitable { margin: 0.5em 0; width: 100%!important; }/* 伸缩到全屏 */ .infobox2{ max-width:100%!important; }/* 伸缩到全屏 */ .bubulogo{ margin:0.2em 15%; height:auto; max-width:70%; }/* 伸缩到更大 */ h2 { padding: 5px 0em; border-radius: 5px 5px 0 0; } table.wikitable tbody{ display: inline-block; } }