MediaWiki:Gadget-libBottomRightCorner.css

From Moegirlpedia
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* <pre> */
/**
 * -------------------------------------------------------------------------
 * !!! DON'T MODIFY THIS PAGE MANUALLY, YOUR CHANGES WILL BE OVERWRITTEN !!!
 * -------------------------------------------------------------------------
 */
._addText { content: '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/libBottomRightCorner/MediaWiki:Gadget-libBottomRightCorner.css|user=[[U:AnnAngela]]|longId=47c8f34b1beb8f390201e769649f6a56c542c3ed|shortId=47c8f34|message=style: Update CSS to match stylelint standard}}'; }

#bottomRightCorner {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 0;
    bottom: 100px;
    cursor: pointer;
    z-index: 13;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}

body.overlay-scrollbars.skin-vector #bottomRightCorner {
    /* 因为无法计算滚动条宽度,只能使用预设值 */
    right: 20px;
}

#bottomRightCorner>div {
    width: 20px;
    order: 0;
    font-size: 12px;
    text-align: center;
    padding: 5px 0;
    margin-top: 17px;
    background-color: #000;
    color: #FFF;
    opacity: 0.6;
}

.mw-mmv-lightbox-open #bottomRightCorner {
    display: none !important;
}

@media print {
    #bottomRightCorner {
        display: none !important;
    }
}

/* </pre> */