diff --git a/.gitmodules b/.gitmodules index 6137d59..8675bee 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,11 @@ [submodule "csswan"] path = csswan # url = https://codeberg.org/tfelypoc/css_wan -url =https://gitea.petton.fr/tfelypoc/css_wan + url = https://gitea.petton.fr/tfelypoc/css_wan +[submodule "flyy"] + path = reactionary.software/do_you_meow? + url = https://gitea.petton.fr/tfelypoc/why_youNO_fly +[submodule "css5"] + path = ௧/LASS + url = https://codeberg.org/tfelypoc/lass_css + branch = css5 diff --git a/reactionary.software/do_you_fly? b/reactionary.software/do_you_fly? new file mode 160000 index 0000000..1e648b9 --- /dev/null +++ b/reactionary.software/do_you_fly? @@ -0,0 +1 @@ +Subproject commit 1e648b9a1bf92d67a50baabb80c44b9459e5fd45 diff --git a/reactionary.software/do_you_meow? b/reactionary.software/do_you_meow? new file mode 160000 index 0000000..da8143e --- /dev/null +++ b/reactionary.software/do_you_meow? @@ -0,0 +1 @@ +Subproject commit da8143e108617bed89669ac34e43d092a0a0b9b4 diff --git a/௧/CB,,ui cd1...patch b/௧/CB,,ui cd1...patch new file mode 100644 index 0000000..8354820 --- /dev/null +++ b/௧/CB,,ui cd1...patch @@ -0,0 +1,234 @@ +From cd16d2856676935cd4088c1054ab8b10571e9e90 Mon Sep 17 00:00:00 2001 +From: fnetx +Date: Sun, 23 Oct 2022 03:11:37 +0200 +Subject: [PATCH] CB/ui: Codeberg Custom footer + +- Dark theme footer has different colours (optional) +- Update footer to work nice with any theme +- Add social links to footer +--- + templates/base/footer_content.tmpl | 89 ++++++++++++------- + web_src/less/_base.less | 57 ++++++------ + web_src/less/themes/codeberg/base-brand.less | 9 ++ + web_src/less/themes/theme-codeberg-light.less | 6 ++ + 4 files changed, 105 insertions(+), 56 deletions(-) + +diff --git a/templates/base/footer_content.tmpl b/templates/base/footer_content.tmpl +index 80b59195f..f28e9a967 100644 +--- a/templates/base/footer_content.tmpl ++++ b/templates/base/footer_content.tmpl +@@ -1,37 +1,66 @@ + +diff --git a/web_src/less/_base.less b/web_src/less/_base.less +index eeb0fe35e..bef38dcd2 100644 +--- a/web_src/less/_base.less ++++ b/web_src/less/_base.less +@@ -122,7 +122,8 @@ + --color-text-light-3: #a0a0a0; + --color-box-header: #f7f7f7; + --color-box-body: #ffffff; +- --color-footer: #ffffff; ++ --color-footer: #B5DDFF; ++ --color-footer-text: var(--color-text-light); + --color-timeline: #ececec; + --color-input-text: #212121; + --color-input-background: #ffffff; +@@ -1272,25 +1273,37 @@ a.ui.card:hover, + + footer { + background-color: var(--color-footer); +- border-top: 1px solid var(--color-secondary); + width: 100%; +- flex-basis: 40px; +- color: var(--color-text-light); ++ color: var(--color-footer-text); ++ font-weight: 400; ++ padding: 10px; + +- .container { +- width: 100vw !important; +- padding: 0 .5rem; +- max-width: calc(100vw - 1rem) !important; ++ .grid { ++ display: grid; ++ grid-gap: 40px 20px; ++ padding: 30px; ++ @media @mediaMdAndUp { ++ grid-template-columns: 2fr repeat(4, 3fr); ++ } ++ a, ul { ++ list-style-type: none; ++ padding: 0; ++ margin: 0; ++ margin-top: 15px; ++ line-height: 2em; ++ } ++ } + +- .links > * { +- border-left: 1px solid var(--color-secondary); +- padding-left: 8px; +- margin-left: 5px; ++ .branding img { ++ width: 100px; ++ } + +- &:first-child { +- border-left: 0; +- } +- } ++ * a { ++ color: inherit; ++ } ++ ++ * b { ++ font-size: 2em; + } + + .ui.language { +@@ -1300,17 +1313,9 @@ footer { + margin-bottom: 7px; + } + +- .svg { ++ .svg, .text { + margin-right: .15em; +- vertical-align: top; +- margin-top: calc(2em - 16px); +- } +- } +- +- .ui { +- &.left, +- &.right { +- line-height: 40px; ++ vertical-align: middle; + } + } + } +diff --git a/web_src/less/themes/codeberg/base-brand.less b/web_src/less/themes/codeberg/base-brand.less +index f4be3a5ae..8afc3856d 100644 +--- a/web_src/less/themes/codeberg/base-brand.less ++++ b/web_src/less/themes/codeberg/base-brand.less +@@ -1,3 +1,12 @@ ++:root { ++ --color-footer: #144B49; ++ --color-footer-text: #ffffff; ++} ++ ++footer .button:hover { ++ --color-hover: #73CCC6; ++ } ++ + .following.bar, #navbar { + /* Change navbar color scheme to match Codeberg's brand */ + background-color: var(--color-primary); +diff --git a/web_src/less/themes/theme-codeberg-light.less b/web_src/less/themes/theme-codeberg-light.less +index c53ba9640..bc04e4b27 100644 +--- a/web_src/less/themes/theme-codeberg-light.less ++++ b/web_src/less/themes/theme-codeberg-light.less +@@ -1,3 +1,9 @@ + /* Basic styles for Codeberg */ + @import "codeberg/base-brand.less"; + ++footer, .codeberg { ++ --color-text-light-2: #73CCC6; ++ * a:hover { ++ color: var(--color-text-light-2) !important; ++ } ++} diff --git a/௧/CB,,ui cd16d28566.diff b/௧/CB,,ui cd16d28566.diff new file mode 100644 index 0000000..da2eab9 --- /dev/null +++ b/௧/CB,,ui cd16d28566.diff @@ -0,0 +1,219 @@ +diff --git a/templates/base/footer_content.tmpl b/templates/base/footer_content.tmpl +index 80b59195f..f28e9a967 100644 +--- a/templates/base/footer_content.tmpl ++++ b/templates/base/footer_content.tmpl +@@ -1,37 +1,66 @@ + +diff --git a/web_src/less/_base.less b/web_src/less/_base.less +index eeb0fe35e..bef38dcd2 100644 +--- a/web_src/less/_base.less ++++ b/web_src/less/_base.less +@@ -122,7 +122,8 @@ + --color-text-light-3: #a0a0a0; + --color-box-header: #f7f7f7; + --color-box-body: #ffffff; +- --color-footer: #ffffff; ++ --color-footer: #B5DDFF; ++ --color-footer-text: var(--color-text-light); + --color-timeline: #ececec; + --color-input-text: #212121; + --color-input-background: #ffffff; +@@ -1272,25 +1273,37 @@ a.ui.card:hover, + + footer { + background-color: var(--color-footer); +- border-top: 1px solid var(--color-secondary); + width: 100%; +- flex-basis: 40px; +- color: var(--color-text-light); ++ color: var(--color-footer-text); ++ font-weight: 400; ++ padding: 10px; + +- .container { +- width: 100vw !important; +- padding: 0 .5rem; +- max-width: calc(100vw - 1rem) !important; ++ .grid { ++ display: grid; ++ grid-gap: 40px 20px; ++ padding: 30px; ++ @media @mediaMdAndUp { ++ grid-template-columns: 2fr repeat(4, 3fr); ++ } ++ a, ul { ++ list-style-type: none; ++ padding: 0; ++ margin: 0; ++ margin-top: 15px; ++ line-height: 2em; ++ } ++ } + +- .links > * { +- border-left: 1px solid var(--color-secondary); +- padding-left: 8px; +- margin-left: 5px; ++ .branding img { ++ width: 100px; ++ } + +- &:first-child { +- border-left: 0; +- } +- } ++ * a { ++ color: inherit; ++ } ++ ++ * b { ++ font-size: 2em; + } + + .ui.language { +@@ -1300,17 +1313,9 @@ footer { + margin-bottom: 7px; + } + +- .svg { ++ .svg, .text { + margin-right: .15em; +- vertical-align: top; +- margin-top: calc(2em - 16px); +- } +- } +- +- .ui { +- &.left, +- &.right { +- line-height: 40px; ++ vertical-align: middle; + } + } + } +diff --git a/web_src/less/themes/codeberg/base-brand.less b/web_src/less/themes/codeberg/base-brand.less +index f4be3a5ae..8afc3856d 100644 +--- a/web_src/less/themes/codeberg/base-brand.less ++++ b/web_src/less/themes/codeberg/base-brand.less +@@ -1,3 +1,12 @@ ++:root { ++ --color-footer: #144B49; ++ --color-footer-text: #ffffff; ++} ++ ++footer .button:hover { ++ --color-hover: #73CCC6; ++ } ++ + .following.bar, #navbar { + /* Change navbar color scheme to match Codeberg's brand */ + background-color: var(--color-primary); +diff --git a/web_src/less/themes/theme-codeberg-light.less b/web_src/less/themes/theme-codeberg-light.less +index c53ba9640..bc04e4b27 100644 +--- a/web_src/less/themes/theme-codeberg-light.less ++++ b/web_src/less/themes/theme-codeberg-light.less +@@ -1,3 +1,9 @@ + /* Basic styles for Codeberg */ + @import "codeberg/base-brand.less"; + ++footer, .codeberg { ++ --color-text-light-2: #73CCC6; ++ * a:hover { ++ color: var(--color-text-light-2) !important; ++ } ++} diff --git a/௧/LASS b/௧/LASS new file mode 160000 index 0000000..cef4546 --- /dev/null +++ b/௧/LASS @@ -0,0 +1 @@ +Subproject commit cef4546b46227ce7ee1b93ff9891f01da5d5aebd diff --git a/௧/YOU LASS OR YOU DIE b/௧/YOU LASS OR YOU DIE new file mode 100644 index 0000000..e69de29