MediaWiki:Common.js: Difference between revisions
m 7 revisions imported |
No edit summary Tags: Mobile edit Mobile web edit |
||
| Line 1: | Line 1: | ||
/* Force load Google Fonts | /* Force load Google Fonts */ | ||
$('head').append('<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Crimson+Pro:wght@400;700&display=swap">'); | $('head').append('<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Crimson+Pro:wght@400;700&display=swap">'); | ||
/* FORCE | /* FORCE KH THEME INJECTION FOR COSMOS */ | ||
$(document).ready(function() { | $(document).ready(function() { | ||
if (mw.config.get('skin') === ' | // Check for cosmos skin | ||
if (mw.config.get('skin') === 'cosmos') { | |||
console.log("KH Leaf Theme Initialized on Cosmos"); | |||
// Ensure the manual bubble handles the 'Actions' text correctly | |||
$('#p-cactions h3 span').hide(); | |||
$(' | |||
} | } | ||
}); | }); | ||