dece
This commit is contained in:
@@ -229,6 +229,7 @@ body {
|
|||||||
color: var(--color-text);
|
color: var(--color-text);
|
||||||
transition: background-color 500ms ease-in-out;
|
transition: background-color 500ms ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-typewriter="animated"] [data-char-index] {
|
[data-typewriter="animated"] [data-char-index] {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
@@ -256,12 +257,6 @@ body {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
|
||||||
.cursor-block {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes blink {
|
@keyframes blink {
|
||||||
0%,
|
0%,
|
||||||
50% {
|
50% {
|
||||||
|
|||||||
20
src/app.tsx
20
src/app.tsx
@@ -200,11 +200,23 @@ function AppLayout(props: { children: any }) {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="bg-base relative h-screen overflow-x-hidden overflow-y-scroll"
|
class="bg-base relative h-screen overflow-x-hidden overflow-y-scroll"
|
||||||
style={{
|
style={
|
||||||
width: `${centerWidth()}px`,
|
barsInitialized()
|
||||||
"margin-left": `${leftBarSize()}px`
|
? {
|
||||||
}}
|
width: `${centerWidth() ?? "calc(100vw - 500px)"}px`,
|
||||||
|
"margin-left": `${leftBarSize() ?? "250px"}px`
|
||||||
|
}
|
||||||
|
: {
|
||||||
|
width: "calc(100vw - 500px)",
|
||||||
|
"margin-left": "250px"
|
||||||
|
}
|
||||||
|
}
|
||||||
>
|
>
|
||||||
|
<noscript>
|
||||||
|
<div class="bg-yellow text-crust border-text fixed top-0 z-150 ml-16 border-b-2 p-4 text-center font-semibold md:ml-64">
|
||||||
|
JavaScript is disabled. Features will be limited.
|
||||||
|
</div>
|
||||||
|
</noscript>
|
||||||
<div
|
<div
|
||||||
class="py-16"
|
class="py-16"
|
||||||
onMouseUp={handleCenterTapRelease}
|
onMouseUp={handleCenterTapRelease}
|
||||||
|
|||||||
@@ -313,7 +313,7 @@ export function LeftBar() {
|
|||||||
tabindex="-1"
|
tabindex="-1"
|
||||||
ref={ref}
|
ref={ref}
|
||||||
aria-label="Main navigation"
|
aria-label="Main navigation"
|
||||||
class="border-r-overlay2 bg-base fixed z-50 h-dvh w-min border-r-2 transition-transform duration-500 ease-out md:max-w-[20%]"
|
class="border-r-overlay2 bg-base fixed z-50 h-dvh w-min border-r-2 transition-transform duration-500 ease-out"
|
||||||
classList={{
|
classList={{
|
||||||
"-translate-x-full": !leftBarVisible(),
|
"-translate-x-full": !leftBarVisible(),
|
||||||
"translate-x-0": leftBarVisible()
|
"translate-x-0": leftBarVisible()
|
||||||
|
|||||||
Reference in New Issue
Block a user