MediaWiki:Gadget-popups.css

来自希灵百科
跳转至: 导航搜索

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

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:前往菜单 → 设置(Mac为Opera → Preferences),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件
a.popupMoreLink {
    display: block;
    text-align: right;
    cursor: pointer;
}
.popupDiff {
    word-break: break-all;
}
ins.popupDiff {
    background: #AFE;
}
del.popupDiff {
    background: #FFE6E6;
}
#selectionPreview {
    /* overflow: auto; max-height: 16ex; */
    border: 2px solid #DDD;
    background-color: #EEF;
    padding: 6px;
}
.navpopup {
    border: solid #A7D7F9 1px;
    background-color: #F8FCFF;
    padding: 5px;
    font-size: 8pt;
    /* opacity: 0.9; */
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    -o-border-radius: 3px;
    -webkit-box-shadow: #666 0px 2px 3px;
    -moz-box-shadow: #666 0px 2px 3px;
    box-shadow: #666 0px 2px 3px;
}
.ns-0 .navpopup {
    background-color: #F3F3F3;
}
.popupDragHandle {
    /* background-color: #D2FEFA; */
    cursor: move;
}
/* menu magic - many thanks to [[User:Zocky]]! */
/* popups */
.popup_menu li {
    margin: 3px;
}
.popup_menu {
    display: none;
    position: absolute;
    left: 0;
    margin: 0;
    margin-top: 1em;
    line-height: 1.25em;
    list-style-type: none;
    /*top:1.6ex; */
    z-index: 2;
    width: 10em;
    background: white;
    border: solid 1px grey;
    padding: 0.5em !important;
    margin-left: -6px;
    margin-top: 1em;
    border-width: 1px 1px 1px 6px;
}
.popup_menu a {
    display: block;
}
.popup_menu_row a {
    display: inline;
}
.popup_menu_row {
    list-style: none;
    padding: 0;
    margin: 0;
    /* border: solid 1px red;*/
}
.popup_drop {
    display: inline;
    position: relative
}
.popup_drop a[href='#'] {
    white-space: nowrap;
}
.popup_drop:hover .popup_menu, .popup_drop .popup_menu:hover {
    display: inline;
    background: White;
    padding: 2px 2px 2px 2px
}
.popup_drop:hover {
    background: #CCF;
    color: #44f;
}
/* other colours, styles and so on */
.popup_menu a:hover {
    background: #CCf;
    color: #44f
}
.popup_mainlink {
    font-size: 140%;
    font-weight: bold
}
.popup_change_title_link {
    color: #152;
}
.popup_diff_dates {
    font-style: italic;
    background: none;
}
.popup_menu_item {
    list-style: none;
    padding: 0;
    margin: 0;
    /*border: solid 1px green;*/
}
/* .popup_menu_item a:hover { 
 *     background:#CCf;
 *     color:#44f;
 * } */
.popup_menu_item a {
    display: block;
}
.popup_history_row_even {
    background: #eee;
}
.popup_history_date {
    font-weight: bold;
    font-size: 120%;
}
/* copied from monobook #bodyContent declarations */
.popupPreview a.external, .popupPreview a[href ^="gopher://"] {
    background: url(//en.wikipedia.org/skins/monobook/external.png) center right no-repeat;
    padding-right: 13px;
}
.popupPreview a[href ^="https://"], .link-https {
    background: url(//en.wikipedia.org/skins/monobook/lock_icon.gif) center right no-repeat;
    padding-right: 16px;
}
.popupPreview a[href ^="mailto:"], .link-mailto {
    background: url(//en.wikipedia.org/skins/monobook/mail_icon.gif) center right no-repeat;
    padding-right: 18px;
}
.popupPreview a[href ^="news://"] {
    background: url(//en.wikipedia.org/skins/monobook/news_icon.png) center right no-repeat;
    padding-right: 18px;
}
.popupPreview a[href ^="ftp://"], .link-ftp {
    background: url(//en.wikipedia.org/skins/monobook/file_icon.gif) center right no-repeat;
    padding-right: 18px;
}
.popupPreview a[href ^="irc://"], .link-irc {
    background: url(//en.wikipedia.org/skins/monobook/discussionitem_icon.gif) center right no-repeat;
    padding-right: 18px;
}
/* disable interwiki styling */
.popupPreview a.extiw, .popupPreview a.extiw:active {
    color: #36b;
    background: none;
    padding: 0;
}
.popupPreview a.external {
    color: #36b;
}
/* this can be used in the content area to switch off
special external link styling */
.popupPreview .plainlinks a {
    background: none !important;
    padding: 0 !important;
}