MediaWiki:Vector.css:修订间差异

来自黑神话百科
跳转到导航 跳转到搜索
(内容页背景大小调整)
(调整倒计时文字离底部的距离)
第318行: 第318行:
   text-align: center;
   text-align: center;
   font-size: 200%;
   font-size: 200%;
  margin-bottom: 20px;
}
}



2024年7月28日 (日) 07:52的版本

/* 此处所有CSS将为使用Vector皮肤的用户加载 */

/*** *** ***/
/* Vector皮肤CSS引自PRTS(https://www.prts.wiki/),文字内容遵守【知识共享 署名-非商业性使用-相同方式共享 3.0】协议。*/
/* 部分内容进行了本地化替换和调整 */
/* 把这几行单独拎出来写,否则会被Firefox合并到“.heimu a”这条规则,然后又被上面的“点过外链不变色”规则override */

/* 主要内容 */
body .mw-body {
  background: url(https://heishenhua.wiki/w/images/img_bg.png) repeat;
  background-clip: border-box;
  margin-top: 250px !important;
  padding-left: 24px;
  color: #dfdad3;
  border: none;
}
/* 用户页 */
body.ns-2 .mw-body {
  background: url(https://heishenhua.wiki/w/images/img_bg.png) repeat;
  background-clip: border-box;
}

/* 用户页表格 */
body.ns-2 .wikitable {
  background: url(https://heishenhua.wiki/w/images/img_bg.png) repeat;
  background-clip: border-box;
}

/* 提交页(预览、差异) */
body.action-submit .mw-body {
  background: url(https://heishenhua.wiki/w/images/img_bg.png) repeat;
  background-clip: border-box;
}

/* 通知标题颜色 */
#p-personal .oo-ui-labelElement-label {
    color: #000000;
}

/*侧边栏二级菜单*/
div#MenuSidebar b{
	color:#EAEAEA;
}

div#MenuSiderbar > ul > li ul{
	display:none;
	z-index:1;
	background-color:#373737;
	width: unset !important;
	white-space: nowrap;
}

div #MenuSidebar li {
    position: relative;
    margin: 0px !important;
    transition: 0.15s all ease-in;
    z-index: 1;
}

/* wiki内容上方讨论样式 */
#ca-talk a{
	color:orange;
}
#ca-talk a:visited{
	color:orange;
}
/********************************************************************************/

/*右侧目录*/
#right-navigation{
	margin-top: 207px!important;
}
#left-navigation{
	margin-top: 207px!important;
}
body #mw-head-base{
	display:none;
}
body #mw-page-base{
	display:none;
}
.rtshow #rtocbt{
    display: none;
}
.rthide #rtocbt{
    display: inline-block;
}
.rtshow #rtoculw{
    box-shadow: 1px 1px 5px black;
}
#rightToc{
    position: fixed;
	top:20vh;
    right: 0px;
    z-index:999;
}
#rtocbt{
    display: inline-block;
    vertical-align: middle;
    background: #000;
    color:#fff;
    opacity: 0.5;
    width: 20px;
    text-align: center;
    padding: 15px 3px;
}
#rtocul{
    margin-left: 5px;
    padding-right: 5px;
    list-style: none;
    max-height: 45vh;
    overflow-y: auto;
}
#rtoculw{
	display: inline-block;
	vertical-align: middle;
	margin-left: 0px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #a2a9b1;
}
/*右侧目录*/

/*右上角小图标颜色补正*/
#pt-uls .uls-trigger:before{
    filter: invert(100%);
}
#pt-notifications-alert a, #pt-notifications-notice a{
    filter: invert(100%);	
}
/* 白色搜索框 */
#searchInput {
	background-color: #ffffff!important;
}
/*全站Tabs样式等*/
nav.vector-menu-tabs-legacy li a {
    display: inline-block;
    padding-left: 0.625em;
    padding-right: 0.625em;
    color: #ffa500;
    cursor: pointer;
    font-size: 0.8em;
    padding-top: 1em;
}
nav.vector-menu-tabs-legacy span a {
    display: inline-block;
    padding-top: 1em;
}
nav.vector-menu-tabs-legacy ul li, #p-variants, #p-cactions {

    background-image: -webkit-linear-gradient(top,rgba(255,255,255,1),rgba(255,255,255,1));
    background-color: transparent;
    border-top: 3px solid orange;
    border-right: 1px solid rgba(255,255,255,1);
}
#p-variants-label, nav.vector-menu-tabs-legacy, nav.vector-menu-tabs-legacy span, nav.vector-menu-tabs-legacy ul, div#mw-head div.vectorMenu h3 {
    background-image: none;
}
nav.vector-menu-tabs-legacy {
    float: left;
    height: 2.5em;
    background-image: -webkit-linear-gradient(top,rgba(255,255,255,.5),rgba(255,255,255,.5) 30%,rgba(255,255,255,.5));
    background-position: bottom left;
    background-repeat: no-repeat;
    padding-left: 1px;
}
nav.vector-menu-tabs-legacy li.selected a, nav.vector-menu-tabs-legacy li.selected a:visited {
    color: black;
    text-decoration: none;
}
nav.vector-menu-tabs-legacy li.selected {
    background-color: white;
    border-top: 3px solid #00aef6;
    border-left: 1px solid white;
    border-right: 1px solid white;
}
nav.vector-menu-tabs-legacy ul li {
    background-image: -webkit-linear-gradient(top,#373737,#373737);
    background-color: transparent;
    border-top: 3px solid orange;
    border-right: 1px solid white;
}
.mw-body {
    margin-left: 10em;
    border: 1px solid white;
    border-right-width: 0;
    margin-top: -1px;
}
#right-navigation{
	margin-top: 160px;
}
#left-navigation{
	margin-top: 160px;
}
body #mw-head-base{
	display:none;
}
body #mw-page-base{
	display:none;
}
body #mw-navigation #mw-head:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 38px;
    box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
body #mw-navigation #mw-panel {
    top: 48px;
}
div#MenuSidebar{
	top:180px;
}
body {
	margin-top:20px;
	background: url("https://heishenhua.wiki/w/images/wiki_bg.png") no-repeat;
	background-color: black;
    background-size:100%;
}
.mw-body, .parsoid-body {
    background-color: white;
}
#p-personal{
	color:white;
}
#p-personal ul {
    color: white;
}
#p-personal li a{
	color: white;
}
#p-personal li a:visited {
    color: white;
}
body #mw-navigation #mw-head {
	background: url(https://heishenhua.wiki/w/images/top_banner.png) left top no-repeat,url(https://heishenhua.wiki/w/images/top_banner_l.png) right top no-repeat #343434;
    height: 38px;
}

.mw-wiki-logo {
    background-image: url(https://heishenhua.wiki/w/images/wiki_logo.png);
    background-size: cover;
    margin-left:5px;
}

/* */
/**
 * CharInsert插入项样式
 * Styling for links generated by [[MediaWiki:Edittools]]
 * @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling
 * @updated 2012-02-29
 */
.mw-charinsert-buttons {
  margin-top: 10px;
  border: 1px solid #aaaaaa;
  padding: 1px;
  text-align: center;
  font-size: 110%;
}

.mw-charinsert-buttons a {
  color: black;
  background-color: #cde !important;
  font-weight: bold;
  font-size: .9em;
  text-decoration: none;
  border: thin #069 outset;
  padding: 0 .1em .1em;
}

.mw-charinsert-buttons a:hover,
.mw-charinsert-buttons a:active {
  background-color: #bcd;
  border-style: inset;
}

.client-js .mw-edittools-section {
  display: inline;
}

.client-js .mw-edittools-section input[type="button"] {
  font-size: 0.9em;
  padding-left: 1px;
  padding-right: 1px;
  margin-left: 1px;
}

/* 带有链接文本颜色修改 */
.mw-body a {
    color: #3F9CCB;
}

/* 首页icon容器样式定义 */
#wk-icon-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 列 */
  position: relative;
  transform-origin: top left;
  width: 920px;
  margin: 0 auto; /* 新增这一行使容器居中 */
}

#wk-timer {
	display: flex;
	background: url('https://heishenhua.wiki/w/images/wk_timer.png');
	width: 920px;
	height: 460px;
	margin: 0 auto;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100%;
	  justify-content: center; /* 水平居中 */
	    align-items: flex-end;
}

#wk-timer-label {
  text-align: center;
  font-size: 200%;
  margin-bottom: 20px;
}

.wk-mainpage{
	  display: grid;
  grid-template-columns: 3fr 1fr; 
}

.wk-mainpage-main{
	
}

.wk-mainpage-side{
	display: block;
}