打开主菜单

少前百科GFwiki β

更改

MediaWiki:Vector.css

添加4,712字节2023年6月6日 (二) 00:15
无编辑摘要
color: black;
}
 
.editOptions .oo-ui-labelElement-label{
color: #292929;
}
 
a.stub {color:#f4c430}
div#p-cactions >h3>span{color:#999}
color: #FFEBAD;
}
 
.mw-body-content h3, .mw-body-content h4 {
font-weight: normal;
}
 
body {
background-image:url(/images/1/19/Bg_new.jpg);
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 ;
transition: all 0.3s cubic-bezier(0,0,0.45,1.02);
transition-property: background-color,color;
}
 
/* desktop voiceTable */
.voiceTableBox {
text-align: center;
line-height: 1.5rem;
max-width: 1024px;
width: 100%;
}
 
.voiceTableBox tbody tr th {
background-color: #f4c430;
color: #000;
}
 
.voiceTableBox tbody tr th div {
color: #000;
}
 
.voiceTableBox tbody tr th span a {
color: #000;
}
 
.voiceTable {
text-align: center;
line-height: 1.5rem;
max-width: 1024px;
width: 100%;
background-color: rgb(0 0 0 / 72%);
display: grid;
grid-template-columns: repeat(10, 1fr);
grid-gap: 2px 2px;
}
 
.voiceTableSortTitle {
grid-column: 1 / 11;
background-color: #f4c430;
color: #222;
padding: 0.5rem;
font-weight: bold;
}
 
.voiceTableTitle {
grid-column: 1 / 2;
background-color: #f4c430;
color: #222;
font-weight: bold;
}
 
.voiceTableContent {
grid-column: 2 / 10;
text-align: left;
background-color: rgb(68 68 68 / 51%);
}
 
.voiceTableMedia {
grid-column: 10 / 11;
padding: 0.5rem 0rem;
background-color: rgb(68 68 68 / 51%);
}
 
.voiceTableContent:hover {
background-color: rgb(244 196 48 / 0.75);
color: #000;
transition: 0.4s ease;
}
 
.mw-collapsible tbody tr td .voiceTable .voiceTableContent {
grid-column: 2 / 11;
}
/* gallerybox css */
li.gallerybox div.thumb {
border: 1px solid #888222; background-color: #333222; box-shadow: 0 0 2px 1px #292929; transition: box-shadow 0.5s;} li.gallerybox div.thumb:hover { box-shadow: 0 0 6px 0px #555;
}
/** MenuSidebar end **/
 
/** GFHideSidebar v1.1 **/
div#SidebarButton {
position:absolute;
display:block;
left:11rem;
top:14rem;
width: 18px;
height: 24px;
background-color:rgba(55,55,55,1);
border:1px solid #777;
border-left:none;
border-radius: 0 12px 12px 0;
transition:0.2s all ease-out;
cursor: pointer;
}
body.hide div#SidebarButton::after{content:"\f054"}
div#SidebarButton::after{
display: inline-block;
padding: 3px;
content: "\f053";
position: relative;
font-weight: 900;
font-family: "Font Awesome 5 Free";
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 19px;
}
div#SidebarButton:hover{
background-color:#f4c430;
color:black;
}
body.hide #MenuSidebar{
opacity:0;z-index:-1
}
#MenuSidebar{
transition:0.2s all ease-out;opacity:1
}
body.hide #content,body.hide #footer,body.hide #left-navigation{
margin-left:0rem !important;
}
#footer, #left-navigation {transition:0.2s margin-left ease-out;}
body.hide div#SidebarButton {left:0rem;}
#GFHideSidebar {display:none !important}
 
 
/** GFHideSidebar end **/
 
/* gfitem */
 
.gfItemBox {
position: relative;
width: 50px;
height: 50px;
display: inline-block;
background-color: #eaeaea;
border: 3px double #222222;
margin: 5px;
margin-right: 12px;
}
 
.gfItemImgBox {
width: 100%;
height: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: 90%;
}
 
.gfItemText {
position: absolute;
bottom: -6%;
right: -25%;
background-color: #d0d0d0;
color: #000;
padding: 0px 10%;
font-size: 0.8rem;
line-height: 1rem;
box-shadow: 0 0 2px black;
}
/* 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 {
--toc-max-height: calc(100vh - 73px);
background: none;
border: none;
display: block;
max-height: var(--toc-max-height);
position: sticky;
top: 59px;
}
.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; }