I am facing an issue with my semantic UI website where everything appears too zoomed in and I would like to scale it down proportionally, from fonts to containers and segments.
Attempting to solve this problem, I have tried using CSS properties like zoom: 80%;
, which worked well in Google Chrome but not in Firefox.
Then, I experimented with using transform scale:
html {
-webkit-transform: scale(0.8);
-ms-transform: scale(0.8);
transform: scale(0.8);
}
However, a drawback of this method is that the header and footer lost their intended 100% width.
Is there a specific way in Semantic UI to achieve this scaling effect? I have used site.variables to modify color variables but I am unsure if I can adjust default sizes for elements uniformly by reducing px or em size across the board.
Do you know of any CSS or Semantic UI technique to accomplish this task?
UPDATE:
For instance, on my site, when viewed at certain resolutions, segments are set to a width of 1135px. I would prefer these widths to only apply at resolutions above 1300 or 1400px, or alternatively have segment widths at 1000px for 1200px resolution. Ideally, I would like to standardize this behavior for all components rather than having to write custom CSS for each element to override default settings.
This is the current styling applied to each container:
@media only screen and (min-width: 1200px)
.ui.container {
width: 1135px;
margin-left: auto !important;
margin-right: auto !important;
}
Is there a more efficient approach to handle this situation without needing to individually adjust width specifications for every element? When viewing the site on screens slightly larger than 1200px, I find the overall size to be excessive.