JavaFX - CSS variables for sizes?
<p>In my JavaFX programs thus far, I've used final variables to manage size such as: </p>

<pre><code>final int SCENE_WIDTH = 500, SCENE_HEIGHT = 600,
ROOT_WIDTH = (int)(SCENE_WIDTH * 0.8), ROOT_HEIGHT = (int)(SCENE_HEIGHT * 0.8);
</code></pre>

<p>But people have told me that it's best to have GUI related sizing, colors, effects, etc to all be in the CSS file.</p>

<p>But in my CSS file, I don't think it's possible to create variables and have those update based on other variables. How would I accomplish the above with CSS? Which method makes the most sense?</p>