打开/关闭菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

MediaWiki:Wikia.css

MediaWiki界面页面
MetroCrt留言 | 贡献2018年7月21日 (六) 13:23的版本

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:Ctrl-F5
body {/* 暂时全局设为雅黑 */
    font-family: "Helvetica Neue",Helvetica,"Microsoft Yahei",Arial,sans-serif;
}

rt {
    font-size:62.5%;
}

blockquote {
    padding: .8em 1em;
    margin: 0 16em 0 1em;
    font-size: unset!important;
}
blockquote:before {
    content: open-quote;
    color: #ddd;
    z-index: -1;
    margin-top: -.3em;
    position: absolute;
    font: bold 9em arial;
}
blockquote:after {
    content: close-quote;
    color: #ddd;
    z-index: -1;
    margin-top: -.3em;
    position: absolute;
    right: 5%;
    font: bold 9em arial;
}

.WikiaArticle dl {
    border-radius:8px;
    border-left: 4px solid #c5d4c5;
}
.WikiaArticle dt {
    font-weight: unset;
    border-left: 4px solid transparent;
}
.WikiaArticle dd {
    font-size: 87.5%;
}
a.mw-redirect {
    color: #009688;
}
.allpagesredirect a.mw-redirect {
    color: silver;
    font: normal small-caps small sans-serif;
}

.WikiaArticle h3 {
    border-bottom: 1px solid #ECEFF1;
    margin-left: .5em;
}

.WikiaArticle ul {
    list-style: disc;
}
/* i play a css */
/*body{
    counter-reset: section;
}*/
.WikiaPage h1:hover:after, .WikiaPage h3:hover:after{position: absolute;}
/*.WikiaPage h1{
    counter-reset: subsection;
}*/
.WikiaPage h1:hover:after{
    content:"\2764";
    color:#e1cebb;
    font-size:.5em ;
}
/*.WikiaPage h2:before{
    counter-increment:section;
    content:counter(section)"\B6";color:gray;font-size:.8em;
}
.WikiaPage h3:before{
    counter-increment:subsection;
    content: counter(section) "." counter(subsection)"\B6";color:gray;font-size:.8em;
}*/
.WikiaPage h3:hover:after{
content:"\B6";color:#e1cebb;font-size:.6em;
}

/* 气泡尖儿修复 */
.SpeechBubble .speech-bubble-message:before {top: 44px;}
.SpeechBubble .speech-bubble-message:after {top: 45px;z-index: unset;}

/* 底下一大块占着有什么用?砍了 */
.wds-global-footer {
    display: none;
}

/* 修正火狐下的表格边框 */
.article-table, .article-table th, .article-table td {
    border: 1px #ccc solid;
}
/* 表格满行 */
.article-table {
    width: 100%;
}

/* title弹射
span[title]:hover:after {
    background-color:gray;
    content:attr(title);
    color:#FFF;
    border-radius:10px;
    padding:1px 3px;
    font-size:11px;
    position:relative;
    top:-9px
} */
span[title=]:hover:after {
    background-color:Purple;
}
span[title=]:hover:after {
    background-color:Green;
}
span[title=]:hover:after {
    background-color:#9a6a38;
}
span[title*="的"]:hover:after {
    display:none;
}

/* 全局链接 */
a {
    text-decoration: overline dotted #0000;
    transition: .8s ease;
}
a:hover {
    text-decoration: overline dashed;
}

/* 呈现代码样式 */
code {
    background-color: #ddd3;
    border: 2px dashed #ddd;
    padding: 0 3px 2px;
    word-wrap: normal;
    border-radius: 3px;
}
.WikiaArticle pre {
    background-color: #ddd3;
    border: 2px dashed #ddd;
    line-height: unset;
}

/* i play 2 css */
span[title]:hover:after,span[title^="av"]:hover:after {
    background-color: #ffc9;
    border-radius: 2px;
    border: 1px solid #db3;
    box-shadow: 0 2px 6px #5203;
    color: #5219;
    content: attr(title);
    margin-top: .5em;
    padding: 0 5px;
    position: absolute;
    white-space: nowrap;
    z-index: 1;
}

a[class^="edit"],a[class^="page-title"] {
    text-decoration: none;
    transition: .5s ease;
    border-bottom: 9px dotted #0000;}
a[class^="edit"]:hover,a[class^="page-title"]:hover {
    text-decoration: none!important;
    color: #8f3000;
    border-bottom: 3px solid #d0a77c;}