MediaWiki:PoemButtons.js: Difference between revisions

No edit summary
No edit summary
Line 33: Line 33:
     // Style the two custom buttons after they are added
     // Style the two custom buttons after they are added
     setTimeout(function () {
     setTimeout(function () {
 
    $('a[rel="Poem1"], a[rel="Poem2"]').css({
        $('.group-insert a[rel="Poem1"], .group-insert a[rel="Poem2"]').css({
        position: 'relative',
            'margin-top': '7px',
        top: '7px'
            'width': '36px',
    });
            'height': '36px',
}, 100);
            'min-width': '36px',
            'min-height': '36px',
            'background-size': '28px 28px',
            'background-position': 'center',
            'background-repeat': 'no-repeat'
        });
 
    }, 100);
      
      
};
};