diff options
Rewrote Site in 11ty
Still need to Update the content
Diffstat (limited to '')
-rw-r--r-- | assets/main.css (renamed from assets/index.css) | 23 | ||||
-rw-r--r-- | assets/syntax.css | 102 | ||||
-rw-r--r-- | public/favicon.svg (renamed from assets/favicon.svg) | 0 |
3 files changed, 7 insertions, 118 deletions
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 diff --git a/assets/favicon.svg b/public/favicon.svg index c10bfd4..c10bfd4 100644 --- a/assets/favicon.svg +++ b/public/favicon.svg |