From 5ad2cb5fd0ff73db8263dda792e69508873f1de2 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 23 Apr 2022 18:17:12 -0230 Subject: add index page --- htdocs/css/syntax.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 htdocs/css/syntax.css (limited to 'htdocs/css/syntax.css') diff --git a/htdocs/css/syntax.css b/htdocs/css/syntax.css new file mode 100644 index 0000000..f425178 --- /dev/null +++ b/htdocs/css/syntax.css @@ -0,0 +1,19 @@ +code { + border: 0.055em solid var(--highlight-color); + border-radius: 0.5em; + padding-top: 0.2em; + padding-bottom: 0.1em; + padding-left: 0.5em; + padding-right: 0.5em; + + display: inline-block; + vertical-align: middle; + + background-color: #282828; +} + +/* HTML */ +/* Tag */ code[data-lang="html"] .t { color: var(--highlight-color); } +/* Element */ code[data-lang="html"] .e { color: #9b5712; } +/* AttributeName */ code[data-lang="html"] .an { color: #91931b; } +/* AttributeValue */ code[data-lang="html"] .av { color: red; } -- cgit v1.2.3