add fallbacks for lazy stuff loading
This commit is contained in:
parent
9bdc8d9b9c
commit
940df1efa7
@ -19,6 +19,9 @@
|
|||||||
html {
|
html {
|
||||||
font-size: var(--font-size);
|
font-size: var(--font-size);
|
||||||
// overflow-x: clip causes my browser's tab to crash with SIGILL lul
|
// overflow-x: clip causes my browser's tab to crash with SIGILL lul
|
||||||
|
|
||||||
|
// Fallback for when stuff is loading
|
||||||
|
--background: var(--bg);
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@ -370,6 +373,7 @@ nav {
|
|||||||
border: none;
|
border: none;
|
||||||
border-radius: var(--roundness);
|
border-radius: var(--roundness);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
background-color: var(--background);
|
||||||
box-shadow: var(--shadow);
|
box-shadow: var(--shadow);
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
@ -470,6 +474,7 @@ nav {
|
|||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
box-shadow: var(--shadow);
|
box-shadow: var(--shadow);
|
||||||
|
background-color: transparent;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
line-height: unset;
|
line-height: unset;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@ -502,6 +507,8 @@ textarea {
|
|||||||
|
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: var(--roundness);
|
border-radius: var(--roundness);
|
||||||
|
background-color: var(--background);
|
||||||
|
color: var(--text);
|
||||||
box-shadow: var(--shadow);
|
box-shadow: var(--shadow);
|
||||||
font-family: var(--font);
|
font-family: var(--font);
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
|
@ -174,6 +174,7 @@
|
|||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
font-family: var(--font);
|
font-family: var(--font);
|
||||||
border-radius: var(--roundness);
|
border-radius: var(--roundness);
|
||||||
|
background-color: var(--background);
|
||||||
position: relative;
|
position: relative;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
padding: 6px 1em;
|
padding: 6px 1em;
|
||||||
|
Loading…
Reference in New Issue
Block a user