From 59e100238e3d4be8de99736d8ff38ec3638209ea Mon Sep 17 00:00:00 2001 From: "David E. Wheeler" Date: Fri, 1 Nov 2024 11:00:01 -0400 Subject: [PATCH] Style noscript message, update and credit icons --- README.md | 5 +++-- src/index.html | 47 ++++++++++++++++------------------------------- src/play.css | 4 ++-- 3 files changed, 21 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index fcafab9..849b30e 100644 --- a/README.md +++ b/README.md @@ -50,8 +50,8 @@ field will contain the JSON object used in examples from [RFC 9535]. Copyright (c) 2024 David E. Wheeler. Distributed under the [MIT License]. -Based on [Goldmark Playground] the [serde_json_path Sandbox], both distributed -under the [MIT License]. +Based on [Goldmark Playground] the [serde_json_path Sandbox], with icons from +[Boxicons], all distributed under the [MIT License]. [Go JSONPath Playground]: https://theory.github.io/jsonpath/playground [Go RFC 9535 JSONPath]: https://pkg.go.dev/github.com/theory/jsonpath @@ -63,3 +63,4 @@ under the [MIT License]. [privacy statement]: https://docs.github.com/en/site-policy/privacy-policies/github-general-privacy-statement [RFC 9535]: https://www.rfc-editor.org/rfc/rfc9535.html [MIT License]: https://opensource.org/license/mit + [Boxicons]: https://boxicons.com diff --git a/src/index.html b/src/index.html index dc38ec4..9a1ac1b 100644 --- a/src/index.html +++ b/src/index.html @@ -150,35 +150,17 @@

Go JSONPath Playground

About

- - - - - + About

This is the playground for github.com/theory/jsonpath, a Go package that executes

JSONPath Expressions

- - - - + JSONPath Expressions

@@ -271,9 +247,18 @@

-
- -
+
diff --git a/src/play.css b/src/play.css index 9bdefb8..46c263f 100644 --- a/src/play.css +++ b/src/play.css @@ -208,7 +208,7 @@ body ol, body dl, body table, body pre, -body details { +body details, .warn { margin-top: 0; margin-bottom: 16px; } @@ -372,7 +372,7 @@ footer > * { text-decoration: none; } -details[open] { +details[open], .warn { background-color: var(--color-canvas-muted); padding: .75rem; border: 1px solid var(--color-input-bg);