add firefox banner

This commit is contained in:
Mahdi Dibaiee 2023-07-26 15:00:47 +01:00
parent c5b0552e98
commit 55b87fdbba
3 changed files with 18 additions and 0 deletions

View File

@ -27,4 +27,14 @@
</p> </p>
</nav> </nav>
<span id='browser' class='notice hidden'>
This website is designed for <a target="_blank" rel="noopener noreferrer" href="https://firefox.com/">Firefox</a>, a web
browser that respects your privacy.
</span>
<script>
if (window.chrome) {
document.getElementById('browser').className = 'notice';
}
</script>
</header> </header>

View File

@ -13,6 +13,10 @@ dl, dd, ol, ul, figure {
text-align: center; text-align: center;
} }
.hidden {
display: none !important;
}
/** /**
* Basic styling * Basic styling

View File

@ -271,3 +271,7 @@ hr {
margin: 0; margin: 0;
} }
} }
#browser {
display: inline-block;
}