“MediaWiki:Common.css”的版本间的差异

来自太阳花Wiki
跳转至: 导航搜索
第89行: 第89行:
 
#gotop{
 
#gotop{
 
     display:none;
 
     display:none;
     width:55px;
+
     width:128px;
     height:55px;
+
     height:128px;
 
     position:fixed;
 
     position:fixed;
 
     right:20px;
 
     right:20px;

2019年5月2日 (四) 09:53的版本

/* 这里放置的CSS将应用于所有皮肤 */

/* ========== 上栏相关 ========== */

/* 为vector皮肤添加上方背景 */
body.skin-vector {
    background: url(//hima.aimo.moe/skins/Aimo/bgimg1.jpg) no-repeat top left #f6f6f6;
}

/* 去除vector皮肤上方留白 */
div#mw-page-base {
    background: none;
    height: 100px;
}

/* 顶栏与边框适配位移 */
#left-navigation,
#right-navigation {
    margin-top: 60px;
}
div#mw-panel {
    top: 0;
    text-shadow: 1px 1px #f6f6f6;
}

#mw-panel #p-logo {
    width: 176px;
    height: 200px;
    margin-left: -0.5em;
}
#mw-panel #p-logo .mw-wiki-logo {
    width: 176px;
    height: 200px;
}

/* 用户添加边框 */
div#p-personal {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 10px 5px 0;
    box-shadow: #666 0 1px 5px;
}

/* ========== 内容相关 ========== */

/* 字体相关 */
a:hover, a:active {
text-decoration: none;
text-shadow: #1E90FF 0 0 7px;
}
a:hover {
text-decoration: underline;
}
a.new {
color: blue !important;
text-decoration: none;
font-weight: bold;
}
a {
color: #28326f !important;
text-decoration: none;
font-weight: bold;
}
[href]:hover{
    font-size: 106%;
}

/* 浮动目录 */
#toc, .toc {
        display: block;
        position: fixed;
        top: 100px;
        right: 0px;
        min-width: 200px;
        max-width: 350px;
        max-height: 600px;
        overflow-y: scroll;
        border: 1px solid #aaa;
        border-radius: 0 0 1px 1px;
        -moz-border-radius: 0 0 1px 1px;
        background: rgba(249,249,249,0.85);
        padding: 12px;
        box-shadow: 0 1px 8px #000;
        -webkit-box-shadow: 0 1px 8px #000;
        -moz-box-shadow: 0 1px 8px #000;
 
}

/* backtotop */
#gotop{
    display:none;
    width:128px;
    height:128px;
    position:fixed;
    right:20px;
    bottom:20px;
    background:url(/skins/Aimo/totop.png) no-repeat 0px 0px;
}