MediaWiki:Common.css:修订间差异

来自SS唯基
跳到导航 跳到搜索
无编辑摘要
(更新黑条CSS,使其能遮住链接(但是遮不住链接右边的图标2333)
第341行: 第341行:




/* 黑条模板css */
/* 黑条模板css(old) 已弃用
span.heitiao{
span.heitiao{
     background-color: #252525;
     background-color: #252525;
第352行: 第352行:
     color: white;
     color: white;
}
}
 
*/
/* 黑条CSS(new) */
.heitiao,
.heitiao rt {
    background-color: #252525;
}
span.heitiao a.external,
span.heitiao a.external:visited,
span.heitiao a.extiw,
span.heitiao a.extiw:visited {
    color: #252525;
}
.heitiao,
.heitiao a,
a .heitiao,
.heitiao a.new {
    color: #252525;
    text-shadow: none;
}
body:not(.heitiao_toggle_on) .heitiao:hover,
body:not(.heitiao_toggle_on) .heitiao:active,
body:not(.heitiao_toggle_on) .heitiao.off {
    transition: color .13s linear;
    color: white;
}
body:not(.heitiao_toggle_on) .heitiao:hover a,
body:not(.heitiao_toggle_on) a:hover .heitiao,
body:not(.heitiao_toggle_on) .heitiao.off a,
body:not(.heitiao_toggle_on) a:hover .heitiao.off {
    transition: color .13s linear;
    color: lightblue;
}
body:not(.heitiao_toggle_on) .heitiao.off .new,
body:not(.heitiao_toggle_on) .heitiao.off .new:hover,
body:not(.heitiao_toggle_on) .new:hover .heitiao.off,
body:not(.heitiao_toggle_on) .heitiao:hover .new {
    transition: color .13s linear;
    color: #FCC;
}
/*黑条CSS(new)结束*/
/*分页tabs*/
/*分页tabs*/
.tabs-container {
.tabs-container {

2021年11月16日 (二) 14:03的版本

/*背景图
https://zh.moegirl.org.cn/MediaWiki:Common.css
本文引自萌娘百科(https://zh.moegirl.org.cn),文字内容默认使用《知识共享 署名-非商业性使用-相同方式共享 3.0》协议。*/
body.skin-vector {
    background: url(/images/d/d9/WIKI头图.png) no-repeat top left #f6f6f6;
}

#p-logo {
    width: 11em;
    height: 250px;
    margin-left: -.5em;
}

#p-logo a {
    display:block;
    width: 11em;
    height: 250px;
    background-repeat:no-repeat;
    background-position:center center;
    text-decoration:none;
    background-image: none;
}

#mw-page-base {
    background: none;
}

#content {
    position: relative;
    z-index: 7;
    background-color: rgba(255,255,255,0.7);
}

div.vectorTabs ul li {
    background-image:none!important;
    background-color:transparent!important;
}

#left-navigation,
#right-navigation,
div.vectorTabs ul li.selected {
    background-image: linear-gradient(rgba(255,255,255,0),rgba(255,255,255,.3) 30%,rgba(255,255,255,.5))!important;
    background-color: transparent!important;
}

div#p-personal {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 10px 5px 0;
    box-shadow: #666 0 1px 5px;
}

#p-personal ul {
    padding-left: 0;
    padding: 0px 10px 0px 10px;
}

#simpleSearch {
    background-image: linear-gradient(rgba(255,255,255,0.5),rgba(255,255,255,.8) 30%,rgba(255,255,255,.9));
}

#p-cactions ul {
    z-index: 9;
}

/*背景图结束*/

/*传奇模板*/
.legendT {
    background:white;
    width:100%;
}

.legendT th{
    background-color:#E1685D; 
    color:white;
    padding:1em;
}
.legendT ul{
    margin:0;
    width:100%;
}
.legendT li{
    display:inline-block;
    margin:0 .7% 0;
    text-align:center;
    vertical-align:text-top;
    width:7%;
    min-width:65px;
    max-width:125px;
}
.legendT img{
    width: 100%;
    min-width: 65px;
    max-width: 125px;
    height: auto;
}

/*传奇模板结束*/


/* Style for horizontal lists (separator following item) */
.skin-monobook .hlist dl,
.skin-modern .hlist dl,
.skin-vector .hlist dl {
    line-height: 1.5em;
}
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
}
.hlist dd,
.hlist dt,
.hlist li {
    display: inline;
    margin: 0;
}
/* Display nested lists inline */
.hlist dl dl,
.hlist ol ol,
.hlist ul ul {
    display: inline;
}
/* Generate interpuncts */
.hlist dt:after {
    content: " :";
}
.hlist dd:after,
.hlist li:after {
    content: " ·";
    font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
    content: none;
}
/* for IE 8 */
.hlist dd.nopunct:after,
.hlist dt.nopunct:after,
.hlist li.nopunct:after {
    content: none;
}
/* Add parens around nested lists */
.hlist dl dl:before,
.hlist ol ol:before,
.hlist ul ul:before {
    content: "(";
}
.hlist dl dl:after,
.hlist ol ol:after,
.hlist ul ul:after {
    content: ")";
}
/* Put numbers in ordered lists */
.hlist.hnum ol li {
    counter-increment: level1;
}
.hlist.hnum ol li:before {
    content: counter(level1) " ";
}
.hlist.hnum ol ol li {
    counter-increment: level2;
}
.hlist.hnum ol ol li:before {
    content: counter(level2) " ";
}

/* Unbulleted lists */
.plainlist ul {
    line-height: inherit;
    list-style: none none;
    margin: 0;
}
.plainlist ul li {
    margin-bottom: 0;
}


/* ---Infobox template style */

.infobox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
}


/* Default style for ----navigation boxes */
.navbox {                     /* Navbox container style */
    border: 1px solid #aaa;
    width: 100%; 
    margin: auto;
    clear: both;
    text-align: center;
    padding: 1px;
}
/*防止表格隐藏宽带改变*/
.navbox-inner {
    width: 100%
}
.navbox th,
.navbox-title,
.navbox-abovebelow {
    text-align: center;       /* Title and above/below styles */
    padding-left: 1em;
    padding-right: 1em;
}
th.navbox-group {             /* Group style */
    white-space: nowrap;
    /* @noflip */
    text-align: right;
}
.navbox,
.navbox-subgroup {
    background: #fdfdfd;      /* Background color */
}
.navbox-list {
    border-color: #fdfdfd;    /* Must match background color */
}
.navbox th,
.navbox-title {
    background: #ccccff;      /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
    background: #ddddff;      /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: #e6e6ff;      /* Level 3 color */
}
.navbox-even {
    background: #f7f7f7;      /* Even row striping */
}
.navbox-odd {
    background: transparent;  /* Odd row striping */
}
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
    margin-top: -1px;          /* (doesn't work for IE6, but that's okay)       */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
    padding: 0.125em 0;       /* Adjust hlist padding in navboxes */
}
.navbox .hlist dd,
.navbox .hlist dt,
.navbox .hlist li {
    white-space: nowrap;      /* Nowrap list items in navboxes */
    white-space: normal !ie;  /* IE < 8 no-wraps entire list, so disable it */
}
.navbox .hlist dd dl,
.navbox .hlist dt dl,
.navbox .hlist li ol,
.navbox .hlist li ul {
    white-space: normal;      /* But allow parent list items to be wrapped */
}
ol + table.navbox,
ul + table.navbox {
    margin-top: 0.5em;        /* Prevent lists from clinging to navboxes */
}

/* Default styling for Navbar template */
.navbar {
    display: inline;
    font-size: 80%;
    font-weight: normal;
}
.navbar ul {
    display: inline;
    white-space: nowrap;
}
.navbar li {
    word-spacing: -0.125em;
}
/* Navbar styling when nested in navbox */
.navbox .navbar {
    display: block;
    font-size: 80%;
}
.navbox-title .navbar {
    /* @noflip */
    float: left;
    /* @noflip */
    text-align: left;
    /* @noflip */
    margin-right: 0.5em;
    width: 8em;
}

/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
   in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {       
    /* @noflip */
    float: right;
    font-weight: normal;
    /* @noflip */
    margin-left: 0.5em;
    /* @noflip */
    text-align: right;
    width: 6em;
}
/* In navboxes, the show/hide button balances the v·d·e links
   from [[Template:Navbar]], so they need to be the same width. */
.navbox .collapseButton {
    width: 8em;
}


/* For template ------documentation*/
.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #aaa; 
    background-color: #ecfcf4; 
    padding: 5px;
}

/*
== MetaBox ==

*/

/*****
** Bytecounter colours最近更改
*****/
strong.mw-plusminus-neg
   {
   color: #c00;
   }


/* 黑条模板css(old) 已弃用
span.heitiao{
    background-color: #252525;
    color: #252525;
    text-shadow: none;
}

span.heitiao:hover {
    transition: color .13s linear;
    color: white;
}
*/
/* 黑条CSS(new) */
.heitiao,
.heitiao rt {
    background-color: #252525;
}
span.heitiao a.external,
span.heitiao a.external:visited,
span.heitiao a.extiw,
span.heitiao a.extiw:visited {
    color: #252525;
}
.heitiao,
.heitiao a,
a .heitiao,
.heitiao a.new {
    color: #252525;
    text-shadow: none;
}
body:not(.heitiao_toggle_on) .heitiao:hover,
body:not(.heitiao_toggle_on) .heitiao:active,
body:not(.heitiao_toggle_on) .heitiao.off {
    transition: color .13s linear;
    color: white;
}
body:not(.heitiao_toggle_on) .heitiao:hover a,
body:not(.heitiao_toggle_on) a:hover .heitiao,
body:not(.heitiao_toggle_on) .heitiao.off a,
body:not(.heitiao_toggle_on) a:hover .heitiao.off {
    transition: color .13s linear;
    color: lightblue;
}
body:not(.heitiao_toggle_on) .heitiao.off .new,
body:not(.heitiao_toggle_on) .heitiao.off .new:hover,
body:not(.heitiao_toggle_on) .new:hover .heitiao.off,
body:not(.heitiao_toggle_on) .heitiao:hover .new {
    transition: color .13s linear;
    color: #FCC;
}
/*黑条CSS(new)结束*/
/*分页tabs*/
.tabs-container {
  width: 100%;
  margin-bottom:20px;
}

.tabs-pages {
  display: flex;
  list-style:none;
  background-color:#e2e9f6;
  border-radius:4px;
}

.tab:focus,
.tab:hover {
  cursor: pointer;
}

.tab {
  padding: 0.5em 1em;
  color: #244786;
  font-size:16px;
  margin:0 0 0 1em;
}

.tab:hover {
  background-color: #a4c2f8;
}

.tab.active {
  background-color: #c3d8fc;
}

.tabs-contents {
  
  width: 100%;
  height: auto;
}

.tab-c {
  display: none;
  width: 100%;
  height: auto;
}

.tab-c.active {
  display: block;
}

.inner-content {
  padding: .5em;
  column-count:3;
  border:solid #e2e9f6;
  border-radius:4px;
  border-width:0 3px 3px;
}


/*分页tabs结束*/