Different CSS Problems

Hey there,

My first post here, so please be indulgent if I miss something :slight_smile:
I am running a Nextcloud Server for a school and I am facing some issues with CSS. I hope you can help me out.

  1. I want to change the color of the login screen from black to white. Therefore I installed the Addon “Custom CSS” and insert the following into the Design:
    #body-login a, #body-login label, #body-login footer p, #body-login #alternative-logins legend, #body-login .lost-password-container #lost-password {
    color: white;
    }
    Unfortunately it does not change a thing. Any idea why?

  2. If a share a file or folder via link with password protection the guest page does repeat the original background and it looks like a moasaik. I figured, that the guest.css is responsible with the entry in line 30: background-repeat: repeat; I tried to change it to no-repeat but the behavior does not change at all. I restarted ngnix and php but nothing. Any idea why?

nextcloud_guest_login

If you need any other information please let me know.

Nextcloud version: 20.2
Operating system and version: Ubuntu Server 20.04
nginx version : 1.18.0
PHP version: 7.4

For whom it might concern: the working solution is:

#body-login a, #body-login label, #body-login footer p, #body-login #alternative-logins legend, #body-login .lost-password-container #lost-password {
color: #fff !important;
}
body {
background-repeat: no-repeat !important;
}

The trick is to add !important to every entry.

Regards