From 586210cef456449f0a9c762197e462fc62579aa2 Mon Sep 17 00:00:00 2001 From: Stephen Fluin Date: Mon, 26 Apr 2021 15:53:38 -0700 Subject: [PATCH] implement style improvements Requested design changes. Remade all remix buttons into a simpler style. Fix #28 --- _includes/_search.html | 5 +- _includes/main.liquid | 97 +++++----- _includes/squash.js | 34 ++-- _includes/still-questions.liquid | 11 ++ _src/docs.css | 182 +++++++++--------- _src/prism.css | 2 +- chainlink-nodes.md | 84 +++----- contracts.md | 79 +++----- .../bookmaker-ratings-oracle.md | 6 +- .../chainlink-alarm-clock.md | 6 +- .../ciphertrace-defi-compli-oracle.md | 6 +- .../dns-ownership-oracle.md | 6 +- docs/Data Provider Nodes/dxfeed-oracle.md | 6 +- .../Data Provider Nodes/genesis-volatility.md | 6 +- docs/Data Provider Nodes/geodb-oracle-node.md | 6 +- .../kraken-rates-oracle-node.md | 6 +- docs/Data Provider Nodes/lcx-testnet.md | 6 +- .../therundown-oracle-node.md | 6 +- .../tiingo-eod-stock-price-oracle.md | 6 +- docs/Data Provider Nodes/watchsignals.md | 6 +- .../tutorials/advanced-tutorial.md | 6 +- .../tutorials/beginners-tutorial.md | 31 ++- .../tutorials/intermediates-tutorial.md | 6 +- docs/Using Any API/existing-job-request.md | 6 +- docs/Using Any API/make-a-http-get-request.md | 6 +- .../get-the-latest-price.html | 2 +- .../historical-price-data.html | 14 +- .../reference-contracts/ens.html | 4 +- docs/Using Randomness/get-a-random-number.md | 8 +- 29 files changed, 262 insertions(+), 387 deletions(-) create mode 100644 _includes/still-questions.liquid diff --git a/_includes/_search.html b/_includes/_search.html index 46ac107c00d..c79003bd1f6 100644 --- a/_includes/_search.html +++ b/_includes/_search.html @@ -52,7 +52,7 @@ } @@ -161,6 +161,9 @@ 'event_category': 'docs-engagement', 'search_term': query, }); + const path = 'https://docs2-cl-default-rtdb.firebaseio.com/search.json'; + const data = {query,time:Date.now(),url:window.location.href}; + SULX.post(path, JSON.stringify(data)); searchTimeout = null; },1000); console.log(searchTimeout); diff --git a/_includes/main.liquid b/_includes/main.liquid index 709eb5472f3..882f5412101 100644 --- a/_includes/main.liquid +++ b/_includes/main.liquid @@ -1,60 +1,59 @@ - - - {% unless title %} - {% assign title="Blockchain Oracles for Connected Smart Contracts" %} - {% endunless %} - {{title}} | Chainlink Documentation - - + + + {% unless title %} + {% assign title="Blockchain Oracles for Connected Smart Contracts" %} + {% endunless %} + {{title}} + | Chainlink Documentation + + - {% unless metadata.description %} - {% assign metadata.description="Chainlink is the most widely used oracle network for powering universally connected smart contracts, enabling any blockchain to access to real-world data & APIs" %} - {% endunless %} - - - - {% if metadata.image[0] %} - - - {% else %} - - - {% endif %} + {% unless metadata.description %} + {% assign metadata.description="Chainlink is the most widely used oracle network for powering universally connected smart contracts, enabling any blockchain to access to real-world data & APIs" %} + {% endunless %} + + + + {% if metadata.image[0] %} + + + {% else %} + + + {% endif %} - - - - - {% if hidden %} - - - {% endif %} + + + + + {% if hidden %} + + + {% endif %} - - - - - + + + + + - + - - + + - +