MediaWiki:ReadInHebrew.js: Difference between revisions

"Read in Hebrew" button for articles with a Hebrew equivalent
 
Align the button with the right edge
Line 22: Line 22:
'.cp-readhe:hover{background:#f8f9fa;border-color:#72777d;}' +
'.cp-readhe:hover{background:#f8f9fa;border-color:#72777d;}' +
'.cp-readhe-he{font-weight:bold;color:#36c;font-size:1.05em;}' +
'.cp-readhe-he{font-weight:bold;color:#36c;font-size:1.05em;}' +
'.vector-page-titlebar .cp-readhe{margin:0 .6em 0 auto;align-self:center;}' +
'.vector-page-titlebar .cp-readhe{margin:0 0 0 auto;align-self:center;}' +
'.cp-readhe-mobile{margin:.4em 0 .8em;}';
'.cp-readhe-mobile{margin:.4em 0 .8em;}';
document.head.appendChild( css );
document.head.appendChild( css );