diff options
Diffstat (limited to 'assets')
-rw-r--r-- | assets/favicon.svg | 5 | ||||
-rw-r--r-- | assets/main.css (renamed from assets/index.css) | 23 | ||||
-rw-r--r-- | assets/syntax.css | 102 |
3 files changed, 7 insertions, 123 deletions
diff --git a/assets/favicon.svg b/assets/favicon.svg deleted file mode 100644 index c10bfd4..0000000 --- a/assets/favicon.svg +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<svg width="1024" height="1024" version="2.0" xmlns="http://www.w3.org/2000/svg"> - <path d="m537.73 236-39.053 155.84h92.002l39.43-155.84h60.082l-39.43 155.84h91.625v57.83h-105.52l-31.543 125.42h93.878v57.454h-108.52l-39.053 155.46h-60.082l39.43-155.46h-92.376l-39.43 155.46h-59.707l39.053-155.46h-96.883v-57.454h111.53l31.543-125.42h-99.888v-57.83h113.78l39.053-155.84zm39.053 213.67h-92.002l-31.543 125.42h92.376z" dominant-baseline="central" fill="#8b0000" stroke-width=".7512" style="fill:#501616" aria-label="#"/> -</svg> - diff --git a/assets/index.css b/assets/main.css index 4d7c6c0..be1f030 100644 --- a/assets/index.css +++ b/assets/main.css @@ -4,10 +4,6 @@ box-sizing: border-box; } -:root { - color-scheme: dark light; -} - body { text-align: justify; } @@ -17,15 +13,6 @@ body { text-decoration: underline; } -* .header-anchor:any-link { - text-decoration: inherit; -} - -* .header-anchor:any-link:hover, -* .header-anchor:any-link:active { - font-style: inherit; -} - figcaption, caption { text-align: center; @@ -47,6 +34,7 @@ textarea { padding: 1rem; margin: auto; text-align: center; + height: auto; } figure, @@ -108,7 +96,8 @@ a[href^="mailto:"]::after { content: "📧"; } -.side ,aside { +.side, +aside { max-width: 40%; margin: 1rem; float: right; @@ -119,7 +108,9 @@ aside { } @media (max-width: 30rem) { - .side, aside { + + .side, + aside { margin: inherit; max-width: 100%; float: none; @@ -224,4 +215,4 @@ aside { break-inside: avoid; break-before: auto; } -}
\ No newline at end of file +} diff --git a/assets/syntax.css b/assets/syntax.css deleted file mode 100644 index ceee943..0000000 --- a/assets/syntax.css +++ /dev/null @@ -1,102 +0,0 @@ -/**modified from the default highlight theme**/ -.hljs-keyword, -.hljs-selector-tag, -.hljs-literal, -.hljs-section, -.hljs-link { - color: rgb(83, 83, 0); -} - -@media (prefers-color-scheme: dark) { - - .hljs-keyword, - .hljs-selector-tag, - .hljs-literal, - .hljs-section, - .hljs-link { - color: yellow; - } -} - - -.hljs-string { - color: darkviolet; -} - -@media (prefers-color-scheme: dark) { - .hljs-string { - color: violet; - } -} - -.hljs-type, -.hljs-template-tag { - color: darkblue; -} - -@media (prefers-color-scheme: dark) { - .hljs-type, - .hljs-template-tag { - color: lightblue; - } -} - -.hljs-title, -.hljs-name, -.hljs-attribute, -.hljs-symbol, -.hljs-bullet, -.hljs-built_in, -.hljs-addition, -.hljs-variable, -.hljs-template-variable { - color: darkred; -} - -@media (prefers-color-scheme: dark) { - - .hljs-title, - .hljs-name, - .hljs-attribute, - .hljs-symbol, - .hljs-bullet, - .hljs-built_in, - .hljs-addition, - .hljs-variable, - .hljs-template-variable { - color: lightcoral; - } -} - -.hljs-comment, -.hljs-quote, -.hljs-deletion, -.hljs-meta { - color: darkgreen; -} - -@media (prefers-color-scheme: dark) { - - .hljs-comment, - .hljs-quote, - .hljs-deletion, - .hljs-meta { - color: lightgreen; - } -} - -.hljs-keyword, -.hljs-selector-tag, -.hljs-literal, -.hljs-title, -.hljs-section, -.hljs-doctag, -.hljs-type, -.hljs-name, -.hljs-strong { - font-weight: bold; -} - -.hljs-emphasis { - font-style: italic; -}
\ No newline at end of file |