Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
dee6462d
Verified
Commit
dee6462d
authored
Aug 30, 2020
by
Ira ㋡
Browse files
Keep aspect ratio for SVG scaling and use cover for background scaling
parent
f354a2a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/keycloak/files/theme/archlinux/login/resources/css/custom.css
View file @
dee6462d
...
...
@@ -2,17 +2,18 @@
.login-pf
body
{
background
:
url("../img/login-background.jpg")
no-repeat
center
center
fixed
;
background-size
:
cover
;
}
div
.kc-logo-text
{
background-image
:
url('../img/archlinux-logo-light.svg')
;
background-repeat
:
no-repeat
;
background-size
:
cover
;
background-size
:
100%
;
height
:
100px
;
}
@media
(
max-width
:
767px
)
{
div
.kc-logo-text
{
background-size
:
100%
;
height
:
45px
;
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment