Comments (1)
Hey! It already works pretty similar to what you outlined, essentially the CSS just scales the container in which the image is displayed, and the image itself is just a background-image
whose size is set to contain
, i.e. scale within the bounds of the container.
So if you want to influence the size of the logos, you'll need to adjust the size of either the login mask as a whole, or the individual image containers. The #join-game
rule has a width
declaration, that sets the width of the entire login mask including the header image. If you then also adjust the #join-game #world-title
height
, the image should re-size to fill the new space available. You can also resize just the header image by adding this to it's definition:
#join-game #world-title {
...
width: 400%;
margin-left: -150% !important;
}
The width
property sets the width of the image container, and a negative margin-left
property will move it horizontically so that you can re-centre it.
You should be able to adjust the size of the footer logo just by modifying the --login-footer-logo-height
variable, as the container there is already set to 100% width of the copyright container and just limited by the height setting.
I've upgraded my Foundry to v11 yesterday which unfortunately broke the module, so I won't be able to test it properly before I port the CSS to the new version, but hopefully this will be soon!
from foundry-vtt-prettier-login-screen.
Related Issues (9)
- v10 background image HOT 1
- Missing symbol in firefox HOT 1
- V11 Update & Possible Themes Support HOT 5
- Needs License HOT 1
- Logo image display using the name of the world for a file name HOT 2
- Problems with css since Foundry VTT 0.8.9 HOT 3
- How to use this styling without editting core css file HOT 5
- world logo not working HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from foundry-vtt-prettier-login-screen.