From 30004817c2bc455afc3cd6058822140d04712f0a Mon Sep 17 00:00:00 2001 From: teldra Date: Wed, 15 Jun 2022 14:48:32 +0200 Subject: [PATCH] small fixes --- .../index.de.md | 4 +- themes/buha/assets/css/article.css | 123 - themes/buha/assets/css/big.css | 49 - themes/buha/assets/css/classes.css | 64 - themes/buha/assets/css/color.css | 1700 ----------- themes/buha/assets/css/footer.css | 21 - themes/buha/assets/css/generator.css | 16 - themes/buha/assets/css/header.css | 34 - themes/buha/assets/css/main.css | 79 - themes/buha/assets/css/paginator.css | 9 - themes/buha/assets/css/pico.css | 2588 ----------------- themes/buha/assets/css/reset.css | 48 - .../buha/{static => assets}/css/visibleIf.css | 0 themes/buha/assets/scss/common.scss | 217 -- .../buha/layouts/partials/snippets/head.html | 4 +- 15 files changed, 5 insertions(+), 4951 deletions(-) delete mode 100644 themes/buha/assets/css/article.css delete mode 100644 themes/buha/assets/css/big.css delete mode 100644 themes/buha/assets/css/classes.css delete mode 100644 themes/buha/assets/css/color.css delete mode 100644 themes/buha/assets/css/footer.css delete mode 100644 themes/buha/assets/css/generator.css delete mode 100644 themes/buha/assets/css/header.css delete mode 100644 themes/buha/assets/css/main.css delete mode 100644 themes/buha/assets/css/paginator.css delete mode 100644 themes/buha/assets/css/pico.css delete mode 100644 themes/buha/assets/css/reset.css rename themes/buha/{static => assets}/css/visibleIf.css (100%) delete mode 100644 themes/buha/assets/scss/common.scss diff --git a/content/news/2022-04-04-Konzert-Katzengejammer/index.de.md b/content/news/2022-04-04-Konzert-Katzengejammer/index.de.md index d70ac561..0e9ea34c 100644 --- a/content/news/2022-04-04-Konzert-Katzengejammer/index.de.md +++ b/content/news/2022-04-04-Konzert-Katzengejammer/index.de.md @@ -9,6 +9,7 @@ foundations: ["rote_hilfe", "werbung"] covid: "Keine Masken mehr!" --- Endlich wieder nach langer Covidauszeit sind die Kitten von Katzengejammer wieder am Start. Sie werden euch einen unvergesslichen Abend voller Katzengejammer bieten. +Rindfleischetikettierungsüberwachungsaufgabenübertragungsgesetz Katzengejammer sind seit Jahren der Renner um alle Mäuse aus der Küche zu vertreiben und zum dancen im Gemüsebeet zu bewegen. Bier kostet 3 Euro, jedoch ist die Katzenmilch für euch umsonst. Bringt alle eure Hunde mit es wird ein Fest. @@ -17,11 +18,12 @@ Bier kostet 3 Euro, jedoch ist die Katzenmilch für euch umsonst. Bringt alle eu ## Testüberschrift 1 ![lala](de_random1) -![lala](2) ![lala](de_random3) Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. +Rindfleischetikettierungsüberwachungsaufgabenübertragungsgesetz + Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. diff --git a/themes/buha/assets/css/article.css b/themes/buha/assets/css/article.css deleted file mode 100644 index c5136d39..00000000 --- a/themes/buha/assets/css/article.css +++ /dev/null @@ -1,123 +0,0 @@ -article { - flex-grow: 1; - flex-shrink: 0; - margin-bottom: 2rem; - border-radius: 10px; - align-items: stretch; -} - -.articletitle h2 { - margin-top: 0; -} - -article a { - text-decoration: underline; -} - -.article_list a { - text-decoration: none; -} - -article p:first-child { - margin-top: 0; -} - -article .readmore { - margin-top: 1rem; -} - -.articlemeta { - margin-bottom: 1rem; - margin-left: .3rem; -} - -.articletext img { - width: 80%; -} - -.articlemeta div:first-child { - font-size: medium; - font-weight: bold; -} - -.articletext { - margin-bottom: 1rem; - /* These are technically the same, but use both */ - overflow-wrap: break-word; - word-wrap: break-word; - - -ms-word-break: break-all; - /* This is the dangerous one in WebKit, as it breaks things wherever */ - word-break: break-all; - /* Instead use this non-standard one: */ - word-break: break-word; - - /* Adds a hyphen where the word breaks, if supported (No Blink) */ - -ms-hyphens: auto; - -moz-hyphens: auto; - -webkit-hyphens: auto; - hyphens: auto; -} - -.multiple_small { - flex: 0 0 24%; - margin-right: 1rem; -} - -.multiple_big { - flex: 0 1 72%; -} - -.multiple_medium { - flex: 0 1 50%; -} - -.solo { - flex: 0 0 100%; -} - -.articleinner { - display: flex; - flex-direction: column-reverse; -} - -.article_footer { - margin-left: 1rem; - margin-right: 1rem; - margin-top: 0rem; - margin-bottom: 0rem; - display: flex; - flex-direction: column; - align-items: stretch; - font-size: x-small; - color: var(--text-muted); -} - -.article_footer_foundations1 { - display: flex; - height: 3rem; -} - -.article_footer_foundations2 { - display: flex; - justify-content: space-between; - margin-top: 1rem; -} - -.article_footer_item1 { - display: flex; - flex-grow: 0; - height: 3rem; - margin-right: 1rem; - margin-top: .1rem; -} - -.article_footer_item2 { - display: flex; - flex-grow: 0; - flex-direction: column; -} - -.index_section { - width: 100%; -} diff --git a/themes/buha/assets/css/big.css b/themes/buha/assets/css/big.css deleted file mode 100644 index 86bd9520..00000000 --- a/themes/buha/assets/css/big.css +++ /dev/null @@ -1,49 +0,0 @@ -@media only screen and (min-width: 600px) { - content { - min-height: 60vh; - } - details { - display: none; - } - #sidebar { - display: flex; - flex-direction: column; - margin-left: 2rem; - } - #main { - padding-top: 1rem; - } - footer { - padding-left: 10px; - padding-right: 10px; - flex-direction: row; - } - .infobox { - text-align: left; - } - .minmax { - width: calc(100vw - 5rem); - max-width: 800px; - } - article { - margin-left: 1rem; - } - .articlemeta { - margin-bottom: 1.5rem; - } - .articletext { - margin-top: -0.4rem; - } - .articleinner { - display: flex; - flex-direction: column; - } - .index_section { - width: 45%; - } - - .height32 { -/* min-height: 30rem;*/ - } - -} diff --git a/themes/buha/assets/css/classes.css b/themes/buha/assets/css/classes.css deleted file mode 100644 index 87ef5577..00000000 --- a/themes/buha/assets/css/classes.css +++ /dev/null @@ -1,64 +0,0 @@ -.minmax { - width: auto; - max-width: auto; -} - -.dfjcc { - display: flex; - justify-content: center; -} - -.stretch { - display: flex; - flex-direction: column; - align-items: stretch; -} - -.grow { - flex-grow: 1; -} - -.column { - display: flex; - flex-direction: column; -} - -.style_less { - list-style: none; -} - -.font_size_smaller { - font-size: smaller; -} - -.margin_right_1rem { - margin-right: 1rem; -} - -.margin_top_1rem { - margin-top: 1.1rem; -} - -.underline { - text-decoration: underline; -} - -.align_menu { - list-style: none; - text-align: right; - margin-bottom: .3rem; -} - -.notgrow { - display: flex; flex-grow: 0; -} - -.min_height { - min-height: 50vh; - min-width: auto; -} - -.no_underline { - text-decoration: none; -} - diff --git a/themes/buha/assets/css/color.css b/themes/buha/assets/css/color.css deleted file mode 100644 index a7224b58..00000000 --- a/themes/buha/assets/css/color.css +++ /dev/null @@ -1,1700 +0,0 @@ -/** - * Automatic version: - * Uses light theme by default but switches to dark theme - * if a system-wide theme preference is set on the user's device. - */ - -:root { - --background-body: #5d5d5d; - --background: #c8c3be; - --background-alt: #959595; - --selection: #9e9e9e; - --text-main: #363636; - --text-bright: #000; - --text-muted: #4e5459; - --text-header: #dbdbdb; - --links: #363636; - --focus: #0096bfab; - --border: #dbdbdb; - --code: #000; - --animation-duration: 0.1s; - --button-base: #d0cfcf; - --button-hover: #9b9b9b; - --scrollbar-thumb: rgb(170, 170, 170); - --scrollbar-thumb-hover: var(--button-hover); - --form-placeholder: #949494; - --form-text: #1d1d1d; - --variable: #39a33c; - --highlight: #ff0; - --select-arrow: url("data:image/svg+xml;charset=utf-8,%3C?xml version='1.0' encoding='utf-8'?%3E %3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' height='62.5' width='116.9' fill='%23161f27'%3E %3Cpath d='M115.3,1.6 C113.7,0 111.1,0 109.5,1.6 L58.5,52.7 L7.4,1.6 C5.8,0 3.2,0 1.6,1.6 C0,3.2 0,5.8 1.6,7.4 L55.5,61.3 C56.3,62.1 57.3,62.5 58.4,62.5 C59.4,62.5 60.5,62.1 61.3,61.3 L115.2,7.4 C116.9,5.8 116.9,3.2 115.3,1.6Z'/%3E %3C/svg%3E"); -} - -@media (prefers-color-scheme: dark) { -:root { - --background-body: #202b38; - --background: #161f27; - --background-alt: #1a242f; - --selection: #1c76c5; - --text-main: #dbdbdb; - --text-bright: #fff; - --text-muted: #a9b1ba; - --text-header: #dbdbdb; - --links: #dbdbdb; - --focus: #0096bfab; - --border: #526980; - --code: #ffbe85; - --animation-duration: 0.1s; - --button-base: #0c151c; - --button-hover: #040a0f; - --scrollbar-thumb: var(--button-hover); - --scrollbar-thumb-hover: rgb(0, 0, 0); - --form-placeholder: #a9a9a9; - --form-text: #fff; - --variable: #d941e2; - --highlight: #efdb43; - --select-arrow: url("data:image/svg+xml;charset=utf-8,%3C?xml version='1.0' encoding='utf-8'?%3E %3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' height='62.5' width='116.9' fill='%23efefef'%3E %3Cpath d='M115.3,1.6 C113.7,0 111.1,0 109.5,1.6 L58.5,52.7 L7.4,1.6 C5.8,0 3.2,0 1.6,1.6 C0,3.2 0,5.8 1.6,7.4 L55.5,61.3 C56.3,62.1 57.3,62.5 58.4,62.5 C59.4,62.5 60.5,62.1 61.3,61.3 L115.2,7.4 C116.9,5.8 116.9,3.2 115.3,1.6Z'/%3E %3C/svg%3E"); -} -} - -html { - scrollbar-color: rgb(170, 170, 170) #fff; - scrollbar-color: var(--scrollbar-thumb) var(--background-body); - scrollbar-width: thin; -} - -svg { - fill: black; -} - -@media (prefers-color-scheme: dark) { - svg { - fill: white; - } -} - -@media (prefers-color-scheme: dark) { - - html { - scrollbar-color: #040a0f #202b38; - scrollbar-color: var(--scrollbar-thumb) var(--background-body); - } -} - -@media (prefers-color-scheme: dark) { - - html { - scrollbar-color: #040a0f #202b38; - scrollbar-color: var(--scrollbar-thumb) var(--background-body); - } -} - -@media (prefers-color-scheme: dark) { - - html { - scrollbar-color: #040a0f #202b38; - scrollbar-color: var(--scrollbar-thumb) var(--background-body); - } -} - -@media (prefers-color-scheme: dark) { - - html { - scrollbar-color: #040a0f #202b38; - scrollbar-color: var(--scrollbar-thumb) var(--background-body); - } -} - -@media (prefers-color-scheme: dark) { - - html { - scrollbar-color: #040a0f #202b38; - scrollbar-color: var(--scrollbar-thumb) var(--background-body); - } -} - -@media (prefers-color-scheme: dark) { - - html { - scrollbar-color: #040a0f #202b38; - scrollbar-color: var(--scrollbar-thumb) var(--background-body); - } -} - -body { - font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; - line-height: 1.4; - max-width: 1024px; - margin: auto; - word-wrap: break-word; - color: #363636; - color: var(--text-main); - background: #fff; - background: var(--background-body); - text-rendering: optimizeLegibility; -} - -@media (prefers-color-scheme: dark) { - - body { - background: #202b38; - background: var(--background-body); - } -} - -@media (prefers-color-scheme: dark) { - - body { - color: #dbdbdb; - color: var(--text-main); - } -} - -button { - transition: - background-color 0.1s linear, - border-color 0.1s linear, - color 0.1s linear, - box-shadow 0.1s linear, - transform 0.1s ease; - transition: - background-color var(--animation-duration) linear, - border-color var(--animation-duration) linear, - color var(--animation-duration) linear, - box-shadow var(--animation-duration) linear, - transform var(--animation-duration) ease; -} - -@media (prefers-color-scheme: dark) { - - button { - transition: - background-color 0.1s linear, - border-color 0.1s linear, - color 0.1s linear, - box-shadow 0.1s linear, - transform 0.1s ease; - transition: - background-color var(--animation-duration) linear, - border-color var(--animation-duration) linear, - color var(--animation-duration) linear, - box-shadow var(--animation-duration) linear, - transform var(--animation-duration) ease; - } -} - -input { - transition: - background-color 0.1s linear, - border-color 0.1s linear, - color 0.1s linear, - box-shadow 0.1s linear, - transform 0.1s ease; - transition: - background-color var(--animation-duration) linear, - border-color var(--animation-duration) linear, - color var(--animation-duration) linear, - box-shadow var(--animation-duration) linear, - transform var(--animation-duration) ease; -} - -@media (prefers-color-scheme: dark) { - - input { - transition: - background-color 0.1s linear, - border-color 0.1s linear, - color 0.1s linear, - box-shadow 0.1s linear, - transform 0.1s ease; - transition: - background-color var(--animation-duration) linear, - border-color var(--animation-duration) linear, - color var(--animation-duration) linear, - box-shadow var(--animation-duration) linear, - transform var(--animation-duration) ease; - } -} - -textarea { - transition: - background-color 0.1s linear, - border-color 0.1s linear, - color 0.1s linear, - box-shadow 0.1s linear, - transform 0.1s ease; - transition: - background-color var(--animation-duration) linear, - border-color var(--animation-duration) linear, - color var(--animation-duration) linear, - box-shadow var(--animation-duration) linear, - transform var(--animation-duration) ease; -} - -@media (prefers-color-scheme: dark) { - - textarea { - transition: - background-color 0.1s linear, - border-color 0.1s linear, - color 0.1s linear, - box-shadow 0.1s linear, - transform 0.1s ease; - transition: - background-color var(--animation-duration) linear, - border-color var(--animation-duration) linear, - color var(--animation-duration) linear, - box-shadow var(--animation-duration) linear, - transform var(--animation-duration) ease; - } -} - -h1 { - font-size: 2.2em; - margin-top: 0; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - margin-bottom: 1rem; - margin-top: 1rem; -} - -h1 { - color: #000; - color: var(--text-bright); -} - -@media (prefers-color-scheme: dark) { - - h1 { - color: #fff; - color: var(--text-bright); - } -} - -h2 { - color: #000; - color: var(--text-bright); -} - -@media (prefers-color-scheme: dark) { - - h2 { - color: #fff; - color: var(--text-bright); - } -} - -h3 { - color: #000; - color: var(--text-bright); -} - -@media (prefers-color-scheme: dark) { - - h3 { - color: #fff; - color: var(--text-bright); - } -} - -h4 { - color: #000; - color: var(--text-bright); -} - -@media (prefers-color-scheme: dark) { - - h4 { - color: #fff; - color: var(--text-bright); - } -} - -h5 { - color: #000; - color: var(--text-bright); -} - -@media (prefers-color-scheme: dark) { - - h5 { - color: #fff; - color: var(--text-bright); - } -} - -h6 { - color: #000; - color: var(--text-bright); -} - -@media (prefers-color-scheme: dark) { - - h6 { - color: #fff; - color: var(--text-bright); - } -} - -strong { - color: #000; - color: var(--text-bright); -} - -@media (prefers-color-scheme: dark) { - - strong { - color: #fff; - color: var(--text-bright); - } -} - -h1, -h2, -h3, -h4, -h5, -h6, -b, -strong, -th { - font-weight: 600; -} - -q::before { - content: none; -} - -q::after { - content: none; -} - -blockquote { - border-left: 4px solid #0096bfab; - border-left: 4px solid var(--focus); - margin: 1.5em 0; - padding: 0.5em 1em; - font-style: italic; -} - -@media (prefers-color-scheme: dark) { - - blockquote { - border-left: 4px solid #0096bfab; - border-left: 4px solid var(--focus); - } -} - -q { - border-left: 4px solid #0096bfab; - border-left: 4px solid var(--focus); - margin: 1.5em 0; - padding: 0.5em 1em; - font-style: italic; -} - -@media (prefers-color-scheme: dark) { - - q { - border-left: 4px solid #0096bfab; - border-left: 4px solid var(--focus); - } -} - -blockquote > footer { - font-style: normal; - border: 0; -} - -blockquote cite { - font-style: normal; -} - -address { - font-style: normal; -} - -a[href^='mailto\:']::before { - content: '📧 '; -} - -a[href^='tel\:']::before { - content: '📞 '; -} - -a[href^='sms\:']::before { - content: '💬 '; -} - -mark { - background-color: #ff0; - background-color: var(--highlight); - border-radius: 2px; - padding: 0 2px 0 2px; - color: #000; -} - -@media (prefers-color-scheme: dark) { - - mark { - background-color: #efdb43; - background-color: var(--highlight); - } -} - -a > code, -a > strong { - color: inherit; -} - -button, -select, -input[type='submit'], -input[type='reset'], -input[type='button'], -input[type='checkbox'], -input[type='range'], -input[type='radio'] { - cursor: pointer; -} - -input, -select { - display: block; -} - -[type='checkbox'], -[type='radio'] { - display: initial; -} - -input { - color: #1d1d1d; - color: var(--form-text); - background-color: #efefef; - background-color: var(--background); - font-family: inherit; - font-size: inherit; - margin-right: 6px; - margin-bottom: 6px; - padding: 10px; - border: none; - border-radius: 6px; - outline: none; -} - -@media (prefers-color-scheme: dark) { - - input { - background-color: #161f27; - background-color: var(--background); - } -} - -@media (prefers-color-scheme: dark) { - - input { - color: #fff; - color: var(--form-text); - } -} - -button { - color: #1d1d1d; - color: var(--form-text); - background-color: #efefef; - background-color: var(--background); - font-family: inherit; - font-size: inherit; - margin-right: 6px; - margin-bottom: 6px; - padding: 10px; - border: none; - border-radius: 6px; - outline: none; -} - -@media (prefers-color-scheme: dark) { - - button { - background-color: #161f27; - background-color: var(--background); - } -} - -@media (prefers-color-scheme: dark) { - - button { - color: #fff; - color: var(--form-text); - } -} - -textarea { - color: #1d1d1d; - color: var(--form-text); - background-color: #efefef; - background-color: var(--background); - font-family: inherit; - font-size: inherit; - margin-right: 6px; - margin-bottom: 6px; - padding: 10px; - border: none; - border-radius: 6px; - outline: none; -} - -@media (prefers-color-scheme: dark) { - - textarea { - background-color: #161f27; - background-color: var(--background); - } -} - -@media (prefers-color-scheme: dark) { - - textarea { - color: #fff; - color: var(--form-text); - } -} - -select { - color: #1d1d1d; - color: var(--form-text); - background-color: #efefef; - background-color: var(--background); - font-family: inherit; - font-size: inherit; - margin-right: 6px; - margin-bottom: 6px; - padding: 10px; - border: none; - border-radius: 6px; - outline: none; -} - -@media (prefers-color-scheme: dark) { - - select { - background-color: #161f27; - background-color: var(--background); - } -} - -@media (prefers-color-scheme: dark) { - - select { - color: #fff; - color: var(--form-text); - } -} - -button { - background-color: #d0cfcf; - background-color: var(--button-base); - padding-right: 30px; - padding-left: 30px; -} - -@media (prefers-color-scheme: dark) { - - button { - background-color: #0c151c; - background-color: var(--button-base); - } -} - -input[type='submit'] { - background-color: #d0cfcf; - background-color: var(--button-base); - padding-right: 30px; - padding-left: 30px; -} - -@media (prefers-color-scheme: dark) { - - input[type='submit'] { - background-color: #0c151c; - background-color: var(--button-base); - } -} - -input[type='reset'] { - background-color: #d0cfcf; - background-color: var(--button-base); - padding-right: 30px; - padding-left: 30px; -} - -@media (prefers-color-scheme: dark) { - - input[type='reset'] { - background-color: #0c151c; - background-color: var(--button-base); - } -} - -input[type='button'] { - background-color: #d0cfcf; - background-color: var(--button-base); - padding-right: 30px; - padding-left: 30px; -} - -@media (prefers-color-scheme: dark) { - - input[type='button'] { - background-color: #0c151c; - background-color: var(--button-base); - } -} - -button:hover { - background: #9b9b9b; - background: var(--button-hover); -} - -@media (prefers-color-scheme: dark) { - - button:hover { - background: #040a0f; - background: var(--button-hover); - } -} - -input[type='submit']:hover { - background: #9b9b9b; - background: var(--button-hover); -} - -@media (prefers-color-scheme: dark) { - - input[type='submit']:hover { - background: #040a0f; - background: var(--button-hover); - } -} - -input[type='reset']:hover { - background: #9b9b9b; - background: var(--button-hover); -} - -@media (prefers-color-scheme: dark) { - - input[type='reset']:hover { - background: #040a0f; - background: var(--button-hover); - } -} - -input[type='button']:hover { - background: #9b9b9b; - background: var(--button-hover); -} - -@media (prefers-color-scheme: dark) { - - input[type='button']:hover { - background: #040a0f; - background: var(--button-hover); - } -} - -input[type='color'] { - min-height: 2rem; - padding: 8px; - cursor: pointer; -} - -input[type='checkbox'], -input[type='radio'] { - height: 1em; - width: 1em; -} - -input[type='radio'] { - border-radius: 100%; -} - -input { - vertical-align: top; -} - -label { - vertical-align: middle; - margin-bottom: 4px; - display: inline-block; -} - -input:not([type='checkbox']):not([type='radio']), -input[type='range'], -select, -button, -textarea { - -webkit-appearance: none; -} - -textarea { - display: block; - margin-right: 0; - box-sizing: border-box; - resize: vertical; -} - -textarea:not([cols]) { - width: 100%; -} - -textarea:not([rows]) { - min-height: 40px; - height: 140px; -} - -select { - background: #efefef url("data:image/svg+xml;charset=utf-8,%3C?xml version='1.0' encoding='utf-8'?%3E %3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' height='62.5' width='116.9' fill='%23161f27'%3E %3Cpath d='M115.3,1.6 C113.7,0 111.1,0 109.5,1.6 L58.5,52.7 L7.4,1.6 C5.8,0 3.2,0 1.6,1.6 C0,3.2 0,5.8 1.6,7.4 L55.5,61.3 C56.3,62.1 57.3,62.5 58.4,62.5 C59.4,62.5 60.5,62.1 61.3,61.3 L115.2,7.4 C116.9,5.8 116.9,3.2 115.3,1.6Z'/%3E %3C/svg%3E") calc(100% - 12px) 50% / 12px no-repeat; - background: var(--background) var(--select-arrow) calc(100% - 12px) 50% / 12px no-repeat; - padding-right: 35px; -} - -@media (prefers-color-scheme: dark) { - - select { - background: #161f27 url("data:image/svg+xml;charset=utf-8,%3C?xml version='1.0' encoding='utf-8'?%3E %3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' height='62.5' width='116.9' fill='%23efefef'%3E %3Cpath d='M115.3,1.6 C113.7,0 111.1,0 109.5,1.6 L58.5,52.7 L7.4,1.6 C5.8,0 3.2,0 1.6,1.6 C0,3.2 0,5.8 1.6,7.4 L55.5,61.3 C56.3,62.1 57.3,62.5 58.4,62.5 C59.4,62.5 60.5,62.1 61.3,61.3 L115.2,7.4 C116.9,5.8 116.9,3.2 115.3,1.6Z'/%3E %3C/svg%3E") calc(100% - 12px) 50% / 12px no-repeat; - background: var(--background) var(--select-arrow) calc(100% - 12px) 50% / 12px no-repeat; - } -} - -@media (prefers-color-scheme: dark) { - - select { - background: #161f27 url("data:image/svg+xml;charset=utf-8,%3C?xml version='1.0' encoding='utf-8'?%3E %3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' height='62.5' width='116.9' fill='%23efefef'%3E %3Cpath d='M115.3,1.6 C113.7,0 111.1,0 109.5,1.6 L58.5,52.7 L7.4,1.6 C5.8,0 3.2,0 1.6,1.6 C0,3.2 0,5.8 1.6,7.4 L55.5,61.3 C56.3,62.1 57.3,62.5 58.4,62.5 C59.4,62.5 60.5,62.1 61.3,61.3 L115.2,7.4 C116.9,5.8 116.9,3.2 115.3,1.6Z'/%3E %3C/svg%3E") calc(100% - 12px) 50% / 12px no-repeat; - background: var(--background) var(--select-arrow) calc(100% - 12px) 50% / 12px no-repeat; - } -} - -@media (prefers-color-scheme: dark) { - - select { - background: #161f27 url("data:image/svg+xml;charset=utf-8,%3C?xml version='1.0' encoding='utf-8'?%3E %3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' height='62.5' width='116.9' fill='%23efefef'%3E %3Cpath d='M115.3,1.6 C113.7,0 111.1,0 109.5,1.6 L58.5,52.7 L7.4,1.6 C5.8,0 3.2,0 1.6,1.6 C0,3.2 0,5.8 1.6,7.4 L55.5,61.3 C56.3,62.1 57.3,62.5 58.4,62.5 C59.4,62.5 60.5,62.1 61.3,61.3 L115.2,7.4 C116.9,5.8 116.9,3.2 115.3,1.6Z'/%3E %3C/svg%3E") calc(100% - 12px) 50% / 12px no-repeat; - background: var(--background) var(--select-arrow) calc(100% - 12px) 50% / 12px no-repeat; - } -} - -@media (prefers-color-scheme: dark) { - - select { - background: #161f27 url("data:image/svg+xml;charset=utf-8,%3C?xml version='1.0' encoding='utf-8'?%3E %3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' height='62.5' width='116.9' fill='%23efefef'%3E %3Cpath d='M115.3,1.6 C113.7,0 111.1,0 109.5,1.6 L58.5,52.7 L7.4,1.6 C5.8,0 3.2,0 1.6,1.6 C0,3.2 0,5.8 1.6,7.4 L55.5,61.3 C56.3,62.1 57.3,62.5 58.4,62.5 C59.4,62.5 60.5,62.1 61.3,61.3 L115.2,7.4 C116.9,5.8 116.9,3.2 115.3,1.6Z'/%3E %3C/svg%3E") calc(100% - 12px) 50% / 12px no-repeat; - background: var(--background) var(--select-arrow) calc(100% - 12px) 50% / 12px no-repeat; - } -} - -select::-ms-expand { - display: none; -} - -select[multiple] { - padding-right: 10px; - background-image: none; - overflow-y: auto; -} - -input:focus { - box-shadow: 0 0 0 2px #0096bfab; - box-shadow: 0 0 0 2px var(--focus); -} - -@media (prefers-color-scheme: dark) { - - input:focus { - box-shadow: 0 0 0 2px #0096bfab; - box-shadow: 0 0 0 2px var(--focus); - } -} - -select:focus { - box-shadow: 0 0 0 2px #0096bfab; - box-shadow: 0 0 0 2px var(--focus); -} - -@media (prefers-color-scheme: dark) { - - select:focus { - box-shadow: 0 0 0 2px #0096bfab; - box-shadow: 0 0 0 2px var(--focus); - } -} - -button:focus { - box-shadow: 0 0 0 2px #0096bfab; - box-shadow: 0 0 0 2px var(--focus); -} - -@media (prefers-color-scheme: dark) { - - button:focus { - box-shadow: 0 0 0 2px #0096bfab; - box-shadow: 0 0 0 2px var(--focus); - } -} - -textarea:focus { - box-shadow: 0 0 0 2px #0096bfab; - box-shadow: 0 0 0 2px var(--focus); -} - -@media (prefers-color-scheme: dark) { - - textarea:focus { - box-shadow: 0 0 0 2px #0096bfab; - box-shadow: 0 0 0 2px var(--focus); - } -} - -input[type='checkbox']:active, -input[type='radio']:active, -input[type='submit']:active, -input[type='reset']:active, -input[type='button']:active, -input[type='range']:active, -button:active { - transform: translateY(2px); -} - -input:disabled, -select:disabled, -button:disabled, -textarea:disabled { - cursor: not-allowed; - opacity: 0.5; -} - -::-moz-placeholder { - color: #949494; - color: var(--form-placeholder); -} - -:-ms-input-placeholder { - color: #949494; - color: var(--form-placeholder); -} - -::-ms-input-placeholder { - color: #949494; - color: var(--form-placeholder); -} - -::placeholder { - color: #949494; - color: var(--form-placeholder); -} - -@media (prefers-color-scheme: dark) { - - ::-moz-placeholder { - color: #a9a9a9; - color: var(--form-placeholder); - } - - :-ms-input-placeholder { - color: #a9a9a9; - color: var(--form-placeholder); - } - - ::-ms-input-placeholder { - color: #a9a9a9; - color: var(--form-placeholder); - } - - ::placeholder { - color: #a9a9a9; - color: var(--form-placeholder); - } -} - -fieldset { - border: 1px #0096bfab solid; - border: 1px var(--focus) solid; - border-radius: 6px; - margin: 0; - margin-bottom: 12px; - padding: 10px; -} - -@media (prefers-color-scheme: dark) { - - fieldset { - border: 1px #0096bfab solid; - border: 1px var(--focus) solid; - } -} - -legend { - font-size: 0.9em; - font-weight: 600; -} - -input[type='range'] { - margin: 10px 0; - padding: 10px 0; - background: transparent; -} - -input[type='range']:focus { - outline: none; -} - -input[type='range']::-webkit-slider-runnable-track { - width: 100%; - height: 9.5px; - -webkit-transition: 0.2s; - transition: 0.2s; - background: #efefef; - background: var(--background); - border-radius: 3px; -} - -@media (prefers-color-scheme: dark) { - - input[type='range']::-webkit-slider-runnable-track { - background: #161f27; - background: var(--background); - } -} - -input[type='range']::-webkit-slider-thumb { - box-shadow: 0 1px 1px #000, 0 0 1px #0d0d0d; - height: 20px; - width: 20px; - border-radius: 50%; - background: #dbdbdb; - background: var(--border); - -webkit-appearance: none; - margin-top: -7px; -} - -@media (prefers-color-scheme: dark) { - - input[type='range']::-webkit-slider-thumb { - background: #526980; - background: var(--border); - } -} - -input[type='range']:focus::-webkit-slider-runnable-track { - background: #efefef; - background: var(--background); -} - -@media (prefers-color-scheme: dark) { - - input[type='range']:focus::-webkit-slider-runnable-track { - background: #161f27; - background: var(--background); - } -} - -input[type='range']::-moz-range-track { - width: 100%; - height: 9.5px; - -moz-transition: 0.2s; - transition: 0.2s; - background: #efefef; - background: var(--background); - border-radius: 3px; -} - -@media (prefers-color-scheme: dark) { - - input[type='range']::-moz-range-track { - background: #161f27; - background: var(--background); - } -} - -input[type='range']::-moz-range-thumb { - box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d; - height: 20px; - width: 20px; - border-radius: 50%; - background: #dbdbdb; - background: var(--border); -} - -@media (prefers-color-scheme: dark) { - - input[type='range']::-moz-range-thumb { - background: #526980; - background: var(--border); - } -} - -input[type='range']::-ms-track { - width: 100%; - height: 9.5px; - background: transparent; - border-color: transparent; - border-width: 16px 0; - color: transparent; -} - -input[type='range']::-ms-fill-lower { - background: #efefef; - background: var(--background); - border: 0.2px solid #010101; - border-radius: 3px; - box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d; -} - -@media (prefers-color-scheme: dark) { - - input[type='range']::-ms-fill-lower { - background: #161f27; - background: var(--background); - } -} - -input[type='range']::-ms-fill-upper { - background: #efefef; - background: var(--background); - border: 0.2px solid #010101; - border-radius: 3px; - box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d; -} - -@media (prefers-color-scheme: dark) { - - input[type='range']::-ms-fill-upper { - background: #161f27; - background: var(--background); - } -} - -input[type='range']::-ms-thumb { - box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d; - border: 1px solid #000; - height: 20px; - width: 20px; - border-radius: 50%; - background: #dbdbdb; - background: var(--border); -} - -@media (prefers-color-scheme: dark) { - - input[type='range']::-ms-thumb { - background: #526980; - background: var(--border); - } -} - -input[type='range']:focus::-ms-fill-lower { - background: #efefef; - background: var(--background); -} - -@media (prefers-color-scheme: dark) { - - input[type='range']:focus::-ms-fill-lower { - background: #161f27; - background: var(--background); - } -} - -input[type='range']:focus::-ms-fill-upper { - background: #efefef; - background: var(--background); -} - -@media (prefers-color-scheme: dark) { - - input[type='range']:focus::-ms-fill-upper { - background: #161f27; - background: var(--background); - } -} - -a { - text-decoration: none; - color: #0076d1; - color: var(--links); -} - -@media (prefers-color-scheme: dark) { - - a { - color: #41adff; - color: var(--links); - } -} - -a:hover { - text-decoration: underline; -} - -code { - background: #efefef; - background: var(--background); - color: #000; - color: var(--code); - padding: 2.5px 5px; - border-radius: 6px; - font-size: 1em; -} - -@media (prefers-color-scheme: dark) { - - code { - color: #ffbe85; - color: var(--code); - } -} - -@media (prefers-color-scheme: dark) { - - code { - background: #161f27; - background: var(--background); - } -} - -samp { - background: #efefef; - background: var(--background); - color: #000; - color: var(--code); - padding: 2.5px 5px; - border-radius: 6px; - font-size: 1em; -} - -@media (prefers-color-scheme: dark) { - - samp { - color: #ffbe85; - color: var(--code); - } -} - -@media (prefers-color-scheme: dark) { - - samp { - background: #161f27; - background: var(--background); - } -} - -time { - background: #efefef; - background: var(--background); - color: #000; - color: var(--code); - padding: 2.5px 5px; - border-radius: 6px; - font-size: 1em; -} - -@media (prefers-color-scheme: dark) { - - time { - color: #ffbe85; - color: var(--code); - } -} - -@media (prefers-color-scheme: dark) { - - time { - background: #161f27; - background: var(--background); - } -} - -pre > code { - padding: 10px; - display: block; - overflow-x: auto; -} - -var { - color: #39a33c; - color: var(--variable); - font-style: normal; - font-family: monospace; -} - -@media (prefers-color-scheme: dark) { - - var { - color: #d941e2; - color: var(--variable); - } -} - -kbd { - background: #efefef; - background: var(--background); - border: 1px solid #dbdbdb; - border: 1px solid var(--border); - border-radius: 2px; - color: #363636; - color: var(--text-main); - padding: 2px 4px 2px 4px; -} - -@media (prefers-color-scheme: dark) { - - kbd { - color: #dbdbdb; - color: var(--text-main); - } -} - -@media (prefers-color-scheme: dark) { - - kbd { - border: 1px solid #526980; - border: 1px solid var(--border); - } -} - -@media (prefers-color-scheme: dark) { - - kbd { - background: #161f27; - background: var(--background); - } -} - -img, -video { - max-width: 100%; - height: auto; -} - -hr { - border: none; - border-top: 1px solid #dbdbdb; - border-top: 1px solid var(--border); -} - -@media (prefers-color-scheme: dark) { - - hr { - border-top: 1px solid #526980; - border-top: 1px solid var(--border); - } -} - -table { - border-collapse: collapse; - margin-bottom: 10px; - width: 100%; - table-layout: fixed; -} - -table caption { - text-align: left; -} - -td, -th { - padding: 6px; - text-align: left; - vertical-align: top; - word-wrap: break-word; -} - -thead { - border-bottom: 1px solid #dbdbdb; - border-bottom: 1px solid var(--border); -} - -@media (prefers-color-scheme: dark) { - - thead { - border-bottom: 1px solid #526980; - border-bottom: 1px solid var(--border); - } -} - -tfoot { - border-top: 1px solid #dbdbdb; - border-top: 1px solid var(--border); -} - -@media (prefers-color-scheme: dark) { - - tfoot { - border-top: 1px solid #526980; - border-top: 1px solid var(--border); - } -} - -tbody tr:nth-child(even) { - background-color: #efefef; - background-color: var(--background); -} - -@media (prefers-color-scheme: dark) { - - tbody tr:nth-child(even) { - background-color: #161f27; - background-color: var(--background); - } -} - -tbody tr:nth-child(even) button { - background-color: #f7f7f7; - background-color: var(--background-alt); -} - -@media (prefers-color-scheme: dark) { - - tbody tr:nth-child(even) button { - background-color: #1a242f; - background-color: var(--background-alt); - } -} - -tbody tr:nth-child(even) button:hover { - background-color: #fff; - background-color: var(--background-body); -} - -@media (prefers-color-scheme: dark) { - - tbody tr:nth-child(even) button:hover { - background-color: #202b38; - background-color: var(--background-body); - } -} - -::-webkit-scrollbar { - height: 10px; - width: 10px; -} - -::-webkit-scrollbar-track { - background: #efefef; - background: var(--background); - border-radius: 6px; -} - -@media (prefers-color-scheme: dark) { - - ::-webkit-scrollbar-track { - background: #161f27; - background: var(--background); - } -} - -::-webkit-scrollbar-thumb { - background: rgb(170, 170, 170); - background: var(--scrollbar-thumb); - border-radius: 6px; -} - -@media (prefers-color-scheme: dark) { - - ::-webkit-scrollbar-thumb { - background: #040a0f; - background: var(--scrollbar-thumb); - } -} - -@media (prefers-color-scheme: dark) { - - ::-webkit-scrollbar-thumb { - background: #040a0f; - background: var(--scrollbar-thumb); - } -} - -::-webkit-scrollbar-thumb:hover { - background: #9b9b9b; - background: var(--scrollbar-thumb-hover); -} - -@media (prefers-color-scheme: dark) { - - ::-webkit-scrollbar-thumb:hover { - background: rgb(0, 0, 0); - background: var(--scrollbar-thumb-hover); - } -} - -@media (prefers-color-scheme: dark) { - - ::-webkit-scrollbar-thumb:hover { - background: rgb(0, 0, 0); - background: var(--scrollbar-thumb-hover); - } -} - -::-moz-selection { - background-color: #9e9e9e; - background-color: var(--selection); - color: #000; - color: var(--text-bright); -} - -::selection { - background-color: #9e9e9e; - background-color: var(--selection); - color: #000; - color: var(--text-bright); -} - -@media (prefers-color-scheme: dark) { - - ::-moz-selection { - color: #fff; - color: var(--text-bright); - } - - ::selection { - color: #fff; - color: var(--text-bright); - } -} - -@media (prefers-color-scheme: dark) { - - ::-moz-selection { - background-color: #1c76c5; - background-color: var(--selection); - } - - ::selection { - background-color: #1c76c5; - background-color: var(--selection); - } -} - -details { - display: flex; - flex-direction: column; - align-items: flex-start; - background-color: #f7f7f7; - background-color: var(--background-alt); - padding: 10px 10px 0; - margin: 1em 0; - border-radius: 6px; - overflow: hidden; -} - -@media (prefers-color-scheme: dark) { - - details { - background-color: #1a242f; - background-color: var(--background-alt); - } -} - -details[open] { - padding: 10px; -} - -details > :last-child { - margin-bottom: 0; -} - -details[open] summary { - margin-bottom: 10px; -} - -summary { - display: list-item; - background-color: #efefef; - background-color: var(--background); - padding: 10px; - margin: -10px -10px 0; - cursor: pointer; - outline: none; -} - -@media (prefers-color-scheme: dark) { - - summary { - background-color: #161f27; - background-color: var(--background); - } -} - -summary:hover, -summary:focus { - text-decoration: underline; -} - -details > :not(summary) { - margin-top: 0; -} - -summary::-webkit-details-marker { - color: #363636; - color: var(--text-main); -} - -@media (prefers-color-scheme: dark) { - - summary::-webkit-details-marker { - color: #dbdbdb; - color: var(--text-main); - } -} - -dialog { - background-color: #f7f7f7; - background-color: var(--background-alt); - color: #363636; - color: var(--text-main); - border: none; - border-radius: 6px; - border-color: #dbdbdb; - border-color: var(--border); - padding: 10px 30px; -} - -@media (prefers-color-scheme: dark) { - - dialog { - border-color: #526980; - border-color: var(--border); - } -} - -@media (prefers-color-scheme: dark) { - - dialog { - color: #dbdbdb; - color: var(--text-main); - } -} - -@media (prefers-color-scheme: dark) { - - dialog { - background-color: #1a242f; - background-color: var(--background-alt); - } -} - -dialog > header:first-child { - background-color: #efefef; - background-color: var(--background); - border-radius: 6px 6px 0 0; - margin: -10px -30px 10px; - padding: 10px; - text-align: center; -} - -@media (prefers-color-scheme: dark) { - - dialog > header:first-child { - background-color: #161f27; - background-color: var(--background); - } -} - -dialog::-webkit-backdrop { - background: #0000009c; - -webkit-backdrop-filter: blur(4px); - backdrop-filter: blur(4px); -} - -dialog::backdrop { - background: #0000009c; - -webkit-backdrop-filter: blur(4px); - backdrop-filter: blur(4px); -} - -footer { - border-top: 1px solid #dbdbdb; - border-top: 1px solid var(--border); - padding-top: 10px; - color: #70777f; - color: var(--text-muted); -} - -@media (prefers-color-scheme: dark) { - - footer { - color: #a9b1ba; - color: var(--text-muted); - } -} - -@media (prefers-color-scheme: dark) { - - footer { - border-top: 1px solid #526980; - border-top: 1px solid var(--border); - } -} - -body > footer { - margin-top: 40px; -} - -@media print { - body, - pre, - code, - summary, - details, - button, - input, - textarea { - background-color: #fff; - } - - button, - input, - textarea { - border: 1px solid #000; - } - - body, - h1, - h2, - h3, - h4, - h5, - h6, - pre, - code, - button, - input, - textarea, - footer, - summary, - strong { - color: #000; - } - - summary::marker { - color: #000; - } - - summary::-webkit-details-marker { - color: #000; - } - - tbody tr:nth-child(even) { - background-color: #f2f2f2; - } - - a { - color: #00f; - text-decoration: underline; - } -} diff --git a/themes/buha/assets/css/footer.css b/themes/buha/assets/css/footer.css deleted file mode 100644 index 2208eebd..00000000 --- a/themes/buha/assets/css/footer.css +++ /dev/null @@ -1,21 +0,0 @@ -footer { - display: flex; - justify-content: space-between; - flex-wrap: wrap; - margin-top: 1rem; - margin-left: 1rem; - margin-right: 1rem; - flex-direction: column-reverse; -} - -.footer_color { - color: var(--links); -} - -.infobox { - text-align: center; -} - -footer div { - margin-top: 1rem; -} diff --git a/themes/buha/assets/css/generator.css b/themes/buha/assets/css/generator.css deleted file mode 100644 index 472b4d9e..00000000 --- a/themes/buha/assets/css/generator.css +++ /dev/null @@ -1,16 +0,0 @@ -fieldset { - display: flex; flex-wrap: wrap; flex-direction: row; padding: 0; border: none; margin: 0 0 .3rem .5rem; -} - -input, textarea { - background-color: var(--background-body); - color: var(--text-link) -} - -#result { - white-space: pre; display: none; background: var(--background-body); - padding: 1rem 0 1rem 1rem; - margin-top: 1rem; - -webkit-user-select: all; - user-select: all; -} diff --git a/themes/buha/assets/css/header.css b/themes/buha/assets/css/header.css deleted file mode 100644 index edb5e59c..00000000 --- a/themes/buha/assets/css/header.css +++ /dev/null @@ -1,34 +0,0 @@ -#headerinner { - display: flex; - align-items: center; - justify-content: space-between; - flex-direction: row; - flex-wrap: wrap; - background-color: #741e94; - padding: .2rem; - padding-right: .7rem; -} - -#headerinner a { - margin-left: .8rem; - margin-top: .5rem; -} -details { - margin-top: 0; - margin-bottom: 0; -} - -summary { - background-color: var(--background-alt); - padding-bottom: .2rem; - padding-top: .2rem; - list-style: none; - text-align: right; -} - -.sticky { - position: fixed; - width: 100%; - max-width: 1024px; - background-color: var(--background-alt); -} diff --git a/themes/buha/assets/css/main.css b/themes/buha/assets/css/main.css deleted file mode 100644 index f446f618..00000000 --- a/themes/buha/assets/css/main.css +++ /dev/null @@ -1,79 +0,0 @@ -img { - border-radius: 4px; - margin-bottom: .5rem; -} - -#container { - background-color: var(--background); - background-image: linear-gradient(var(--background), var(--background-alt)); -} - -main { - min-height: 80vh; -} - -h1 { - margin-left: .4rem; - font-size: 180%; - margin-top: 0rem; -} - -#main { - padding-right: 1rem; - padding-bottom: 1rem; - display: flex; -} - -#content { - display: flex; - flex-direction: column; - flex-grow: 1; - padding: 1rem; -} - -#underline_links a { - text-decoration: underline; -} - -aside { - display: none; -} - -section { - flex-grow: 0; - flex-shrink: 0; - border-radius: 10px; - padding-left: 1rem; - padding-right: 1rem; -} - -@keyframes color { - 0% { background: #21001f; } - 20% { background: #240027; } - 40% { background: #1f001d; } - 60% { background: #1c0018; } - 80% { background: #220022; } - 100% { background: #21001f; } -} - -body { - background: #12011e; /* Fallback */ - animation: color 300s infinite linear; -} - -img.light-shadow{ - filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 0.4)); -} - -img.dark-shadow{ - filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 1)); -} - -a.light-shadow{ - text-shadow: 0px 3px 3px rgba(0, 0, 0, 0.4); -} - -a.dark-shadow{ - text-shadow: 0px 3px 3px rgba(0, 0, 0, 1); - color: white; -} diff --git a/themes/buha/assets/css/paginator.css b/themes/buha/assets/css/paginator.css deleted file mode 100644 index 679a39f6..00000000 --- a/themes/buha/assets/css/paginator.css +++ /dev/null @@ -1,9 +0,0 @@ -#pagination { - display: flex; - justify-content: center; - margin: 1rem; -} - -#pagination a { - padding-right: 1rem; -} diff --git a/themes/buha/assets/css/pico.css b/themes/buha/assets/css/pico.css deleted file mode 100644 index f7392969..00000000 --- a/themes/buha/assets/css/pico.css +++ /dev/null @@ -1,2588 +0,0 @@ -@charset "UTF-8"; -/*! - * Pico.css v1.5.0 (https://picocss.com) - * Copyright 2019-2022 - Licensed under MIT - */ -/** - * Theme: default - */ -:root { - --font-family: system-ui, -apple-system, "Segoe UI", "Roboto", "Ubuntu", - "Cantarell", "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", - "Segoe UI Symbol", "Noto Color Emoji"; - --line-height: 1.5; - --font-weight: 400; - --font-size: 16px; - --border-radius: 0.25rem; - --border-width: 1px; - --outline-width: 3px; - --spacing: 1rem; - --typography-spacing-vertical: 1.5rem; - --block-spacing-vertical: calc(var(--spacing) * 2); - --block-spacing-horizontal: var(--spacing); - --grid-spacing-vertical: 0; - --grid-spacing-horizontal: var(--spacing); - --form-element-spacing-vertical: 0.75rem; - --form-element-spacing-horizontal: 1rem; - --nav-element-spacing-vertical: 1rem; - --nav-element-spacing-horizontal: 0.5rem; - --nav-link-spacing-vertical: 0.5rem; - --nav-link-spacing-horizontal: 0.5rem; - --form-label-font-weight: var(--font-weight); - --transition: 0.2s ease-in-out; -} -@media (min-width: 576px) { - :root { - --font-size: 17px; - } -} -@media (min-width: 768px) { - :root { - --font-size: 18px; - } -} -@media (min-width: 992px) { - :root { - --font-size: 19px; - } -} -@media (min-width: 1200px) { - :root { - --font-size: 20px; - } -} - -@media (min-width: 576px) { - body > header, -body > main, -body > footer, -section { - --block-spacing-vertical: calc(var(--spacing) * 2.5); - } -} -@media (min-width: 768px) { - body > header, -body > main, -body > footer, -section { - --block-spacing-vertical: calc(var(--spacing) * 3); - } -} -@media (min-width: 992px) { - body > header, -body > main, -body > footer, -section { - --block-spacing-vertical: calc(var(--spacing) * 3.5); - } -} -@media (min-width: 1200px) { - body > header, -body > main, -body > footer, -section { - --block-spacing-vertical: calc(var(--spacing) * 4); - } -} - -@media (min-width: 576px) { - article { - --block-spacing-horizontal: calc(var(--spacing) * 1.25); - } -} -@media (min-width: 768px) { - article { - --block-spacing-horizontal: calc(var(--spacing) * 1.5); - } -} -@media (min-width: 992px) { - article { - --block-spacing-horizontal: calc(var(--spacing) * 1.75); - } -} -@media (min-width: 1200px) { - article { - --block-spacing-horizontal: calc(var(--spacing) * 2); - } -} - -dialog > article { - --block-spacing-vertical: calc(var(--spacing) * 2); - --block-spacing-horizontal: var(--spacing); -} -@media (min-width: 576px) { - dialog > article { - --block-spacing-vertical: calc(var(--spacing) * 2.5); - --block-spacing-horizontal: calc(var(--spacing) * 1.25); - } -} -@media (min-width: 768px) { - dialog > article { - --block-spacing-vertical: calc(var(--spacing) * 3); - --block-spacing-horizontal: calc(var(--spacing) * 1.5); - } -} - -a { - --text-decoration: none; -} -a.secondary, a.contrast { - --text-decoration: underline; -} - -small { - --font-size: 0.875em; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - --font-weight: 700; -} - -h1 { - --font-size: 2rem; - --typography-spacing-vertical: 3rem; -} - -h2 { - --font-size: 1.75rem; - --typography-spacing-vertical: 2.625rem; -} - -h3 { - --font-size: 1.5rem; - --typography-spacing-vertical: 2.25rem; -} - -h4 { - --font-size: 1.25rem; - --typography-spacing-vertical: 1.874rem; -} - -h5 { - --font-size: 1.125rem; - --typography-spacing-vertical: 1.6875rem; -} - -[type=checkbox], -[type=radio] { - --border-width: 2px; -} - -[type=checkbox][role=switch] { - --border-width: 3px; -} - -thead th, -thead td, -tfoot th, -tfoot td { - --border-width: 3px; -} - -:not(thead):not(tfoot) > * > td { - --font-size: 0.875em; -} - -pre, -code, -kbd, -samp { - --font-family: "Menlo", "Consolas", "Roboto Mono", "Ubuntu Monospace", - "Noto Mono", "Oxygen Mono", "Liberation Mono", monospace, - "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; -} - -kbd { - --font-weight: bolder; -} - -[data-theme=light], -:root:not([data-theme=dark]) { - color-scheme: light; - --background-color: #fff; - --color: #415462; - --h1-color: #1b2832; - --h2-color: #24333e; - --h3-color: #2c3d49; - --h4-color: #374956; - --h5-color: #415462; - --h6-color: #4d606d; - --muted-color: #73828c; - --muted-border-color: #edf0f3; - --primary: #1095c1; - --primary-hover: #08769b; - --primary-focus: rgba(16, 149, 193, 0.125); - --primary-inverse: #fff; - --secondary: #596b78; - --secondary-hover: #415462; - --secondary-focus: rgba(89, 107, 120, 0.125); - --secondary-inverse: #fff; - --contrast: #1b2832; - --contrast-hover: #000; - --contrast-focus: rgba(89, 107, 120, 0.125); - --contrast-inverse: #fff; - --mark-background-color: #fff2ca; - --mark-color: #543a26; - --ins-color: #388e3c; - --del-color: #c62828; - --blockquote-border-color: var(--muted-border-color); - --blockquote-footer-color: var(--muted-color); - --button-box-shadow: 0 0 0 rgba(0, 0, 0, 0); - --button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0); - --form-element-background-color: transparent; - --form-element-border-color: #a2afb9; - --form-element-color: var(--color); - --form-element-placeholder-color: var(--muted-color); - --form-element-active-background-color: transparent; - --form-element-active-border-color: var(--primary); - --form-element-focus-color: var(--primary-focus); - --form-element-disabled-background-color: #d5dce2; - --form-element-disabled-border-color: #a2afb9; - --form-element-disabled-opacity: 0.5; - --form-element-invalid-border-color: #c62828; - --form-element-invalid-active-border-color: #d32f2f; - --form-element-invalid-focus-color: rgba(211, 47, 47, 0.125); - --form-element-valid-border-color: #388e3c; - --form-element-valid-active-border-color: #43a047; - --form-element-valid-focus-color: rgba(67, 160, 71, 0.125); - --switch-background-color: #bbc6ce; - --switch-color: var(--primary-inverse); - --switch-checked-background-color: var(--primary); - --range-border-color: #d5dce2; - --range-active-border-color: #bbc6ce; - --range-thumb-border-color: var(--background-color); - --range-thumb-color: var(--secondary); - --range-thumb-hover-color: var(--secondary-hover); - --range-thumb-active-color: var(--primary); - --table-border-color: var(--muted-border-color); - --table-row-stripped-background-color: #f6f8f9; - --code-background-color: #edf0f3; - --code-color: var(--muted-color); - --code-kbd-background-color: var(--contrast); - --code-kbd-color: var(--contrast-inverse); - --code-tag-color: #b34d80; - --code-property-color: #3d888f; - --code-value-color: #998866; - --code-comment-color: #a2afb9; - --accordion-border-color: var(--muted-border-color); - --accordion-close-summary-color: var(--color); - --accordion-open-summary-color: var(--muted-color); - --card-background-color: var(--background-color); - --card-border-color: var(--muted-border-color); - --card-box-shadow: 0 0.125rem 1rem rgba(27, 40, 50, 0.04), - 0 0.125rem 2rem rgba(27, 40, 50, 0.08), - 0 0 0 0.0625rem rgba(27, 40, 50, 0.024); - --card-sectionning-background-color: #fbfbfc; - --dropdown-background-color: #fbfbfc; - --dropdown-border-color: #e1e6eb; - --dropdown-box-shadow: var(--card-box-shadow); - --dropdown-color: var(--color); - --dropdown-hover-background-color: #edf0f3; - --modal-overlay-background-color: rgba(213, 220, 226, 0.8); - --progress-background-color: #d5dce2; - --progress-color: var(--primary); - --loading-spinner-opacity: 0.5; - --tooltip-background-color: var(--contrast); - --tooltip-color: var(--contrast-inverse); - --icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FFF' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(65, 84, 98, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-chevron-button: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255, 255, 255, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-chevron-button-inverse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255, 255, 255, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(115, 130, 140, 0.999)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E"); - --icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(65, 84, 98, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E"); - --icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(198, 40, 40, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E"); - --icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FFF' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E"); - --icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(65, 84, 98, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E"); - --icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(65, 84, 98, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(56, 142, 60, 0.999)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); -} - -@media only screen and (prefers-color-scheme: dark) { - :root:not([data-theme=light]) { - color-scheme: dark; - --background-color: #11191f; - --color: #bbc6ce; - --h1-color: #edf0f3; - --h2-color: #e1e6eb; - --h3-color: #d5dce2; - --h4-color: #c8d1d8; - --h5-color: #bbc6ce; - --h6-color: #afbbc4; - --muted-color: #73828c; - --muted-border-color: #1f2d38; - --primary: #1095c1; - --primary-hover: #1ab3e6; - --primary-focus: rgba(16, 149, 193, 0.25); - --primary-inverse: #fff; - --secondary: #596b78; - --secondary-hover: #73828c; - --secondary-focus: rgba(115, 130, 140, 0.25); - --secondary-inverse: #fff; - --contrast: #edf0f3; - --contrast-hover: #fff; - --contrast-focus: rgba(115, 130, 140, 0.25); - --contrast-inverse: #000; - --mark-background-color: #d1c284; - --mark-color: #11191f; - --ins-color: #388e3c; - --del-color: #c62828; - --blockquote-border-color: var(--muted-border-color); - --blockquote-footer-color: var(--muted-color); - --button-box-shadow: 0 0 0 rgba(0, 0, 0, 0); - --button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0); - --form-element-background-color: #11191f; - --form-element-border-color: #374956; - --form-element-color: var(--color); - --form-element-placeholder-color: var(--muted-color); - --form-element-active-background-color: var(--form-element-background-color); - --form-element-active-border-color: var(--primary); - --form-element-focus-color: var(--primary-focus); - --form-element-disabled-background-color: #2c3d49; - --form-element-disabled-border-color: #415462; - --form-element-disabled-opacity: 0.5; - --form-element-invalid-border-color: #b71c1c; - --form-element-invalid-active-border-color: #c62828; - --form-element-invalid-focus-color: rgba(198, 40, 40, 0.25); - --form-element-valid-border-color: #2e7d32; - --form-element-valid-active-border-color: #388e3c; - --form-element-valid-focus-color: rgba(56, 142, 60, 0.25); - --switch-background-color: #374956; - --switch-color: var(--primary-inverse); - --switch-checked-background-color: var(--primary); - --range-border-color: #24333e; - --range-active-border-color: #2c3d49; - --range-thumb-border-color: var(--background-color); - --range-thumb-color: var(--secondary); - --range-thumb-hover-color: var(--secondary-hover); - --range-thumb-active-color: var(--primary); - --table-border-color: var(--muted-border-color); - --table-row-stripped-background-color: rgba(115, 130, 140, 0.05); - --code-background-color: #18232c; - --code-color: var(--muted-color); - --code-kbd-background-color: var(--contrast); - --code-kbd-color: var(--contrast-inverse); - --code-tag-color: #a65980; - --code-property-color: #599fa6; - --code-value-color: #8c8473; - --code-comment-color: #4d606d; - --accordion-border-color: var(--muted-border-color); - --accordion-active-summary-color: var(--primary); - --accordion-close-summary-color: var(--color); - --accordion-open-summary-color: var(--muted-color); - --card-background-color: #141e26; - --card-border-color: #11191f; - --card-box-shadow: 0 0.125rem 1rem rgba(0, 0, 0, 0.06), - 0 0.125rem 2rem rgba(0, 0, 0, 0.12), - 0 0 0 0.0625rem rgba(0, 0, 0, 0.036); - --card-sectionning-background-color: #18232c; - --dropdown-background-color: #1b2832; - --dropdown-border-color: #24333e; - --dropdown-box-shadow: var(--card-box-shadow); - --dropdown-color: var(--color); - --dropdown-hover-background-color: rgba(36, 51, 62, 0.75); - --modal-overlay-background-color: rgba(36, 51, 62, 0.9); - --progress-background-color: #24333e; - --progress-color: var(--primary); - --loading-spinner-opacity: 0.5; - --tooltip-background-color: var(--contrast); - --tooltip-color: var(--contrast-inverse); - --icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FFF' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(162, 175, 185, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-chevron-button: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255, 255, 255, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-chevron-button-inverse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(0, 0, 0, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(115, 130, 140, 0.999)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E"); - --icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(162, 175, 185, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E"); - --icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(183, 28, 28, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E"); - --icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FFF' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E"); - --icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(162, 175, 185, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E"); - --icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(162, 175, 185, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(46, 125, 50, 0.999)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); - } -} -[data-theme=dark] { - color-scheme: dark; - --background-color: #11191f; - --color: #bbc6ce; - --h1-color: #edf0f3; - --h2-color: #e1e6eb; - --h3-color: #d5dce2; - --h4-color: #c8d1d8; - --h5-color: #bbc6ce; - --h6-color: #afbbc4; - --muted-color: #73828c; - --muted-border-color: #1f2d38; - --primary: #1095c1; - --primary-hover: #1ab3e6; - --primary-focus: rgba(16, 149, 193, 0.25); - --primary-inverse: #fff; - --secondary: #596b78; - --secondary-hover: #73828c; - --secondary-focus: rgba(115, 130, 140, 0.25); - --secondary-inverse: #fff; - --contrast: #edf0f3; - --contrast-hover: #fff; - --contrast-focus: rgba(115, 130, 140, 0.25); - --contrast-inverse: #000; - --mark-background-color: #d1c284; - --mark-color: #11191f; - --ins-color: #388e3c; - --del-color: #c62828; - --blockquote-border-color: var(--muted-border-color); - --blockquote-footer-color: var(--muted-color); - --button-box-shadow: 0 0 0 rgba(0, 0, 0, 0); - --button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0); - --form-element-background-color: #11191f; - --form-element-border-color: #374956; - --form-element-color: var(--color); - --form-element-placeholder-color: var(--muted-color); - --form-element-active-background-color: var(--form-element-background-color); - --form-element-active-border-color: var(--primary); - --form-element-focus-color: var(--primary-focus); - --form-element-disabled-background-color: #2c3d49; - --form-element-disabled-border-color: #415462; - --form-element-disabled-opacity: 0.5; - --form-element-invalid-border-color: #b71c1c; - --form-element-invalid-active-border-color: #c62828; - --form-element-invalid-focus-color: rgba(198, 40, 40, 0.25); - --form-element-valid-border-color: #2e7d32; - --form-element-valid-active-border-color: #388e3c; - --form-element-valid-focus-color: rgba(56, 142, 60, 0.25); - --switch-background-color: #374956; - --switch-color: var(--primary-inverse); - --switch-checked-background-color: var(--primary); - --range-border-color: #24333e; - --range-active-border-color: #2c3d49; - --range-thumb-border-color: var(--background-color); - --range-thumb-color: var(--secondary); - --range-thumb-hover-color: var(--secondary-hover); - --range-thumb-active-color: var(--primary); - --table-border-color: var(--muted-border-color); - --table-row-stripped-background-color: rgba(115, 130, 140, 0.05); - --code-background-color: #18232c; - --code-color: var(--muted-color); - --code-kbd-background-color: var(--contrast); - --code-kbd-color: var(--contrast-inverse); - --code-tag-color: #a65980; - --code-property-color: #599fa6; - --code-value-color: #8c8473; - --code-comment-color: #4d606d; - --accordion-border-color: var(--muted-border-color); - --accordion-active-summary-color: var(--primary); - --accordion-close-summary-color: var(--color); - --accordion-open-summary-color: var(--muted-color); - --card-background-color: #141e26; - --card-border-color: #11191f; - --card-box-shadow: 0 0.125rem 1rem rgba(0, 0, 0, 0.06), - 0 0.125rem 2rem rgba(0, 0, 0, 0.12), - 0 0 0 0.0625rem rgba(0, 0, 0, 0.036); - --card-sectionning-background-color: #18232c; - --dropdown-background-color: #1b2832; - --dropdown-border-color: #24333e; - --dropdown-box-shadow: var(--card-box-shadow); - --dropdown-color: var(--color); - --dropdown-hover-background-color: rgba(36, 51, 62, 0.75); - --modal-overlay-background-color: rgba(36, 51, 62, 0.9); - --progress-background-color: #24333e; - --progress-color: var(--primary); - --loading-spinner-opacity: 0.5; - --tooltip-background-color: var(--contrast); - --tooltip-color: var(--contrast-inverse); - --icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FFF' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(162, 175, 185, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-chevron-button: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255, 255, 255, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-chevron-button-inverse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(0, 0, 0, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(115, 130, 140, 0.999)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E"); - --icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(162, 175, 185, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E"); - --icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(183, 28, 28, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E"); - --icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FFF' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E"); - --icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(162, 175, 185, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E"); - --icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(162, 175, 185, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(46, 125, 50, 0.999)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); -} - -/** - * Document - * Content-box & Responsive typography - */ -*, -*::before, -*::after { - box-sizing: border-box; - background-repeat: no-repeat; -} - -::before, -::after { - text-decoration: inherit; - vertical-align: inherit; -} - -:where(:root) { - -webkit-tap-highlight-color: transparent; - -webkit-text-size-adjust: 100%; - -moz-text-size-adjust: 100%; - text-size-adjust: 100%; - text-rendering: optimizeLegibility; - background-color: var(--background-color); - color: var(--color); - font-weight: var(--font-weight); - font-size: var(--font-size); - line-height: var(--line-height); - font-family: var(--font-family); - overflow-wrap: break-word; - cursor: default; - -moz-tab-size: 4; - -o-tab-size: 4; - tab-size: 4; -} - -/** - * Sectioning - * Container and responsive spacings for header, main, footer - */ -main { - display: block; -} - -body { - width: 100%; - margin: 0; -} -body > header, -body > main, -body > footer { - width: 100%; - margin-right: auto; - margin-left: auto; - padding: var(--block-spacing-vertical) 0; -} - -/** -* Container -*/ -.container, -.container-fluid { - width: 100%; - margin-right: auto; - margin-left: auto; - padding-right: var(--spacing); - padding-left: var(--spacing); -} - -@media (min-width: 576px) { - .container { - max-width: 510px; - padding-right: 0; - padding-left: 0; - } -} -@media (min-width: 768px) { - .container { - max-width: 700px; - } -} -@media (min-width: 992px) { - .container { - max-width: 920px; - } -} -@media (min-width: 1200px) { - .container { - max-width: 1130px; - } -} - -/** - * Section - * Responsive spacings for section - */ -section { - margin-bottom: var(--block-spacing-vertical); -} - -/** -* Grid -* Minimal grid system with auto-layout columns -*/ -.grid { - grid-column-gap: var(--grid-spacing-horizontal); - grid-row-gap: var(--grid-spacing-vertical); - display: grid; - grid-template-columns: 1fr; - margin: 0; -} -@media (min-width: 992px) { - .grid { - grid-template-columns: repeat(auto-fit, minmax(0%, 1fr)); - } -} -.grid > * { - min-width: 0; -} - -/** - * Horizontal scroller (
) - */ -figure { - display: block; - margin: 0; - padding: 0; - overflow-x: auto; -} -figure figcaption { - padding: calc(var(--spacing) * 0.5) 0; - color: var(--muted-color); -} - -/** - * Typography - */ -b, -strong { - font-weight: bolder; -} - -sub, -sup { - position: relative; - font-size: 0.75em; - line-height: 0; - vertical-align: baseline; -} - -sub { - bottom: -0.25em; -} - -sup { - top: -0.5em; -} - -address, -blockquote, -dl, -figure, -form, -ol, -p, -pre, -table, -ul { - margin-top: 0; - margin-bottom: var(--typography-spacing-vertical); - color: var(--color); - font-style: normal; - font-weight: var(--font-weight); - font-size: var(--font-size); -} - -a, -[role=link] { - --color: var(--primary); - --background-color: transparent; - outline: none; - background-color: var(--background-color); - color: var(--color); - -webkit-text-decoration: var(--text-decoration); - text-decoration: var(--text-decoration); - transition: background-color var(--transition), color var(--transition), box-shadow var(--transition), -webkit-text-decoration var(--transition); - transition: background-color var(--transition), color var(--transition), text-decoration var(--transition), box-shadow var(--transition); - transition: background-color var(--transition), color var(--transition), text-decoration var(--transition), box-shadow var(--transition), -webkit-text-decoration var(--transition); -} -a:is([aria-current], :hover, :active, :focus), -[role=link]:is([aria-current], :hover, :active, :focus) { - --color: var(--primary-hover); - --text-decoration: underline; -} -a:focus, -[role=link]:focus { - --background-color: var(--primary-focus); -} -a.secondary, -[role=link].secondary { - --color: var(--secondary); -} -a.secondary:is([aria-current], :hover, :active, :focus), -[role=link].secondary:is([aria-current], :hover, :active, :focus) { - --color: var(--secondary-hover); -} -a.secondary:focus, -[role=link].secondary:focus { - --background-color: var(--secondary-focus); -} -a.contrast, -[role=link].contrast { - --color: var(--contrast); -} -a.contrast:is([aria-current], :hover, :active, :focus), -[role=link].contrast:is([aria-current], :hover, :active, :focus) { - --color: var(--contrast-hover); -} -a.contrast:focus, -[role=link].contrast:focus { - --background-color: var(--contrast-focus); -} - -h1, -h2, -h3, -h4, -h5, -h6 { - margin-top: 0; - margin-bottom: var(--typography-spacing-vertical); - color: var(--color); - font-weight: var(--font-weight); - font-size: var(--font-size); - font-family: var(--font-family); -} - -h1 { - --color: var(--h1-color); -} - -h2 { - --color: var(--h2-color); -} - -h3 { - --color: var(--h3-color); -} - -h4 { - --color: var(--h4-color); -} - -h5 { - --color: var(--h5-color); -} - -h6 { - --color: var(--h6-color); -} - -:where(address, blockquote, dl, figure, form, ol, p, pre, table, ul) ~ :is(h1, h2, h3, h4, h5, h6) { - margin-top: var(--typography-spacing-vertical); -} - -hgroup, -.headings { - margin-bottom: var(--typography-spacing-vertical); -} -hgroup > *, -.headings > * { - margin-bottom: 0; -} -hgroup > *:last-child, -.headings > *:last-child { - --color: var(--muted-color); - --font-weight: unset; - font-size: 1rem; - font-family: unset; -} - -p { - margin-bottom: var(--typography-spacing-vertical); -} - -small { - font-size: var(--font-size); -} - -:where(dl, ol, ul) { - padding-right: 0; - padding-left: var(--spacing); - -webkit-padding-start: var(--spacing); - padding-inline-start: var(--spacing); - -webkit-padding-end: 0; - padding-inline-end: 0; -} -:where(dl, ol, ul) li { - margin-bottom: calc(var(--typography-spacing-vertical) * 0.25); -} - -:where(dl, ol, ul) :is(dl, ol, ul) { - margin: 0; - margin-top: calc(var(--typography-spacing-vertical) * 0.25); -} - -ul li { - list-style: square; -} - -mark { - padding: 0.125rem 0.25rem; - background-color: var(--mark-background-color); - color: var(--mark-color); - vertical-align: baseline; -} - -blockquote { - display: block; - margin: var(--typography-spacing-vertical) 0; - padding: var(--spacing); - border-right: none; - border-left: 0.25rem solid var(--blockquote-border-color); - -webkit-border-start: 0.25rem solid var(--blockquote-border-color); - border-inline-start: 0.25rem solid var(--blockquote-border-color); - -webkit-border-end: none; - border-inline-end: none; -} -blockquote footer { - margin-top: calc(var(--typography-spacing-vertical) * 0.5); - color: var(--blockquote-footer-color); -} - -abbr[title] { - border-bottom: 1px dotted; - text-decoration: none; - cursor: help; -} - -ins { - color: var(--ins-color); - text-decoration: none; -} - -del { - color: var(--del-color); -} - -::-moz-selection { - background-color: var(--primary-focus); -} - -::selection { - background-color: var(--primary-focus); -} - -/** - * Embedded content - */ -:where(audio, canvas, iframe, img, svg, video) { - vertical-align: middle; -} - -audio, -video { - display: inline-block; -} - -audio:not([controls]) { - display: none; - height: 0; -} - -:where(iframe) { - border-style: none; -} - -img { - max-width: 100%; - height: auto; - border-style: none; -} - -:where(svg:not([fill])) { - fill: currentColor; -} - -svg:not(:root) { - overflow: hidden; -} - -/** - * Button - */ -button { - margin: 0; - overflow: visible; - font-family: inherit; - text-transform: none; -} - -button, -[type=button], -[type=reset], -[type=submit] { - -webkit-appearance: button; -} - -button { - display: block; - width: 100%; - margin-bottom: var(--spacing); -} - -[role=button] { - display: inline-block; - text-decoration: none; -} - -button, -input[type=submit], -input[type=button], -input[type=reset], -[role=button] { - --background-color: var(--primary); - --border-color: var(--primary); - --color: var(--primary-inverse); - --box-shadow: var(--button-box-shadow, 0 0 0 rgba(0, 0, 0, 0)); - padding: var(--form-element-spacing-vertical) var(--form-element-spacing-horizontal); - border: var(--border-width) solid var(--border-color); - border-radius: var(--border-radius); - outline: none; - background-color: var(--background-color); - box-shadow: var(--box-shadow); - color: var(--color); - font-weight: var(--font-weight); - font-size: 1rem; - line-height: var(--line-height); - text-align: center; - cursor: pointer; - transition: background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition); -} -button:is([aria-current], :hover, :active, :focus), -input[type=submit]:is([aria-current], :hover, :active, :focus), -input[type=button]:is([aria-current], :hover, :active, :focus), -input[type=reset]:is([aria-current], :hover, :active, :focus), -[role=button]:is([aria-current], :hover, :active, :focus) { - --background-color: var(--primary-hover); - --border-color: var(--primary-hover); - --box-shadow: var(--button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)); - --color: var(--primary-inverse); -} -button:focus, -input[type=submit]:focus, -input[type=button]:focus, -input[type=reset]:focus, -[role=button]:focus { - --box-shadow: var(--button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), - 0 0 0 var(--outline-width) var(--primary-focus); -} - -:is(button, input[type=submit], input[type=button], [role=button]).secondary, -input[type=reset] { - --background-color: var(--secondary); - --border-color: var(--secondary); - --color: var(--secondary-inverse); - cursor: pointer; -} -:is(button, input[type=submit], input[type=button], [role=button]).secondary:is([aria-current], :hover, :active, :focus), -input[type=reset]:is([aria-current], :hover, :active, :focus) { - --background-color: var(--secondary-hover); - --border-color: var(--secondary-hover); - --color: var(--secondary-inverse); -} -:is(button, input[type=submit], input[type=button], [role=button]).secondary:focus, -input[type=reset]:focus { - --box-shadow: var(--button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), - 0 0 0 var(--outline-width) var(--secondary-focus); -} - -:is(button, input[type=submit], input[type=button], [role=button]).contrast { - --background-color: var(--contrast); - --border-color: var(--contrast); - --color: var(--contrast-inverse); -} -:is(button, input[type=submit], input[type=button], [role=button]).contrast:is([aria-current], :hover, :active, :focus) { - --background-color: var(--contrast-hover); - --border-color: var(--contrast-hover); - --color: var(--contrast-inverse); -} -:is(button, input[type=submit], input[type=button], [role=button]).contrast:focus { - --box-shadow: var(--button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), - 0 0 0 var(--outline-width) var(--contrast-focus); -} - -:is(button, input[type=submit], input[type=button], [role=button]).outline, -input[type=reset].outline { - --background-color: transparent; - --color: var(--primary); -} -:is(button, input[type=submit], input[type=button], [role=button]).outline:is([aria-current], :hover, :active, :focus), -input[type=reset].outline:is([aria-current], :hover, :active, :focus) { - --background-color: transparent; - --color: var(--primary-hover); -} - -:is(button, input[type=submit], input[type=button], [role=button]).outline.secondary, -input[type=reset].outline { - --color: var(--secondary); -} -:is(button, input[type=submit], input[type=button], [role=button]).outline.secondary:is([aria-current], :hover, :active, :focus), -input[type=reset].outline:is([aria-current], :hover, :active, :focus) { - --color: var(--secondary-hover); -} - -:is(button, input[type=submit], input[type=button], [role=button]).outline.contrast { - --color: var(--contrast); -} -:is(button, input[type=submit], input[type=button], [role=button]).outline.contrast:is([aria-current], :hover, :active, :focus) { - --color: var(--contrast-hover); -} - -:where(button, [type="submit"], [type="button"], [type="reset"], [role="button"])[disabled], -:where(fieldset[disabled]) :is(button, [type=submit], [type=button], [type=reset], [role=button]), -a[role=button]:not([href]) { - opacity: 0.5; - pointer-events: none; -} - -/** - * Form elements - */ -input, -optgroup, -select, -textarea { - margin: 0; - font-size: 1rem; - line-height: var(--line-height); - font-family: inherit; - letter-spacing: inherit; -} - -input { - overflow: visible; -} - -select { - text-transform: none; -} - -legend { - max-width: 100%; - padding: 0; - color: inherit; - white-space: normal; -} - -textarea { - overflow: auto; -} - -[type=checkbox], -[type=radio] { - padding: 0; -} - -::-webkit-inner-spin-button, -::-webkit-outer-spin-button { - height: auto; -} - -[type=search] { - -webkit-appearance: textfield; - outline-offset: -2px; -} - -[type=search]::-webkit-search-decoration { - -webkit-appearance: none; -} - -::-webkit-file-upload-button { - -webkit-appearance: button; - font: inherit; -} - -::-moz-focus-inner { - padding: 0; - border-style: none; -} - -:-moz-focusring { - outline: none; -} - -:-moz-ui-invalid { - box-shadow: none; -} - -::-ms-expand { - display: none; -} - -[type=file], -[type=range] { - padding: 0; - border-width: 0; -} - -input:not([type=checkbox]):not([type=radio]):not([type=range]) { - height: calc(1rem * var(--line-height) + var(--form-element-spacing-vertical) * 2 + var(--border-width) * 2); -} - -fieldset { - margin: 0; - margin-bottom: var(--spacing); - padding: 0; - border: 0; -} - -label, -fieldset legend { - display: block; - margin-bottom: calc(var(--spacing) * 0.25); - font-weight: var(--form-label-font-weight, var(--font-weight)); -} - -input:not([type=checkbox]):not([type=radio]), -select, -textarea { - width: 100%; -} - -input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]), -select, -textarea { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - padding: var(--form-element-spacing-vertical) var(--form-element-spacing-horizontal); - vertical-align: middle; -} - -input, -select, -textarea { - --background-color: var(--form-element-background-color); - --border-color: var(--form-element-border-color); - --color: var(--form-element-color); - --box-shadow: none; - border: var(--border-width) solid var(--border-color); - border-radius: var(--border-radius); - outline: none; - background-color: var(--background-color); - box-shadow: var(--box-shadow); - color: var(--color); - font-weight: var(--font-weight); - transition: background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition); -} - -input:not([type=submit]):not([type=button]):not([type=reset]):not([type=checkbox]):not([type=radio]):not([readonly]):is(:active, :focus), -:where(select, textarea):is(:active, :focus) { - --background-color: var(--form-element-active-background-color); -} - -input:not([type=submit]):not([type=button]):not([type=reset]):not([role=switch]):not([readonly]):is(:active, :focus), -:where(select, textarea):is(:active, :focus) { - --border-color: var(--form-element-active-border-color); -} - -input:not([type=submit]):not([type=button]):not([type=reset]):not([type=range]):not([type=file]):not([readonly]):focus, -select:focus, -textarea:focus { - --box-shadow: 0 0 0 var(--outline-width) var(--form-element-focus-color); -} - -input:not([type=submit]):not([type=button]):not([type=reset])[disabled], -select[disabled], -textarea[disabled], -:where(fieldset[disabled]) :is(input:not([type=submit]):not([type=button]):not([type=reset]), select, textarea) { - --background-color: var(--form-element-disabled-background-color); - --border-color: var(--form-element-disabled-border-color); - opacity: var(--form-element-disabled-opacity); - pointer-events: none; -} - -:where(input, select, textarea):not([type=checkbox]):not([type=radio])[aria-invalid] { - padding-right: calc(var(--form-element-spacing-horizontal) + 1.5rem) !important; - padding-left: var(--form-element-spacing-horizontal); - -webkit-padding-start: var(--form-element-spacing-horizontal) !important; - padding-inline-start: var(--form-element-spacing-horizontal) !important; - -webkit-padding-end: calc(var(--form-element-spacing-horizontal) + 1.5rem) !important; - padding-inline-end: calc(var(--form-element-spacing-horizontal) + 1.5rem) !important; - background-position: center right 0.75rem; - background-size: 1rem auto; - background-repeat: no-repeat; -} -:where(input, select, textarea):not([type=checkbox]):not([type=radio])[aria-invalid=false] { - background-image: var(--icon-valid); -} -:where(input, select, textarea):not([type=checkbox]):not([type=radio])[aria-invalid=true] { - background-image: var(--icon-invalid); -} -:where(input, select, textarea)[aria-invalid=false] { - --border-color: var(--form-element-valid-border-color); -} -:where(input, select, textarea)[aria-invalid=false]:is(:active, :focus) { - --border-color: var(--form-element-valid-active-border-color) !important; - --box-shadow: 0 0 0 var(--outline-width) var(--form-element-valid-focus-color) !important; -} -:where(input, select, textarea)[aria-invalid=true] { - --border-color: var(--form-element-invalid-border-color); -} -:where(input, select, textarea)[aria-invalid=true]:is(:active, :focus) { - --border-color: var(--form-element-invalid-active-border-color) !important; - --box-shadow: 0 0 0 var(--outline-width) var(--form-element-invalid-focus-color) !important; -} - -[dir=rtl] :where(input, select, textarea):not([type=checkbox]):not([type=radio])[aria-invalid], [dir=rtl] :where(input, select, textarea):not([type=checkbox]):not([type=radio])[aria-invalid=true], [dir=rtl] :where(input, select, textarea):not([type=checkbox]):not([type=radio])[aria-invalid=false] { - background-position: center left 0.75rem; -} - -input::placeholder, -input::-webkit-input-placeholder, -textarea::placeholder, -textarea::-webkit-input-placeholder, -select:invalid { - color: var(--form-element-placeholder-color); - opacity: 1; -} - -input:not([type=checkbox]):not([type=radio]), -select, -textarea { - margin-bottom: var(--spacing); -} - -select::-ms-expand { - border: 0; - background-color: transparent; -} -select:not([multiple]):not([size]) { - padding-right: calc(var(--form-element-spacing-horizontal) + 1.5rem); - padding-left: var(--form-element-spacing-horizontal); - -webkit-padding-start: var(--form-element-spacing-horizontal); - padding-inline-start: var(--form-element-spacing-horizontal); - -webkit-padding-end: calc(var(--form-element-spacing-horizontal) + 1.5rem); - padding-inline-end: calc(var(--form-element-spacing-horizontal) + 1.5rem); - background-image: var(--icon-chevron); - background-position: center right 0.75rem; - background-size: 1rem auto; - background-repeat: no-repeat; -} - -[dir=rtl] select:not([multiple]):not([size]) { - background-position: center left 0.75rem; -} - -:where(input, select, textarea) + small { - display: block; - width: 100%; - margin-top: calc(var(--spacing) * -0.75); - margin-bottom: var(--spacing); - color: var(--muted-color); -} - -label > :where(input, select, textarea) { - margin-top: calc(var(--spacing) * 0.25); -} - -/** - * Form elements - * Checkboxes & Radios - */ -[type=checkbox], -[type=radio] { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - width: 1.25em; - height: 1.25em; - margin-top: -0.125em; - margin-right: 0.375em; - margin-left: 0; - -webkit-margin-start: 0; - margin-inline-start: 0; - -webkit-margin-end: 0.375em; - margin-inline-end: 0.375em; - border-width: var(--border-width); - font-size: inherit; - vertical-align: middle; - cursor: pointer; -} -[type=checkbox]::-ms-check, -[type=radio]::-ms-check { - display: none; -} -[type=checkbox]:checked, [type=checkbox]:checked:active, [type=checkbox]:checked:focus, -[type=radio]:checked, -[type=radio]:checked:active, -[type=radio]:checked:focus { - --background-color: var(--primary); - --border-color: var(--primary); - background-image: var(--icon-checkbox); - background-position: center; - background-size: 0.75em auto; - background-repeat: no-repeat; -} -[type=checkbox] ~ label, -[type=radio] ~ label { - display: inline-block; - margin-right: 0.375em; - margin-bottom: 0; - cursor: pointer; -} - -[type=checkbox]:indeterminate { - --background-color: var(--primary); - --border-color: var(--primary); - background-image: var(--icon-minus); - background-position: center; - background-size: 0.75em auto; - background-repeat: no-repeat; -} - -[type=radio] { - border-radius: 50%; -} -[type=radio]:checked, [type=radio]:checked:active, [type=radio]:checked:focus { - --background-color: var(--primary-inverse); - border-width: 0.35em; - background-image: none; -} - -[type=checkbox][role=switch] { - --background-color: var(--switch-background-color); - --border-color: var(--switch-background-color); - --color: var(--switch-color); - width: 2.25em; - height: 1.25em; - border: var(--border-width) solid var(--border-color); - border-radius: 1.25em; - background-color: var(--background-color); - line-height: 1.25em; -} -[type=checkbox][role=switch]:focus { - --background-color: var(--switch-background-color); - --border-color: var(--switch-background-color); -} -[type=checkbox][role=switch]:checked { - --background-color: var(--switch-checked-background-color); - --border-color: var(--switch-checked-background-color); -} -[type=checkbox][role=switch]:before { - display: block; - width: calc(1.25em - (var(--border-width) * 2)); - height: 100%; - border-radius: 50%; - background-color: var(--color); - content: ""; - transition: margin 0.1s ease-in-out; -} -[type=checkbox][role=switch]:checked { - background-image: none; -} -[type=checkbox][role=switch]:checked::before { - margin-left: calc(1.125em - var(--border-width)); - -webkit-margin-start: calc(1.125em - var(--border-width)); - margin-inline-start: calc(1.125em - var(--border-width)); -} - -[type=checkbox][aria-invalid=false], -[type=checkbox]:checked[aria-invalid=false], -[type=radio][aria-invalid=false], -[type=radio]:checked[aria-invalid=false], -[type=checkbox][role=switch][aria-invalid=false], -[type=checkbox][role=switch]:checked[aria-invalid=false] { - --border-color: var(--form-element-valid-border-color); -} -[type=checkbox][aria-invalid=true], -[type=checkbox]:checked[aria-invalid=true], -[type=radio][aria-invalid=true], -[type=radio]:checked[aria-invalid=true], -[type=checkbox][role=switch][aria-invalid=true], -[type=checkbox][role=switch]:checked[aria-invalid=true] { - --border-color: var(--form-element-invalid-border-color); -} - -/** - * Form elements - * Alternatives input types (Not Checkboxes & Radios) - */ -[type=color]::-webkit-color-swatch-wrapper { - padding: 0; -} -[type=color]::-moz-focus-inner { - padding: 0; -} -[type=color]::-webkit-color-swatch { - border: 0; - border-radius: calc(var(--border-radius) * 0.5); -} -[type=color]::-moz-color-swatch { - border: 0; - border-radius: calc(var(--border-radius) * 0.5); -} - -input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file])[type=date], input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file])[type=datetime-local], input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file])[type=month], input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file])[type=time], input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file])[type=week] { - --icon-position: 0.75rem; - --icon-width: 1rem; - padding-right: calc(var(--icon-width) + var(--icon-position)); - background-image: var(--icon-date); - background-position: center right var(--icon-position); - background-size: var(--icon-width) auto; - background-repeat: no-repeat; -} -input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file])[type=time] { - background-image: var(--icon-time); -} - -[type=date]::-webkit-calendar-picker-indicator, -[type=datetime-local]::-webkit-calendar-picker-indicator, -[type=month]::-webkit-calendar-picker-indicator, -[type=time]::-webkit-calendar-picker-indicator, -[type=week]::-webkit-calendar-picker-indicator { - width: var(--icon-width); - margin-right: calc(var(--icon-width) * -1); - margin-left: var(--icon-position); - opacity: 0; -} - -[dir=rtl] :is([type=date], [type=datetime-local], [type=month], [type=time], [type=week]) { - text-align: right; -} - -[type=file] { - --color: var(--muted-color); - padding: calc(var(--form-element-spacing-vertical) * 0.5) 0; - border: 0; - border-radius: 0; - background: none; -} -[type=file]::-webkit-file-upload-button { - --background-color: var(--secondary); - --border-color: var(--secondary); - --color: var(--secondary-inverse); - margin-right: calc(var(--spacing) / 2); - margin-left: 0; - -webkit-margin-start: 0; - margin-inline-start: 0; - -webkit-margin-end: calc(var(--spacing) / 2); - margin-inline-end: calc(var(--spacing) / 2); - padding: calc(var(--form-element-spacing-vertical) * 0.5) calc(var(--form-element-spacing-horizontal) * 0.5); - border: var(--border-width) solid var(--border-color); - border-radius: var(--border-radius); - outline: none; - background-color: var(--background-color); - box-shadow: var(--box-shadow); - color: var(--color); - font-weight: var(--font-weight); - font-size: 1rem; - line-height: var(--line-height); - text-align: center; - cursor: pointer; - -webkit-transition: background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition); - transition: background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition); -} -[type=file]::file-selector-button { - --background-color: var(--secondary); - --border-color: var(--secondary); - --color: var(--secondary-inverse); - margin-right: calc(var(--spacing) / 2); - margin-left: 0; - -webkit-margin-start: 0; - margin-inline-start: 0; - -webkit-margin-end: calc(var(--spacing) / 2); - margin-inline-end: calc(var(--spacing) / 2); - padding: calc(var(--form-element-spacing-vertical) * 0.5) calc(var(--form-element-spacing-horizontal) * 0.5); - border: var(--border-width) solid var(--border-color); - border-radius: var(--border-radius); - outline: none; - background-color: var(--background-color); - box-shadow: var(--box-shadow); - color: var(--color); - font-weight: var(--font-weight); - font-size: 1rem; - line-height: var(--line-height); - text-align: center; - cursor: pointer; - transition: background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition); -} -[type=file]::-webkit-file-upload-button:is(:hover, :active, :focus) { - --background-color: var(--secondary-hover); - --border-color: var(--secondary-hover); -} -[type=file]::file-selector-button:is(:hover, :active, :focus) { - --background-color: var(--secondary-hover); - --border-color: var(--secondary-hover); -} -[type=file]::-webkit-file-upload-button { - --background-color: var(--secondary); - --border-color: var(--secondary); - --color: var(--secondary-inverse); - margin-right: calc(var(--spacing) / 2); - margin-left: 0; - -webkit-margin-start: 0; - margin-inline-start: 0; - -webkit-margin-end: calc(var(--spacing) / 2); - margin-inline-end: calc(var(--spacing) / 2); - padding: calc(var(--form-element-spacing-vertical) * 0.5) calc(var(--form-element-spacing-horizontal) * 0.5); - border: var(--border-width) solid var(--border-color); - border-radius: var(--border-radius); - outline: none; - background-color: var(--background-color); - box-shadow: var(--box-shadow); - color: var(--color); - font-weight: var(--font-weight); - font-size: 1rem; - line-height: var(--line-height); - text-align: center; - cursor: pointer; - -webkit-transition: background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition); - transition: background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition); -} -[type=file]::-webkit-file-upload-button:is(:hover, :active, :focus) { - --background-color: var(--secondary-hover); - --border-color: var(--secondary-hover); -} -[type=file]::-ms-browse { - --background-color: var(--secondary); - --border-color: var(--secondary); - --color: var(--secondary-inverse); - margin-right: calc(var(--spacing) / 2); - margin-left: 0; - margin-inline-start: 0; - margin-inline-end: calc(var(--spacing) / 2); - padding: calc(var(--form-element-spacing-vertical) * 0.5) calc(var(--form-element-spacing-horizontal) * 0.5); - border: var(--border-width) solid var(--border-color); - border-radius: var(--border-radius); - outline: none; - background-color: var(--background-color); - box-shadow: var(--box-shadow); - color: var(--color); - font-weight: var(--font-weight); - font-size: 1rem; - line-height: var(--line-height); - text-align: center; - cursor: pointer; - -ms-transition: background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition); - transition: background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition); -} -[type=file]::-ms-browse:is(:hover, :active, :focus) { - --background-color: var(--secondary-hover); - --border-color: var(--secondary-hover); -} - -[type=range] { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - width: 100%; - height: 1.25rem; - background: none; -} -[type=range]::-webkit-slider-runnable-track { - width: 100%; - height: 0.25rem; - border-radius: var(--border-radius); - background-color: var(--range-border-color); - -webkit-transition: background-color var(--transition), box-shadow var(--transition); - transition: background-color var(--transition), box-shadow var(--transition); -} -[type=range]::-moz-range-track { - width: 100%; - height: 0.25rem; - border-radius: var(--border-radius); - background-color: var(--range-border-color); - -moz-transition: background-color var(--transition), box-shadow var(--transition); - transition: background-color var(--transition), box-shadow var(--transition); -} -[type=range]::-ms-track { - width: 100%; - height: 0.25rem; - border-radius: var(--border-radius); - background-color: var(--range-border-color); - -ms-transition: background-color var(--transition), box-shadow var(--transition); - transition: background-color var(--transition), box-shadow var(--transition); -} -[type=range]::-webkit-slider-thumb { - -webkit-appearance: none; - width: 1.25rem; - height: 1.25rem; - margin-top: -0.5rem; - border: 2px solid var(--range-thumb-border-color); - border-radius: 50%; - background-color: var(--range-thumb-color); - cursor: pointer; - -webkit-transition: background-color var(--transition), transform var(--transition); - transition: background-color var(--transition), transform var(--transition); -} -[type=range]::-moz-range-thumb { - -webkit-appearance: none; - width: 1.25rem; - height: 1.25rem; - margin-top: -0.5rem; - border: 2px solid var(--range-thumb-border-color); - border-radius: 50%; - background-color: var(--range-thumb-color); - cursor: pointer; - -moz-transition: background-color var(--transition), transform var(--transition); - transition: background-color var(--transition), transform var(--transition); -} -[type=range]::-ms-thumb { - -webkit-appearance: none; - width: 1.25rem; - height: 1.25rem; - margin-top: -0.5rem; - border: 2px solid var(--range-thumb-border-color); - border-radius: 50%; - background-color: var(--range-thumb-color); - cursor: pointer; - -ms-transition: background-color var(--transition), transform var(--transition); - transition: background-color var(--transition), transform var(--transition); -} -[type=range]:hover, [type=range]:focus { - --range-border-color: var(--range-active-border-color); - --range-thumb-color: var(--range-thumb-hover-color); -} -[type=range]:active { - --range-thumb-color: var(--range-thumb-active-color); -} -[type=range]:active::-webkit-slider-thumb { - transform: scale(1.25); -} -[type=range]:active::-moz-range-thumb { - transform: scale(1.25); -} -[type=range]:active::-ms-thumb { - transform: scale(1.25); -} - -input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file])[type=search] { - -webkit-padding-start: calc(var(--form-element-spacing-horizontal) + 1.75rem); - padding-inline-start: calc(var(--form-element-spacing-horizontal) + 1.75rem); - border-radius: 5rem; - background-image: var(--icon-search); - background-position: center left 1.125rem; - background-size: 1rem auto; - background-repeat: no-repeat; -} -input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file])[type=search][aria-invalid] { - -webkit-padding-start: calc(var(--form-element-spacing-horizontal) + 1.75rem) !important; - padding-inline-start: calc(var(--form-element-spacing-horizontal) + 1.75rem) !important; - background-position: center left 1.125rem, center right 0.75rem; -} -input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file])[type=search][aria-invalid=false] { - background-image: var(--icon-search), var(--icon-valid); -} -input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file])[type=search][aria-invalid=true] { - background-image: var(--icon-search), var(--icon-invalid); -} - -[type=search]::-webkit-search-cancel-button { - -webkit-appearance: none; - display: none; -} - -[dir=rtl] :where(input):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file])[type=search] { - background-position: center right 1.125rem; -} -[dir=rtl] :where(input):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file])[type=search][aria-invalid] { - background-position: center right 1.125rem, center left 0.75rem; -} - -/** - * Table - */ -:where(table) { - width: 100%; - border-collapse: collapse; - border-spacing: 0; - text-indent: 0; -} - -th, -td { - padding: calc(var(--spacing) / 2) var(--spacing); - border-bottom: var(--border-width) solid var(--table-border-color); - color: var(--color); - font-weight: var(--font-weight); - font-size: var(--font-size); - text-align: left; - text-align: start; -} - -tfoot th, -tfoot td { - border-top: var(--border-width) solid var(--table-border-color); - border-bottom: 0; -} - -table[role=grid] tbody tr:nth-child(odd) { - background-color: var(--table-row-stripped-background-color); -} - -/** - * Code - */ -pre, -code, -kbd, -samp { - font-size: 0.875em; - font-family: var(--font-family); -} - -pre { - -ms-overflow-style: scrollbar; - overflow: auto; -} - -pre, -code, -kbd { - border-radius: var(--border-radius); - background: var(--code-background-color); - color: var(--code-color); - font-weight: var(--font-weight); - line-height: initial; -} - -code, -kbd { - display: inline-block; - padding: 0.375rem 0.5rem; -} - -pre { - display: block; - margin-bottom: var(--spacing); - overflow-x: auto; -} -pre > code { - display: block; - padding: var(--spacing); - background: none; - font-size: 14px; - line-height: var(--line-height); -} - -code b { - color: var(--code-tag-color); - font-weight: var(--font-weight); -} -code i { - color: var(--code-property-color); - font-style: normal; -} -code u { - color: var(--code-value-color); - text-decoration: none; -} -code em { - color: var(--code-comment-color); - font-style: normal; -} - -kbd { - background-color: var(--code-kbd-background-color); - color: var(--code-kbd-color); - vertical-align: baseline; -} - -/** - * Miscs - */ -hr { - height: 0; - border: 0; - border-top: 1px solid var(--muted-border-color); - color: inherit; -} - -[hidden], -template { - display: none !important; -} - -canvas { - display: inline-block; -} - -/** - * Accordion (
) - */ -details { - display: block; - margin-bottom: var(--spacing); - padding-bottom: var(--spacing); - border-bottom: var(--border-width) solid var(--accordion-border-color); -} -details summary { - line-height: 1rem; - list-style-type: none; - cursor: pointer; - transition: color var(--transition); -} -details summary:not([role]) { - color: var(--accordion-close-summary-color); -} -details summary::-webkit-details-marker { - display: none; -} -details summary::marker { - display: none; -} -details summary::-moz-list-bullet { - list-style-type: none; -} -details summary::after { - display: block; - width: 1rem; - height: 1rem; - -webkit-margin-start: calc(var(--spacing, 1rem) * 0.5); - margin-inline-start: calc(var(--spacing, 1rem) * 0.5); - float: right; - transform: rotate(-90deg); - background-image: var(--icon-chevron); - background-position: right center; - background-size: 1rem auto; - background-repeat: no-repeat; - content: ""; - transition: transform var(--transition); -} -details summary:focus { - outline: none; -} -details summary:focus:not([role=button]) { - color: var(--accordion-active-summary-color); -} -details summary[role=button] { - width: 100%; - text-align: left; -} -details summary[role=button]::after { - height: calc(1rem * var(--line-height, 1.5)); - background-image: var(--icon-chevron-button); -} -details summary[role=button]:not(.outline).contrast::after { - background-image: var(--icon-chevron-button-inverse); -} -details[open] > summary { - margin-bottom: calc(var(--spacing)); -} -details[open] > summary:not([role]):not(:focus) { - color: var(--accordion-open-summary-color); -} -details[open] > summary::after { - transform: rotate(0); -} - -[dir=rtl] details summary { - text-align: right; -} -[dir=rtl] details summary::after { - float: left; - background-position: left center; -} - -/** - * Card (
) - */ -article { - margin: var(--block-spacing-vertical) 0; - padding: var(--block-spacing-vertical) var(--block-spacing-horizontal); - border-radius: var(--border-radius); - background: var(--card-background-color); - box-shadow: var(--card-box-shadow); -} -article > header, -article > footer { - margin-right: calc(var(--block-spacing-horizontal) * -1); - margin-left: calc(var(--block-spacing-horizontal) * -1); - padding: calc(var(--block-spacing-vertical) * 0.66) var(--block-spacing-horizontal); - background-color: var(--card-sectionning-background-color); -} -article > header { - margin-top: calc(var(--block-spacing-vertical) * -1); - margin-bottom: var(--block-spacing-vertical); - border-bottom: var(--border-width) solid var(--card-border-color); -} -article > footer { - margin-top: var(--block-spacing-vertical); - margin-bottom: calc(var(--block-spacing-vertical) * -1); - border-top: var(--border-width) solid var(--card-border-color); -} - -/** - * Modal () - */ -:root { - --scrollbar-width: 0px; -} - -dialog { - display: flex; - z-index: 999; - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - align-items: center; - justify-content: center; - width: inherit; - min-width: 100%; - height: inherit; - min-height: 100%; - padding: var(--spacing); - border: 0; - background-color: var(--modal-overlay-background-color); -} -dialog article { - max-height: calc(100vh - var(--spacing) * 2); - overflow: auto; -} -@media (min-width: 576px) { - dialog article { - max-width: 510px; - } -} -@media (min-width: 768px) { - dialog article { - max-width: 700px; - } -} -dialog article > header, -dialog article > footer { - padding: calc(var(--block-spacing-vertical) * 0.5) var(--block-spacing-horizontal); -} -dialog article > header .close { - margin: 0; - margin-left: var(--spacing); - float: right; -} -dialog article > footer { - text-align: right; -} -dialog article > footer [role=button] { - margin-bottom: 0; -} -dialog article > footer [role=button]:not(:first-of-type) { - margin-left: calc(var(--spacing) * 0.5); -} -dialog article p:last-of-type { - margin: 0; -} -dialog article .close { - display: block; - width: 1rem; - height: 1rem; - margin-top: calc(var(--block-spacing-vertical) * -0.5); - margin-bottom: var(--typography-spacing-vertical); - margin-left: auto; - background-image: var(--icon-close); - background-position: center; - background-size: auto 1rem; - background-repeat: no-repeat; - opacity: 0.5; - transition: opacity var(--transition); -} -dialog article .close:is([aria-current], :hover, :active, :focus) { - opacity: 1; -} -dialog:not([open]), dialog[open=false] { - display: none; -} - -.modal-is-open { - padding-right: var(--scrollbar-width, 0px); - overflow: hidden; - pointer-events: none; -} -.modal-is-open dialog { - pointer-events: auto; -} - -:where(.modal-is-opening, .modal-is-closing) dialog, -:where(.modal-is-opening, .modal-is-closing) dialog > article { - -webkit-animation-duration: 0.2s; - animation-duration: 0.2s; - -webkit-animation-timing-function: ease-in-out; - animation-timing-function: ease-in-out; - -webkit-animation-fill-mode: both; - animation-fill-mode: both; -} -:where(.modal-is-opening, .modal-is-closing) dialog { - -webkit-animation-duration: 0.8s; - animation-duration: 0.8s; - -webkit-animation-name: fadeIn; - animation-name: fadeIn; -} -:where(.modal-is-opening, .modal-is-closing) dialog > article { - -webkit-animation-delay: 0.2s; - animation-delay: 0.2s; - -webkit-animation-name: slideInDown; - animation-name: slideInDown; -} - -.modal-is-closing dialog, -.modal-is-closing dialog > article { - -webkit-animation-delay: 0s; - animation-delay: 0s; - animation-direction: reverse; -} - -@-webkit-keyframes fadeIn { - from { - background-color: transparent; - } - to { - background-color: var(--modal-overlay-background-color); - } -} - -@keyframes fadeIn { - from { - background-color: transparent; - } - to { - background-color: var(--modal-overlay-background-color); - } -} -@-webkit-keyframes slideInDown { - from { - transform: translateY(-100%); - opacity: 0; - } - to { - transform: translateY(0); - opacity: 1; - } -} -@keyframes slideInDown { - from { - transform: translateY(-100%); - opacity: 0; - } - to { - transform: translateY(0); - opacity: 1; - } -} -/** - * Nav - */ -:where(nav li)::before { - float: left; - content: "​"; -} - -nav, -nav ul { - display: flex; -} - -nav { - justify-content: space-between; -} -nav ol, -nav ul { - align-items: center; - margin-bottom: 0; - padding: 0; - list-style: none; -} -nav ol:first-of-type, -nav ul:first-of-type { - margin-left: calc(var(--nav-element-spacing-horizontal) * -1); -} -nav ol:last-of-type, -nav ul:last-of-type { - margin-right: calc(var(--nav-element-spacing-horizontal) * -1); -} -nav li { - display: inline-block; - margin: 0; - padding: var(--nav-element-spacing-vertical) var(--nav-element-spacing-horizontal); -} -nav li > * { - --spacing: 0; -} -nav :where(a, [role="link"]) { - display: inline-block; - margin: calc(var(--nav-link-spacing-vertical) * -1) calc(var(--nav-link-spacing-horizontal) * -1); - padding: var(--nav-link-spacing-vertical) var(--nav-link-spacing-horizontal); - border-radius: var(--border-radius); - text-decoration: none; -} -nav :where(a, [role="link"]):is([aria-current], :hover, :active, :focus) { - text-decoration: none; -} -nav [role=button] { - margin-right: inherit; - margin-left: inherit; - padding: var(--nav-link-spacing-vertical) var(--nav-link-spacing-horizontal); -} - -aside nav, -aside ol, -aside ul, -aside li { - display: block; -} -aside li { - padding: calc(var(--nav-element-spacing-vertical) * 0.5) var(--nav-element-spacing-horizontal); -} -aside li a { - display: block; -} -aside li [role=button] { - margin: inherit; -} - -/** - * Progress - */ -progress { - display: inline-block; - vertical-align: baseline; -} - -progress { - -webkit-appearance: none; - -moz-appearance: none; - display: inline-block; - appearance: none; - width: 100%; - height: 0.5rem; - margin-bottom: calc(var(--spacing) * 0.5); - overflow: hidden; - border: 0; - border-radius: var(--border-radius); - background-color: var(--progress-background-color); - color: var(--progress-color); -} -progress::-webkit-progress-bar { - border-radius: var(--border-radius); - background: none; -} -progress[value]::-webkit-progress-value { - background-color: var(--progress-color); -} -progress::-moz-progress-bar { - background-color: var(--progress-color); -} -@media (prefers-reduced-motion: no-preference) { - progress:indeterminate { - background: var(--progress-background-color) linear-gradient(to right, var(--progress-color) 30%, var(--progress-background-color) 30%) top left/150% 150% no-repeat; - -webkit-animation: progressIndeterminate 1s linear infinite; - animation: progressIndeterminate 1s linear infinite; - } - progress:indeterminate[value]::-webkit-progress-value { - background-color: transparent; - } - progress:indeterminate::-moz-progress-bar { - background-color: transparent; - } -} - -@media (prefers-reduced-motion: no-preference) { - [dir=rtl] progress:indeterminate { - animation-direction: reverse; - } -} - -@-webkit-keyframes progressIndeterminate { - 0% { - background-position: 200% 0; - } - 100% { - background-position: -200% 0; - } -} - -@keyframes progressIndeterminate { - 0% { - background-position: 200% 0; - } - 100% { - background-position: -200% 0; - } -} -/** - * Dropdown ([role="list"]) - */ -details[role=list], -li[role=list] { - position: relative; -} - -details[role=list] summary + ul, -li[role=list] > ul { - display: flex; - z-index: 99; - position: absolute; - top: auto; - right: 0; - left: 0; - flex-direction: column; - margin: 0; - padding: 0; - border: var(--border-width) solid var(--dropdown-border-color); - border-radius: var(--border-radius); - border-top-right-radius: 0; - border-top-left-radius: 0; - background-color: var(--dropdown-background-color); - box-shadow: var(--card-box-shadow); - color: var(--dropdown-color); - white-space: nowrap; -} -details[role=list] summary + ul li, -li[role=list] > ul li { - width: 100%; - margin-bottom: 0; - padding: calc(var(--form-element-spacing-vertical) * 0.5) var(--form-element-spacing-horizontal); - list-style: none; -} -details[role=list] summary + ul li:first-of-type, -li[role=list] > ul li:first-of-type { - margin-top: calc(var(--form-element-spacing-vertical) * 0.5); -} -details[role=list] summary + ul li:last-of-type, -li[role=list] > ul li:last-of-type { - margin-bottom: calc(var(--form-element-spacing-vertical) * 0.5); -} -details[role=list] summary + ul li a, -li[role=list] > ul li a { - display: block; - margin: calc(var(--form-element-spacing-vertical) * -0.5) calc(var(--form-element-spacing-horizontal) * -1); - padding: calc(var(--form-element-spacing-vertical) * 0.5) var(--form-element-spacing-horizontal); - overflow: hidden; - color: var(--dropdown-color); - text-decoration: none; - text-overflow: ellipsis; -} -details[role=list] summary + ul li a:hover, -li[role=list] > ul li a:hover { - background-color: var(--dropdown-hover-background-color); -} - -details[role=list] summary::after, -li[role=list] > a::after { - display: block; - width: 1rem; - height: calc(1rem * var(--line-height, 1.5)); - -webkit-margin-start: 0.5rem; - margin-inline-start: 0.5rem; - float: right; - transform: rotate(0deg); - background-position: right center; - background-size: 1rem auto; - background-repeat: no-repeat; - content: ""; -} - -details[role=list] { - padding: 0; - border-bottom: none; -} -details[role=list] summary { - margin-bottom: 0; -} -details[role=list] summary:not([role]) { - height: calc(1rem * var(--line-height) + var(--form-element-spacing-vertical) * 2 + var(--border-width) * 2); - padding: var(--form-element-spacing-vertical) var(--form-element-spacing-horizontal); - border: var(--border-width) solid var(--form-element-border-color); - border-radius: var(--border-radius); - background-color: var(--form-element-background-color); - color: var(--form-element-placeholder-color); - line-height: inherit; - cursor: pointer; - transition: background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition); -} -details[role=list] summary:not([role]):active, details[role=list] summary:not([role]):focus { - border-color: var(--form-element-active-border-color); - background-color: var(--form-element-active-background-color); -} -details[role=list] summary:not([role]):focus { - box-shadow: 0 0 0 var(--outline-width) var(--form-element-focus-color); -} -details[role=list][open] summary { - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; -} -details[role=list][open] summary::before { - display: block; - z-index: 1; - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - background: none; - content: ""; - cursor: default; -} - -nav details[role=list] summary, -nav li[role=list] a { - display: flex; - direction: ltr; -} - -nav details[role=list] summary + ul, -nav li[role=list] > ul { - min-width: -webkit-fit-content; - min-width: -moz-fit-content; - min-width: fit-content; - border-radius: var(--border-radius); -} -nav details[role=list] summary + ul li a, -nav li[role=list] > ul li a { - border-radius: 0; -} - -nav details[role=list] summary, -nav details[role=list] summary:not([role]) { - height: auto; - padding: var(--nav-link-spacing-vertical) var(--nav-link-spacing-horizontal); -} -nav details[role=list][open] summary { - border-radius: var(--border-radius); -} -nav details[role=list] summary + ul { - margin-top: var(--outline-width); - -webkit-margin-start: 0; - margin-inline-start: 0; -} -nav details[role=list] summary[role=link] { - margin-bottom: calc(var(--nav-link-spacing-vertical) * -1); - line-height: var(--line-height); -} -nav details[role=list] summary[role=link] + ul { - margin-top: calc(var(--nav-link-spacing-vertical) + var(--outline-width)); - -webkit-margin-start: calc(var(--nav-link-spacing-horizontal) * -1); - margin-inline-start: calc(var(--nav-link-spacing-horizontal) * -1); -} - -li[role=list]:hover > ul, -li[role=list] a:active ~ ul, -li[role=list] a:focus ~ ul { - display: flex; -} -li[role=list] > ul { - display: none; - margin-top: calc(var(--nav-link-spacing-vertical) + var(--outline-width)); - -webkit-margin-start: calc(var(--nav-element-spacing-horizontal) - var(--nav-link-spacing-horizontal)); - margin-inline-start: calc(var(--nav-element-spacing-horizontal) - var(--nav-link-spacing-horizontal)); -} -li[role=list] > a::after { - background-image: var(--icon-chevron); -} - -/** - * Loading ([aria-busy=true]) - */ -[aria-busy=true] { - cursor: progress; -} - -[aria-busy=true]:not(input):not(select):not(textarea)::before { - display: inline-block; - width: 1em; - height: 1em; - border: 0.1875em solid currentColor; - border-radius: 1em; - border-right-color: transparent; - content: ""; - vertical-align: text-bottom; - vertical-align: -0.125em; - -webkit-animation: spinner 0.75s linear infinite; - animation: spinner 0.75s linear infinite; - opacity: var(--loading-spinner-opacity); -} -[aria-busy=true]:not(input):not(select):not(textarea):not(:empty)::before { - margin-right: calc(var(--spacing) * 0.5); - margin-left: 0; - -webkit-margin-start: 0; - margin-inline-start: 0; - -webkit-margin-end: calc(var(--spacing) * 0.5); - margin-inline-end: calc(var(--spacing) * 0.5); -} -[aria-busy=true]:not(input):not(select):not(textarea):empty { - text-align: center; -} - -button[aria-busy=true], -input[type=submit][aria-busy=true], -input[type=button][aria-busy=true], -input[type=reset][aria-busy=true], -a[aria-busy=true] { - pointer-events: none; -} - -@-webkit-keyframes spinner { - to { - transform: rotate(360deg); - } -} - -@keyframes spinner { - to { - transform: rotate(360deg); - } -} -/** - * Tooltip ([data-tooltip]) - */ -[data-tooltip] { - position: relative; -} -[data-tooltip]:not(a):not(button):not(input) { - border-bottom: 1px dotted; - text-decoration: none; - cursor: help; -} -[data-tooltip]::before, [data-tooltip]::after { - display: block; - z-index: 99; - position: absolute; - bottom: 100%; - left: 50%; - padding: 0.25rem 0.5rem; - overflow: hidden; - transform: translate(-50%, -0.25rem); - border-radius: var(--border-radius); - background: var(--tooltip-background-color); - content: attr(data-tooltip); - color: var(--tooltip-color); - font-style: normal; - font-weight: var(--font-weight); - font-size: 0.875rem; - text-decoration: none; - text-overflow: ellipsis; - white-space: nowrap; - opacity: 0; - pointer-events: none; -} -[data-tooltip]::after { - padding: 0; - transform: translate(-50%, 0rem); - border-top: 0.3rem solid; - border-right: 0.3rem solid transparent; - border-left: 0.3rem solid transparent; - border-radius: 0; - background-color: transparent; - content: ""; - color: var(--tooltip-background-color); -} -[data-tooltip]:focus::before, [data-tooltip]:focus::after, [data-tooltip]:hover::before, [data-tooltip]:hover::after { - opacity: 1; -} -@media (hover: hover) and (pointer: fine) { - [data-tooltip]:focus::before, [data-tooltip]:focus::after, [data-tooltip]:hover::before, [data-tooltip]:hover::after { - -webkit-animation-duration: 0.2s; - animation-duration: 0.2s; - -webkit-animation-name: slide; - animation-name: slide; - } - [data-tooltip]:focus::after, [data-tooltip]:hover::after { - -webkit-animation-name: slideCaret; - animation-name: slideCaret; - } -} - -@-webkit-keyframes slide { - from { - transform: translate(-50%, 0.75rem); - opacity: 0; - } - to { - transform: translate(-50%, -0.25rem); - opacity: 1; - } -} - -@keyframes slide { - from { - transform: translate(-50%, 0.75rem); - opacity: 0; - } - to { - transform: translate(-50%, -0.25rem); - opacity: 1; - } -} -@-webkit-keyframes slideCaret { - from { - opacity: 0; - } - 50% { - transform: translate(-50%, -0.25rem); - opacity: 0; - } - to { - transform: translate(-50%, 0rem); - opacity: 1; - } -} -@keyframes slideCaret { - from { - opacity: 0; - } - 50% { - transform: translate(-50%, -0.25rem); - opacity: 0; - } - to { - transform: translate(-50%, 0rem); - opacity: 1; - } -} -/** - * Accessibility & User interaction - */ -[aria-controls] { - cursor: pointer; -} - -[aria-disabled=true], -[disabled] { - cursor: not-allowed; -} - -[aria-hidden=false][hidden] { - display: initial; -} - -[aria-hidden=false][hidden]:not(:focus) { - clip: rect(0, 0, 0, 0); - position: absolute; -} - -a, -area, -button, -input, -label, -select, -summary, -textarea, -[tabindex] { - -ms-touch-action: manipulation; -} - -[dir=rtl] { - direction: rtl; -} - -/** -* Reduce Motion Features -*/ -@media (prefers-reduced-motion: reduce) { - *:not([aria-busy=true]), -:not([aria-busy=true])::before, -:not([aria-busy=true])::after { - background-attachment: initial !important; - -webkit-animation-duration: 1ms !important; - animation-duration: 1ms !important; - -webkit-animation-delay: -1ms !important; - animation-delay: -1ms !important; - -webkit-animation-iteration-count: 1 !important; - animation-iteration-count: 1 !important; - scroll-behavior: auto !important; - transition-delay: 0s !important; - transition-duration: 0s !important; - } -} - -/*# sourceMappingURL=pico.css.map */ \ No newline at end of file diff --git a/themes/buha/assets/css/reset.css b/themes/buha/assets/css/reset.css deleted file mode 100644 index e29c0f5f..00000000 --- a/themes/buha/assets/css/reset.css +++ /dev/null @@ -1,48 +0,0 @@ -/* http://meyerweb.com/eric/tools/css/reset/ - v2.0 | 20110126 - License: none (public domain) -*/ - -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: baseline; -} -/* HTML5 display-role reset for older browsers */ -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { - display: block; -} -body { - line-height: 1; -} -ol, ul { - list-style: none; -} -blockquote, q { - quotes: none; -} -blockquote:before, blockquote:after, -q:before, q:after { - content: ''; - content: none; -} -table { - border-collapse: collapse; - border-spacing: 0; -} diff --git a/themes/buha/static/css/visibleIf.css b/themes/buha/assets/css/visibleIf.css similarity index 100% rename from themes/buha/static/css/visibleIf.css rename to themes/buha/assets/css/visibleIf.css diff --git a/themes/buha/assets/scss/common.scss b/themes/buha/assets/scss/common.scss deleted file mode 100644 index 6b49c9e9..00000000 --- a/themes/buha/assets/scss/common.scss +++ /dev/null @@ -1,217 +0,0 @@ -:root { - --align: center; -} - -.container { - display: flex; - flex-direction: column; - position: absolute; - top: 0; - right: 0; - left: 0; - bottom: 0; - height: 100%; - height: 100vh; - margin-left: auto; - margin-right: auto; - a { - color: var(--text-color); - } -} -.header { - flex-grow: 1; - min-height: 5rem; - display: flex; - align-items: center; - justify-content: space-between; - flex-direction: row; - flex-wrap: wrap; - padding-left: 1rem; - padding-right: 1rem; -} -.minheight { - min-height: 33vh; -} -.content { - flex-grow: 1; - overflow: auto; -} - -.footer { - flex-grow: 0; - min-height: 4rem; - display: flex; - justify-content: space-between; - flex-wrap: wrap; - margin-top: 1rem; - margin-left: 1rem; - margin-right: 1rem; - flex-direction: column-reverse; - div { - margin-top: 1rem; - } - .infobox { - text-align: var(--align); - } -} - -.banner { - display: flex; - align-items: center; - background-repeat: no-repeat; - background-attachment: fixed; - font-size: 115%; - - background-size: cover; - background-position: top; - h1 { - margin-left: auto; - margin-right: auto; - text-align: center; - } -} - -.banner-shadow { - box-shadow: - inset 0px -11px 8px -10px #444; -} - -.page-intro { - text-align: var(--align); - a { text-decoration: underline; } - margin-top: 3rem; - margin-bottom: 1rem; - padding-right: 1.1rem; - font-size: 150%; -} - -section, article, .article_footer, .sidebar { - //padding: 1rem; -} - -.list { - display: flex; - flex-direction: column; -} - - -.twolists { -} - -.gen_list { - a { text-decoration: none; - margin-bottom: 5rem; - &:hover { - .img { - height: 240px; - } - .img-only { - height: 360px; - background-size: 110% auto; - background-position: top; - } - } - } - img { - width: 100%; - } - h3 { - margin-top: 0rem; - } - section { - margin-right: 1rem; - margin-left: 1rem; - } - .img { - width: 100%; - height: 140px; - transition: all .3s ease-in-out; - background-position: center; - background-size: cover; - background-repeat: no-repeat; - } - .img-only { - width: 100%; - height: 360px; - transition: all .2s ease-in-out; - background-size: 100% auto; - background-position: top; - background-repeat: no-repeat; - } -} - -article { - .article-image { - margin-top: 3rem; - margin-bottom: 3rem; - img, div { - display: flex; - justify-content: center; - width: 80%; - margin-left: auto; - margin-right: auto; - } - } - a { - &:hover { - text-decoration: none; - } - } - h3 { - font-size: 1.4em; - } - .article_content { - background: var(--background-alt); padding-left: 2rem; padding-right: 2rem; padding-bottom: 1rem; filter: alpha(opacity=987); -moz-opacity: 0.987; -khtml-opacity: 0.987; opacity: 0.987; - } -} - -.articlemeta { - margin-bottom: .5rem; - &:first-child { - font-weight: bold; - } -} - -#pagination { - display: flex; - justify-content: center; - margin: 1rem; - a { - padding: .5rem; - margin: .5rem; - } -} - -img.dark-shadow{ - filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 1)); -} - -.dark-shadow{ - text-shadow: 0px 3px 3px rgba(0, 0, 0, 1); - color: white; -} - -.funny-text-shadow { - color: #fff; - text-shadow: 0px 4px 4px #282828; -} - -fieldset { - display: flex; flex-wrap: wrap; flex-direction: row; padding: 0; border: none; margin: 0 0 .3rem .5rem; -} - -.w100 { - width: 100%; -} - -.column { - flex-direction: column; -} - -#result { - white-space: pre; display: none; background: var(--background-body); - padding: 1rem 0 1rem 1rem; - margin-top: 1rem; - -webkit-user-select: all; - user-select: all; -} diff --git a/themes/buha/layouts/partials/snippets/head.html b/themes/buha/layouts/partials/snippets/head.html index bde4bbe6..a41a82e9 100644 --- a/themes/buha/layouts/partials/snippets/head.html +++ b/themes/buha/layouts/partials/snippets/head.html @@ -16,9 +16,9 @@ {{ $pagination := resources.Get "scss/pagination.scss" | resources.ToCSS }} {{ $footer := resources.Get "scss/footer.scss" | resources.ToCSS }} {{ $generator := resources.Get "scss/generator.scss" | resources.ToCSS }} -{{ $allcss := slice $water $font $init $container $header $banner $index $gen_list $main $article $pagination $footer $generator | resources.Concat "/css/vendor.css" | minify | fingerprint "sha512" }} +{{ $visibleIf := resources.Get "css/visibleIf.css" | resources.ToCSS }} +{{ $allcss := slice $water $font $init $container $header $banner $index $gen_list $main $article $pagination $footer $generator $visibleIf | resources.Concat "/css/vendor.css" | minify | fingerprint "sha512" }} - {{ $title := print .Site.Title " | " .Title }} {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}