mirror of
https://github.com/milk-net/milk-net.github.io.git
synced 2025-04-20 18:23:41 -05:00
Compare commits
6 commits
1c71e28194
...
b84b797cd6
Author | SHA1 | Date | |
---|---|---|---|
b84b797cd6 | |||
ce66bd4ba6 | |||
c92cdfb3b3 | |||
56dcac3dcc | |||
91e73372b2 | |||
c35542b72e |
3 changed files with 18 additions and 1 deletions
Binary file not shown.
Before Width: | Height: | Size: 38 KiB |
BIN
assets/img/new_favicon.ico
Normal file
BIN
assets/img/new_favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
19
index.html
19
index.html
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>MilkNet</title>
|
<title>MilkNet</title>
|
||||||
<link rel="icon" type="image/png" href="/assets/img/milk.png"/>
|
<link id="favicon" rel="icon" href="/assets/img/milk.png" type="image/x-icon">
|
||||||
<style>body{max-width:1000px;margin:auto;background-color:black;color:white;font-family:Arial;}a{color:#05d5ff}</style>
|
<style>body{max-width:1000px;margin:auto;background-color:black;color:white;font-family:Arial;}a{color:#05d5ff}</style>
|
||||||
<style>
|
<style>
|
||||||
img {
|
img {
|
||||||
|
@ -32,6 +32,23 @@
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<script>
|
||||||
|
document.addEventListener('keydown', function(event) {
|
||||||
|
if (event.key === '.') {
|
||||||
|
// Change title
|
||||||
|
document.title = "Student and Parent Sign In";
|
||||||
|
|
||||||
|
// Change favicon
|
||||||
|
var favicon = document.getElementById('favicon');
|
||||||
|
var newFavicon = document.createElement('link');
|
||||||
|
newFavicon.id = 'favicon';
|
||||||
|
newFavicon.rel = 'icon';
|
||||||
|
newFavicon.href = 'new_favicon.ico';
|
||||||
|
|
||||||
|
favicon.parentNode.replaceChild(newFavicon, favicon);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img src="/assets/img/milk_optimized.png" class="center">
|
<img src="/assets/img/milk_optimized.png" class="center">
|
||||||
|
|
Loading…
Add table
Reference in a new issue