logo color logic
This commit is contained in:
12
css/main.css
12
css/main.css
@ -18,6 +18,18 @@ body {
|
|||||||
background-color: light-dark(var(--color-light), var(--color-dark));
|
background-color: light-dark(var(--color-light), var(--color-dark));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: light) {
|
||||||
|
#dark-logo {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
#light-logo {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
a,
|
a,
|
||||||
a:active {
|
a:active {
|
||||||
color: light-dark(var(--color-orange-light), var(--color-orange-dark));
|
color: light-dark(var(--color-orange-light), var(--color-orange-dark));
|
||||||
|
|||||||
@ -5,6 +5,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<!-- Meta -->
|
<!-- Meta -->
|
||||||
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||||
<link rel="canonical" href="/" />
|
<link rel="canonical" href="/" />
|
||||||
<meta name="description" content="Solstice Market at the Beall Greenhouses" />
|
<meta name="description" content="Solstice Market at the Beall Greenhouses" />
|
||||||
<meta name="robots" content="index,follow" />
|
<meta name="robots" content="index,follow" />
|
||||||
@ -17,6 +18,8 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
|
<img id="dark-logo" src="/img/dark-logo.png" alt="Linework icon depicting a sunrise or sunset with two clouds">
|
||||||
|
<img id="light-logo" src="/img/light-logo.png" alt="Linework icon depicting a sunrise or sunset with two clouds">
|
||||||
<h1>Solstice Market at the Beall Greenhouses</h1>
|
<h1>Solstice Market at the Beall Greenhouses</h1>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
|
|||||||
Reference in New Issue
Block a user