mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-08-07 12:28:43 +08:00
Replace the bundled OpenCloud font with Inter in the Keycloak login theme. Use the variable woff2 (weights 100-900) so a single self-hosted file covers all weights, and drop the two static OpenCloud files. follow up for https://github.com/opencloud-eu/web/pull/2988
51 lines
1.1 KiB
CSS
51 lines
1.1 KiB
CSS
:root {
|
|
--pf-v5-global--primary-color--100: #e2baff;
|
|
--pf-v5-global--primary-color--200: #e2baff;
|
|
--pf-v5-global--primary-color--dark-100: #e2baff;
|
|
--pf-v5-c-button--m-secondary--Color: #e2baff;
|
|
--pf-v5-global--Color--light-100: #20434f;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: Inter;
|
|
src: url('../fonts/Inter-Variable.woff2') format('woff2');
|
|
font-weight: 100 900;
|
|
font-style: normal;
|
|
}
|
|
|
|
body {
|
|
font-family: "Inter", "Open Sans", Helvetica, Arial, sans-serif;
|
|
background: url(../img/background.png) no-repeat center fixed !important;
|
|
background-size: cover !important;
|
|
}
|
|
|
|
.kc-logo-text {
|
|
display: block;
|
|
width: 300px;
|
|
height: 63px;
|
|
background: url('../img/logo.svg') no-repeat center;
|
|
background-size: contain;
|
|
}
|
|
|
|
.kc-logo-text span {
|
|
display: none;
|
|
}
|
|
|
|
#kc-header-wrapper {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.pf-v5-c-login__main-header {
|
|
border-top: 4px solid var(--pf-v5-global--primary-color--100);
|
|
}
|
|
|
|
@media (min-width: 1200px) {
|
|
.pf-v5-c-login__container {
|
|
grid-template-columns: 34rem;
|
|
grid-template-areas:
|
|
"header"
|
|
"main";
|
|
}
|
|
}
|