MediaWiki:Common.js: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
console.log("ATRONIA: site JS carregou ✅"); | |||
/*************************/ | /*************************/ | ||
Revision as of 15:41, 23 February 2026
/* Any JavaScript here will be loaded for all users on every page load. */
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MX174P23PW"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-MX174P23PW');
</script>
console.log("ATRONIA: site JS carregou ✅");
/*************************/
/* ATRONIA Language Menu */
/*************************/
.atr-lang-menu {
position: relative;
list-style: none;
cursor: pointer;
color: white;
font-size: 14px;
padding: 10px 15px;
}
.atr-lang-current {
font-weight: 500;
}
.atr-lang-dropdown {
position: absolute;
top: 40px;
right: 0;
background: white;
color: #202122;
list-style: none;
padding: 10px 0;
margin: 0;
display: none;
min-width: 120px;
box-shadow: 0 8px 20px rgba(0,0,0,0.1);
border-radius: 6px;
z-index: 9999;
}
.atr-lang-dropdown li {
padding: 8px 16px;
}
.atr-lang-dropdown li:hover {
background: #f2f2f2;
}
.atr-lang-menu:hover .atr-lang-dropdown {
display: block;
}
/* Hide Google default UI */
.goog-te-banner-frame {
display: none !important;
}
body {
top: 0px !important;
}