Initial commit
This commit is contained in:
26
includes/head.php
Executable file
26
includes/head.php
Executable file
@ -0,0 +1,26 @@
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="description" content="At quartznet, we develop games and tools.">
|
||||
<meta name="keywords" content="Quartznet, Software, Games, Tools"/>
|
||||
|
||||
<link rel="icon" href="/quartznet/assets/favicon.ico">
|
||||
<link href="/quartznet/includes/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="/quartznet/includes/stylesheet.css" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
|
||||
|
||||
<script>
|
||||
// If `prefers-color-scheme` is not supported, fall back to light mode.
|
||||
// In this case, light.css will be downloaded with `highest` priority.
|
||||
if (window.matchMedia('(prefers-color-scheme: dark)').media === 'not all') {
|
||||
document.documentElement.style.display = 'none';
|
||||
document.head.insertAdjacentHTML(
|
||||
'beforeend',
|
||||
'<link rel="stylesheet" href="/includes/light.css" onload="document.documentElement.style.display = \'\'">'
|
||||
);
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Load based on colour scheme -->
|
||||
<link rel="stylesheet" href="/quartznet/includes/dark.css" media="(prefers-color-scheme: dark)">
|
||||
<link rel="stylesheet" href="/quartznet/includes/light.css" media="(prefers-color-scheme: no-preference), (prefers-color-scheme: light)">
|
Reference in New Issue
Block a user