mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-08-07 12:28:43 +08:00
feat(keycloak): use Inter variable font in login theme
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
This commit is contained in:
@@ -7,21 +7,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: OpenCloud;
|
font-family: Inter;
|
||||||
src: url('../fonts/OpenCloud500-Regular.woff2') format('woff2');
|
src: url('../fonts/Inter-Variable.woff2') format('woff2');
|
||||||
font-weight: normal;
|
font-weight: 100 900;
|
||||||
font-style: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: OpenCloud;
|
|
||||||
src: url('../fonts/OpenCloud750-Bold.woff2') format('woff2');
|
|
||||||
font-weight: bold;
|
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: "OpenCloud", "Open Sans", Helvetica, Arial, sans-serif;
|
font-family: "Inter", "Open Sans", Helvetica, Arial, sans-serif;
|
||||||
background: url(../img/background.png) no-repeat center fixed !important;
|
background: url(../img/background.png) no-repeat center fixed !important;
|
||||||
background-size: cover !important;
|
background-size: cover !important;
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user