打开主菜单

少前百科GFwiki β

更改

MediaWiki:Vector.css

添加1,316字节2023年6月6日 (二) 00:15
无编辑摘要
color: #FFEBAD;
}
 
.mw-body-content h3, .mw-body-content h4 {
font-weight: normal;
}
 
body {
background-image:url(/images/1/19/Bg_new.jpg);
background-color: rgba(0, 0, 0, .7);
/* backdrop-filter: blur(10px); */
}
#mw-content-text {
margin-right: max(calc(100% - 1400px), 0px);
}
div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited {
color: #F4C430 !important;
}
.catlinks, td.MainPageBG, table#mp-topbanner, .infobox, #toc, .toc, .tocnumber, .mw-warning, .toccolours, .mbox-small {
border: 1px solid #333333 ;
background-color: #333333 ;
margin-left:0rem !important;
}
#content, #footer, #left-navigation {transition:0.2s margin-left ease-out;}
body.hide div#SidebarButton {left:0rem;}
#GFHideSidebar {display:none !important}
/* gfitem */
/* 常驻H1和TOC布局 */
div#MenuSidebar li { z-index: 102!important; }
#content {
display: grid;
grid-template-areas: "sn sn""fh fh""bc toc";
grid-template-columns: minmax(0, 100%) 240px;
padding: 1.25em 0 1.5em !important;
transition: 0.2s all ease-out;
}
#content.notoc { grid-template-columns: minmax(0, 100%) 0; }
#siteNotice { grid-area: sn; }
#firstHeading {
align-items: center;
backdrop-filter: blur(10px);
border-bottom: 3px solid #f4c430;
display: flex;
grid-area: fh;
height: 56px;
padding: 0 .8em;
position: sticky;
top: 0;
z-index: 11;
}
#firstHeading::first-line { text-shadow: 2px 2px 2px black; }
.fnameheader { flex: 1; text-align: right; }
#bodyContent {
grid-area: bc;
padding: 0 1.5em;
}
#bodyContent:nth-last-child(2) { grid-area: bc / bc / toc / toc ; }
#toc-sidebar {
grid-area: toc;
}
.toc {
position--toc-max-height: calc(100vh - 73px); background: none; border: none; display: block; max-height: fixedvar(--toc-max-height); rightposition: 0sticky; top:auto59px;
}
.toc > ul {
max-height: calc(var(--toc-max-height) - 23px);
overflow-y: scroll;
}
.toc > ul::after {
content: '—目录已到底—';
display: block;
text-align: center;
width: 100%;
}
.tocnumber { color: white; }
 
.flow-topic-titlebar { background-color: #f4c430; }
.flow-topic-title { color: #212121; }
.flow-topic-summary-content div { color: darkgoldenrod; }
.error div { color: #dd3333; }