From da515cfeb6553224eb7921c056f04c68cd4fd79c Mon Sep 17 00:00:00 2001 From: transcaffeine Date: Wed, 8 Nov 2023 19:03:10 +0100 Subject: [PATCH] chore: set custom css on login --- finallycoffee/login/resources/css/custom.css | 28 ++++++++++++++++++++ finallycoffee/login/theme.properties | 1 + 2 files changed, 29 insertions(+) create mode 100644 finallycoffee/login/resources/css/custom.css diff --git a/finallycoffee/login/resources/css/custom.css b/finallycoffee/login/resources/css/custom.css new file mode 100644 index 0000000..9ccc685 --- /dev/null +++ b/finallycoffee/login/resources/css/custom.css @@ -0,0 +1,28 @@ +div.kc-logo-text { + background-image: url('../img/antifa_lesbian_pride.png'); + background-size: 256px 256px; + background-repeat: no-repeat; + height: 256px; + width: 256px; + margin: 0 auto; +} +div.kc-logo-text span { + display: none; +} + +.login-pf body { + background: url('../img/background.jpg') no-repeat center center fixed !important; + background-size: cover !important; +} + +@media (max-width: 767px) { + #kc-header-wrapper { + padding: 20px 0 60px 0 !important; + color: #ededed !important; + font-size: 29px !important; + font-weight: var(--pf-global--FontWeight--normal) !important; + letter-spacing: 3px !important; + line-height: 1.2em !important; + text-align: center !important; + } +} diff --git a/finallycoffee/login/theme.properties b/finallycoffee/login/theme.properties index ebc42ba..700cb13 100644 --- a/finallycoffee/login/theme.properties +++ b/finallycoffee/login/theme.properties @@ -1,4 +1,5 @@ parent=keycloak import=common/finallycoffee +styles=styles=web_modules/@fontawesome/fontawesome-free/css/icons/all.css web_modules/@patternfly/react-core/dist/styles/base.css web_modules/@patternfly/react-core/dist/styles/app.css node_modules/patternfly/dist/css/patternfly.min.css node_modules/patternfly/dist/css/patternfly-additions.min.css css/login.css css/custom.css logo=img/antifa_lesbian_pride.png