MediaWiki:Common.css: Difference between revisions

    叶子和他的Vtuber们
    No edit summary
    Tag: Manual revert
    No edit summary
     
    (10 intermediate revisions by the same user not shown)
    Line 5: Line 5:
       zoom: 100%;
       zoom: 100%;
    }
    }
    .transtext {
        color: #000; /* Fallback for older browsers */
        color: rgba(0, 0, 0, 0);
    }
    /* 返回顶部按钮 */
    #goTopBtn {
        position: fixed;
        line-height: 46px;
        text-align: center;
        width: 46px;
        bottom: 35px;
        height: 46px;
        cursor: pointer;
        background: #ccc;
        display: none;
        border-radius: 6px;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.13);
        font-size:22px;
        color:#fff;
    }
    /* 标题下划线增强 700 = bold */
    h1 {
        font-weight: 700;
        border-bottom: 2px solid #0074f9;
    }
    /* 隐藏MW的English选项框 */
    #p-variants{
    visibility: hidden;
    }
    /* 黑幕模板配合CSS */
    /* 黑幕模板配合CSS */
    /* 把这几行单独拎出来写,否则会被Firefox合并到“.heimu a”这条规则,然后又被上面的“点过外链不变色”规则override */
    /* 把这几行单独拎出来写,否则会被Firefox合并到“.heimu a”这条规则,然后又被上面的“点过外链不变色”规则override */
    Line 42: Line 74:
         transition: color .13s linear;
         transition: color .13s linear;
         color: #BA0000;
         color: #BA0000;
    }
    /* remove the below if you don't want smooth scrolling */
    html,
    body {
    scroll-behavior: smooth;
    }
    }

    Latest revision as of 04:47, 10 January 2023

    /* CSS placed here will be applied to all skins */
    body {
      padding-top: 0px;
      padding-bottom: 20px;
      zoom: 100%;
    }
    .transtext {
        color: #000; /* Fallback for older browsers */
        color: rgba(0, 0, 0, 0);
    }
    /* 返回顶部按钮 */
    #goTopBtn {
        position: fixed;
        line-height: 46px;
        text-align: center;
        width: 46px;
        bottom: 35px;
        height: 46px;
        cursor: pointer;
        background: #ccc;
        display: none;
        border-radius: 6px;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.13);
        font-size:22px;
        color:#fff;
    }
    
    /* 标题下划线增强 700 = bold */
    h1 {
        font-weight: 700;
        border-bottom: 2px solid #0074f9;
    }
    
    /* 隐藏MW的English选项框 */
    #p-variants{
    	visibility: hidden;
    }
    
    /* 黑幕模板配合CSS */
    /* 把这几行单独拎出来写,否则会被Firefox合并到“.heimu a”这条规则,然后又被上面的“点过外链不变色”规则override */
    span.heimu a.external,
    span.heimu a.external:visited,
    span.heimu a.extiw,
    span.heimu a.extiw:visited {
        color: #252525;
    }
    .heimu,
    .heimu a,
    a .heimu,
    .heimu a.new {
        background-color: #252525;
        color: #252525;
        text-shadow: none;
    }
    body:not(.heimu_toggle_on) .heimu:hover,
    body:not(.heimu_toggle_on) .heimu:active,
    body:not(.heimu_toggle_on) .heimu.off {
        transition: color .13s linear;
        color: white;
    }
    body:not(.heimu_toggle_on) .heimu:hover a,
    body:not(.heimu_toggle_on) a:hover .heimu,
    body:not(.heimu_toggle_on) .heimu.off a,
    body:not(.heimu_toggle_on) a:hover .heimu.off {
        transition: color .13s linear;
        color: lightblue;
    }
    body:not(.heimu_toggle_on) .heimu.off .new,
    body:not(.heimu_toggle_on) .heimu.off .new:hover,
    body:not(.heimu_toggle_on) .new:hover .heimu.off,
    body:not(.heimu_toggle_on) .heimu.off .new,
    body:not(.heimu_toggle_on) .heimu.off .new:hover,
    body:not(.heimu_toggle_on) .new:hover .heimu.off {
        transition: color .13s linear;
        color: #BA0000;
    }
    
    /* remove the below if you don't want smooth scrolling */
    html,
    body {
    	scroll-behavior: smooth;
    }