I tried to use the SVG for my pages, but it's quite big, and not resizable. I'm not really an expert on SVG's but it should be set up to scale properly. Currently it has positions and width inside them. One would need an image editor to resize it properly now.
One can basically use it only at the size 564x168. Setting a size on the outside element in your page crops the viewport in all browser. (Using a size of 128x38 makes it ~25% cropped, not 75% smaller).
Problems with the SVG:
- The root tag has a width/height set in pixels. That's not a scalable unit. SVG's should resize to their viewport. It should be set to '100vw' and '100vh', or '100vw' and 'auto'. I'm unsure as what to use here when maintaining aspect ratio. I think that setting 'auto' for the height should suffice and that the next point should fix it.
- When setting vw/vh units, the coordinates in the SVG should be relative to those. Most likely when using auto for the height, one can use relative vw sizes for the height.
I'm too unfamiliar with Inkscape, so I don't know if it's able to do this automatically.
I'm not sure how to fix this properly but points above should help pinpointing it, so either someone more knowledgable can fix this or point me in the right direction.
I tried to use the SVG for my [pages](https://pages.codeberg.org/sexybiggetje/), but it's quite big, and not resizable. I'm not really an expert on SVG's but it should be set up to scale properly. Currently it has positions and width inside them. One would need an image editor to resize it properly now.
One can basically use it only at the size 564x168. Setting a size on the outside element in your page crops the viewport in all browser. (Using a size of 128x38 makes it ~25% cropped, not 75% smaller).
Problems with the SVG:
- The root tag has a width/height set in pixels. That's not a scalable unit. SVG's should resize to their viewport. It should be set to '100vw' and '100vh', or '100vw' and 'auto'. I'm unsure as what to use here when maintaining aspect ratio. I *think* that setting 'auto' for the height should suffice and that the next point should fix it.
- When setting vw/vh units, the coordinates in the SVG should be relative to those. Most likely when using auto for the height, one can use relative vw sizes for the height.
I'm too unfamiliar with Inkscape, so I don't know if it's able to do this automatically.
I'm not sure how to fix this properly but points above should help pinpointing it, so either someone more knowledgable can fix this or point me in the right direction.