diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2022-04-23 18:17:12 -0230 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2022-04-23 20:03:08 -0230 |
| commit | 5ad2cb5fd0ff73db8263dda792e69508873f1de2 (patch) | |
| tree | 5351393a4cf035a64dbb9be993c86b984fd0e76c /htdocs/css/syntax.css | |
| parent | 0c4551dee05609e484221fe40827cf36a9966a93 (diff) | |
| download | samanthony.xyz-5ad2cb5fd0ff73db8263dda792e69508873f1de2.zip | |
add index page
Diffstat (limited to 'htdocs/css/syntax.css')
| -rw-r--r-- | htdocs/css/syntax.css | 19 |
1 files changed, 19 insertions, 0 deletions
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; } |