diff options
Diffstat (limited to 'grapher')
-rw-r--r-- | grapher/index.html | 9 | ||||
-rw-r--r-- | grapher/style.css | 6 |
2 files changed, 7 insertions, 8 deletions
diff --git a/grapher/index.html b/grapher/index.html index 4a70153..b81b31b 100644 --- a/grapher/index.html +++ b/grapher/index.html @@ -10,17 +10,12 @@ <link crossorigin href="/oi.css" rel="stylesheet" type="text/css"> <link crossorigin href="style.css" rel="stylesheet" type="text/css" /> <link crossorigin href="/lib/chips.css" rel="stylesheet" type="text/css" /> - - <link crossorigin href="/lib/util.js" rel="preload" as="script"/> - <link crossorigin href="/lib/chips.js" rel="preload" as="script"/> - <link crossorigin href="script.js" rel="preload" as="script"/> - <link crossorigin href="/oi.css" rel="preload" as="style"/> - <link crossorigin href="/lib/chips.css" rel="preload" as="style"/> - <link crossorigin href="style.css" rel="preload" as="style"/> + <link crossorigin href="/circuits.json" rel="preload" as="fetch"/> <link crossorigin href="https://raw.githubusercontent.com/tyleo-rec/CircuitsV2Resources/master/misc/circuitsv2.json" rel="preload" as="fetch"/> <script crossorigin src="/lib/util.js"></script> + <script crossorigin src="/lib/types.js"></script> <script crossorigin src="/lib/chips.js"></script> <script crossorigin src="script.js"></script> <noscript><style> #searcher, #graph, #canvas { display: none } </style></noscript> diff --git a/grapher/style.css b/grapher/style.css index 7b9f51e..119452c 100644 --- a/grapher/style.css +++ b/grapher/style.css @@ -245,4 +245,8 @@ button:hover { background: var(--foreforeground); } -a {color: white;}
\ No newline at end of file +a {color: white;} + +#searchbox:not([open]) + #graph :is(.exec, .float, .int, .bool, .string, .special, .any):hover + .type { + left: calc(var(--mouse-x) + 10px - (var(--chipOffsetX) * 1px) + 13cm); +}
\ No newline at end of file |