From fabe19e3d993fc57cbc1102f55cdfa26ab3009c7 Mon Sep 17 00:00:00 2001 From: alyx Date: Fri, 4 Feb 2022 16:50:47 +0000 Subject: undelete the desc of the searcher... oops --- grapher/script.js | 4 ++-- grapher/style.css | 1 + index.html | 42 ++++++++++++++++++++++++++++++++++++++++++ style.css | 2 ++ 4 files changed, 47 insertions(+), 2 deletions(-) diff --git a/grapher/script.js b/grapher/script.js index 6057220..807a88d 100644 --- a/grapher/script.js +++ b/grapher/script.js @@ -55,7 +55,7 @@ function renderCurveBetweenPorts(outx, outy, inx, iny) { ctx.bezierCurveTo(cp1x, outy, cp2x, iny, inx, iny); ctx.moveTo(outx,outy); ctx.closePath(); - ctx.lineWidth = 5; + ctx.lineWidth = 3; ctx.stroke(); } @@ -263,7 +263,7 @@ window.onload = async function() { for (const point of [wire.o, wire.i]) { if (point instanceof Element) { let rects = point.getClientRects()[0]; - points.push(point == wire.i ? rects.left - remtopx(2) : rects.right + remtopx(1.5)); + points.push(point == wire.i ? rects.left - remtopx(1.5) : rects.right + remtopx(1.1)); points.push((rects.top + rects.bottom) / 2); } else { points.push(point.x); diff --git a/grapher/style.css b/grapher/style.css index 793d213..650faba 100644 --- a/grapher/style.css +++ b/grapher/style.css @@ -28,6 +28,7 @@ body { "searcher graph"; grid-column-gap: 0; grid-row-gap: 0; + --chip-scale: 1.5rem !important; } iframe#searcher { diff --git a/index.html b/index.html index 5ec2753..82fa43f 100644 --- a/index.html +++ b/index.html @@ -100,6 +100,48 @@

text for button 3

text for button 4

--> +

The Basics

+
+

The chip searcher is a simple program. + To get started, simply type the name of the chip you'd like to know about into the top box. + By default, the searcher will automatically refresh the results as you type.

+

Different types of chips

+ +

Neither form of deprecated chip will display by default.

+

Options

+
+

The chip searcher supports the following configuration + options, contained in the fold-out menu below the search bar.

+

Toggles

+
+ +

Fuzzy Finder

+
+ +

Search By

+
+ +

Items Per Page

+
+

Configures the number of items that will appear in each page. Defaults to 12.

+ \ No newline at end of file diff --git a/style.css b/style.css index 9cbd04f..d45a04a 100644 --- a/style.css +++ b/style.css @@ -1,5 +1,7 @@ @import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap'); +body { +} html { --foreforeground: #3788ae; --foreground: #082f41; -- cgit v1.2.3-54-g00ecf