<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Zoom resolution server client 4k - FullHD]]></title><description><![CDATA[<p dir="auto">hi,<br />
I’m looking for a simple way to realize different zoom factors on client (1080p) and server (2160p) screen.<br />
would you do this with a custom css? how can I figure out the mods text tag?</p>
]]></description><link>https://forum.magicmirror.builders/topic/18492/zoom-resolution-server-client-4k-fullhd</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 08:44:15 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/18492.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 09 Feb 2024 08:19:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Zoom resolution server client 4k - FullHD on Fri, 09 Feb 2024 13:24:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/botswana" aria-label="Profile: botswana">@<bdi>botswana</bdi></a> you might be able to use a customized css to set different font size based on screen resolution.</p>
<p dir="auto">on another system I use</p>
<pre><code class="language-css">:root{
  --scale-factor: 1;  /* set default scaling in case we have partial window, debug or in vm terminal window */
}

@media screen  and (width:1920px) and (orientation: landscape) {
    :root{
        --scale-factor: 1920/1920;
     };
 }

@media screen and (width:3840px)  and (orientation: landscape) {
    :root{
    --scale-factor: 3840/1920;

    };
}
@media  screen and (width:1080px)   {
    :root{
    --scale-factor: 1920/1920;
    };
}
</code></pre>
<p dir="auto">and then an example use</p>
<pre><code class="language-css">h1 {
    font-size:  calc( 120px * var(--scale-factor));
}
</code></pre>
<p dir="auto">the 120px could be a variable too…</p>
<p dir="auto">magicmirror sets these variables. maybe you can scale them by screen resolution and not have to mod everything… BUT many modules don’t use the predefined css styles</p>
<pre><code class="language-css">:root {
  --color-text: #999;
  --color-text-dimmed: #666;
  --color-text-bright: #fff;
  --color-background: #000;
  --font-primary: "Roboto Condensed";
  --font-secondary: "Roboto";
  --font-size: 20px;
  --font-size-xsmall: 0.75rem;
  --font-size-small: 1rem;
  --font-size-medium: 1.5rem;
  --font-size-large: 3.25rem;
  --font-size-xlarge: 3.75rem;
  --gap-body-top: 60px;
  --gap-body-right: 60px;
  --gap-body-bottom: 60px;
  --gap-body-left: 60px;
  --gap-modules: 30px;
}
</code></pre>
<p dir="auto">and maybe css transform:scale()<br />
<a href="https://caniuse.com/css-zoom" target="_blank" rel="noopener noreferrer nofollow ugc">https://caniuse.com/css-zoom</a></p>
]]></description><link>https://forum.magicmirror.builders/post/115395</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115395</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 09 Feb 2024 13:24:17 GMT</pubDate></item><item><title><![CDATA[Reply to Zoom resolution server client 4k - FullHD on Fri, 09 Feb 2024 11:58:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/botswana" aria-label="Profile: botswana">@<bdi>botswana</bdi></a> there is currently no way to do different zoom levels (or content) by viewer (on the pi is just a different browser)</p>
]]></description><link>https://forum.magicmirror.builders/post/115388</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115388</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 09 Feb 2024 11:58:28 GMT</pubDate></item></channel></rss>