Widget:背景图片:修订间差异

imported>=海豚=
无编辑摘要
imported>=海豚=
无编辑摘要
第1行: 第1行:
<noinclude>给{{tl|背景图片}}提供更好的体验效果</noinclude><includeonly><!--{if !isset($wgSideBarPic) || !$wgSideBarPic}--><!--{assign var="wgSideBarPic" value=true scope="global"}--><style>
<noinclude>给{{tl|背景图片}}提供更好的体验效果</noinclude><includeonly><!--{if !isset($wgSideBarPic) || !$wgSideBarPic}--><!--{assign var="wgSideBarPic" value=true scope="global"}--><script>
window.RLQ = window.RLQ || [];
window.RLQ.push(function() {
    $(function() {
        var sidebarCharacter = $(".sidebar-character").slice(0, 3);
        if (!sidebarCharacter.length) return;
        $("body").addClass("sideBarPic");
        sidebarCharacter.addClass('active').each(function() {
            var self = $(this);
            self.appendTo("#mw-navigation").fadeIn().addClass(this.dataset.align === 'top' ? 'top' : 'bottom');
            self.find('img').removeAttr('width').removeAttr('height');
        });
        $(window).on('resize', function() {
            sidebarCharacter.each(function() {
                var self = $(this);
                self.find('img').width(self.width());
            });
        }).resize();
        if (sidebarCharacter.is('[data-displaylogo="yes"]')) $('body').addClass('show-logo');
    });
});</script><style>
@media screen and (max-width: 600px) {
     /* 低像素设备隐藏 */
     /* 低像素设备隐藏 */
@media screen and (max-width: 600px) {
     .sidebar-character {
     .sidebar-character {
         display: none!important;
         display: none!important;
     }
     }
}
.sideBarPic:not(.DeceasedPerson) .sidebar-character.active {
    display: block;
}
.sidebar-character {
    display: none;
}
}
deBarPic:not(.DeceasedPerson) #footer {
deBarPic:not(.DeceasedPerson) #footer {
第32行: 第46行:
div#mw-head div#p-personal ul {
div#mw-head div#p-personal ul {
     padding-left: 0;
     padding-left: 0;
}
body.sideBarPic div#mw-head div.vectorMenu h3 {
    background-repeat: repeat-x;
}
#right-navigation {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkAQAAAABvV2fNAAAADElEQVR4AWNoGB4QAInlMgFKeRKBAAAAAElFTkSuQmCC);
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5) 30%, rgba(255, 255, 255, 1));
    background-position: bottom left;
    background-repeat: repeat-x;
}
#mw-head {
    top: -0.04em;
    width: 100.06%;
}
}
.goog-te-gadget {
.goog-te-gadget {