夏卜卜/style.css
跳到导航
跳到搜索
/* 页面[[夏卜卜]]专用,更新于20221207 */ /* 修复 */ #mw-content-text h2:before, .mw-parser-output h2:before,#mw-content-text h3:before, .mw-parser-output h3:before,#mw-content-text h4:before, .mw-parser-output h4:before{ background-color:transparent!important; } /* 时间线 */ .timelinetable tr td:first-of-type{ width:5em; font-weight:bold; } .timelinetable tbody tr td{ vertical-align: sub!important; } /* 隐藏三级标题 */ li.toclevel-3{ display:none; } /* 信息栏 */ .infobox2{ max-width:360px; } .vupacting{ color: rgb(242,131,255); text-shadow: 2px 2px 3px rgb(255,230,156); font-weight: bold; font-style: italic; transition: letter-spacing 1s; } .vupacting:hover{ color: rgb(163,73,164); letter-spacing: 0.5em; } /* 顶端logo */ .bubulogo{ margin:0.2em 0%; height:auto; min-width:250px; max-width: 50%!important; } /* 标题优化 */ h2 { margin: 1em 0 0.5em; padding: 3px 1em; max-width: 100%; border-bottom: none; border-radius: 5px 5px 0 0; background-color: rgb(163,73,164); color: #fff; text-align: center; font-weight: bold; font-size: 1.5em; font-family: sans-serif; transition: background-color 0.7s; } h3,h4 { margin-bottom: 0.8em; color: rgb(163,73,164); text-align: center; font-family: sans-serif; } h3 .mw-headline::before { content: "⭐"; } h3 .mw-headline::after { content: "⭐"; } h4 .mw-headline::before { content: "★"; } h4 .mw-headline::after { content: "★"; } h2:hover, h2:focus { max-width: 100%; background-color: rgb(110,34,110); } /* 黑幕颜色 */ .heimu { background-color: rgb(110,34,110); color: rgb(110,34,110); } /* 外链 */ a.external, a.external:visited { color: rgb(110,34,110); text-decoration: underline; } a.external:hover, a.external:focus { color: rgb(110,34,110); text-decoration: none; } a ,a:hover,a:focus{ color: rgb(110,34,110)!important; } h2 a ,h2 a:hover,h2 a:focus{ color: #fff!important; } a.new,a.new:hover,a.new:focus { color: #880000!important; text-decoration: none; }/* 保护红链 */ .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; }/* 保护大家族模板 */ .toc h2 { font-size:100%; background:none; color: black!important; }/* 保护目录 */ /* 分割线 */ hr { margin: 1em 10% 0.5em; width: 80%; border-bottom: 2px dashed rgb(238,185,239); 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: rgb(238,185,239); } .mw-collapsible-text { color: rgb(110,34,110); } table.wikitable tbody{ display: contents; } div.mw-customtoggle { border: 1px solid rgb(163,73,164); padding: 3px 0.4em; }/* 点击展开收起 通常 */ span.mw-customtoggle { border: 1px solid rgb(163,73,164); color: rgb(163,73,164); padding: 3px 0.2em; }/* 点击展开收起 内联 */ span.mw-customtoggle:hover,span.mw-customtoggle:focus { font-weight:bold; border: 1px solid rgb(255,255,255); transition: border 1s; }/* 点击展开收起 内联 */ /* 画廊优化 */ .mw-parser-output .gallery-mod-text .caption { text-align: center; } /* 引用框 */ blockquote.toccolours{ min-width: 75%; text-align: left; } /* 侧边栏人物 待检查 */ .sidebar-character:hover,.sidebar-character:focus{ opacity:0.1!important; transition: opacity 1s!important; } .sidebar-character{ opacity:1!important; } /* 媒体适配 */ div._root_1kszh_1 a:before,div._root_1kszh_1 a:after{ display:none!important; } @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; } } @media screen and (min-width: 960px) { #moe-article .references ol li{ font-size: 0.8em; } table.gallery-mod{ display:flex; width:100%; } } /* MoeSkin */ h2:after, .mw-parser-output h2:after{ display:none!important; } h3, h4, h5, h6, .mw-parser-output h3, .mw-parser-output h4, .mw-parser-output h5, .mw-parser-output h6{ color:rgb(163,73,164)!important; } h2 span.mw-headline, .mw-parser-output h2 span.mw-headline, h2, .mw-parser-output h2{ color:rgb(255,255,255)!important; } /* [[Category:在主名字空间下的CSS页面]] */