hs-mortality: inline css, now just alt text
This commit is contained in:
parent
5f41aff90a
commit
f5981c7966
3 changed files with 20 additions and 3 deletions
|
@ -14,7 +14,7 @@ export function Main({
|
||||||
...attributes
|
...attributes
|
||||||
}: {
|
}: {
|
||||||
children?: ComponentChildren;
|
children?: ComponentChildren;
|
||||||
attributes?: Attributes;
|
attributes?: JSX.HTMLAttributes;
|
||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<div {...attributes} id="main">
|
<div {...attributes} id="main">
|
||||||
|
|
|
@ -10,12 +10,19 @@
|
||||||
// img.src = a.href;
|
// img.src = a.href;
|
||||||
// a.insertAdjacentElement("afterend", img);
|
// a.insertAdjacentElement("afterend", img);
|
||||||
// })
|
// })
|
||||||
|
// pretty hopeless to try to recreate the pulsing light
|
||||||
|
|
||||||
import { Main, render_and_copy, static_url } from "./common.tsx";
|
import { Main, render_and_copy, static_url } from "./common.tsx";
|
||||||
|
|
||||||
// TODO: rip a hole in the panel (for blood on back)
|
// TODO: rip a hole in the panel (for blood on back)
|
||||||
render_and_copy(
|
render_and_copy(
|
||||||
<Main>
|
<div
|
||||||
|
style={{
|
||||||
|
display: "grid",
|
||||||
|
overflow: "hidden",
|
||||||
|
gridTemplateRows: "1fr",
|
||||||
|
}}
|
||||||
|
>
|
||||||
<img
|
<img
|
||||||
id="panel"
|
id="panel"
|
||||||
src={static_url("homestuck-3853-transparent-egbertless.png")}
|
src={static_url("homestuck-3853-transparent-egbertless.png")}
|
||||||
|
@ -24,12 +31,22 @@ render_and_copy(
|
||||||
background: `url(${static_url(
|
background: `url(${static_url(
|
||||||
"incipisphere-thingie.png"
|
"incipisphere-thingie.png"
|
||||||
)}) fixed;`,
|
)}) fixed;`,
|
||||||
|
gridArea: "1/1",
|
||||||
|
margin: 0,
|
||||||
|
aspectRatio: 1,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<img
|
<img
|
||||||
id="egbert"
|
id="egbert"
|
||||||
src={static_url("homestuck-3853-egbertful.png")}
|
src={static_url("homestuck-3853-egbertful.png")}
|
||||||
alt="TODO TODO TODO TODO TODO TODO TODO TODO TODO TODO"
|
alt="TODO TODO TODO TODO TODO TODO TODO TODO TODO TODO"
|
||||||
|
style={{
|
||||||
|
gridArea: "1/1",
|
||||||
|
margin: 0,
|
||||||
|
aspectRatio: 1,
|
||||||
|
transform: "translateY(-0.15rem)",
|
||||||
|
animation: "0.15s infinite alternate-reverse linear spin",
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
</Main>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 76 KiB |
Loading…
Reference in a new issue