theme toggle: absolute (not fixed) so it doesn't follow scroll
This commit is contained in:
parent
f07fa567d0
commit
8db92089a1
@ -1079,7 +1079,7 @@ button.submit:disabled { background: var(--faint); border-color: var(--faint); c
|
|||||||
.masthead-link:hover { border-bottom-color: var(--accent); }
|
.masthead-link:hover { border-bottom-color: var(--accent); }
|
||||||
|
|
||||||
.theme-toggle {
|
.theme-toggle {
|
||||||
position: fixed;
|
position: absolute;
|
||||||
top: 0.6rem;
|
top: 0.6rem;
|
||||||
right: 0.8rem;
|
right: 0.8rem;
|
||||||
z-index: 50;
|
z-index: 50;
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||||
<title>embedding notebook</title>
|
<title>embedding notebook</title>
|
||||||
<link rel="stylesheet" href="/static/style.css?v=15" />
|
<link rel="stylesheet" href="/static/style.css?v=16" />
|
||||||
<script src="https://unpkg.com/htmx.org@2.0.4"></script>
|
<script src="https://unpkg.com/htmx.org@2.0.4"></script>
|
||||||
<script type="importmap">
|
<script type="importmap">
|
||||||
{
|
{
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||||
<title>embedding notebook · metrics</title>
|
<title>embedding notebook · metrics</title>
|
||||||
<link rel="stylesheet" href="/static/style.css?v=15" />
|
<link rel="stylesheet" href="/static/style.css?v=16" />
|
||||||
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='3' fill='%231f4e5f'/%3E%3C/svg%3E" />
|
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='3' fill='%231f4e5f'/%3E%3C/svg%3E" />
|
||||||
<script>
|
<script>
|
||||||
(function(){try{
|
(function(){try{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user