Read the statement by Michael Teeuw here.
Main.css / custom.css change
-
Hello everyone,
when I was brand new, I worked my way through and made adjustments to the main.css. The longer you’re at it, the more entries you find in the forum that the main.css must never be customized and everything must be stored in the custom.css.
Now I want to change my main.css back to the standard, but of course I want to transfer the entries to the custom.css first.Here is the default of the root entries
: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; }
and here my changed entries.
:root { --color-text: #999; --color-text-dimmed: #666; --color-text-bright: #fff; --color-background: #000; --font-primary: "Roboto Condensed"; --font-secondary: "Roboto"; --font-size: 15px; --font-size-xsmall: 0.75rem; --font-size-small: 1rem; --font-size-medium: 1.5rem; --font-size-large: 2.25rem; --font-size-xlarge: 2.75rem; --gap-body-top: 10px; --gap-body-right: 10px; --gap-body-bottom: 10px; --gap-body-left: 10px; --gap-modules: 10px; }
How do I transfer these entries to the Custom.css? I tried copy-paste but the changes like the “gap-body” are not displayed.
I changed gap and font
i tried to customize the body via “margin” and “boarder”, but i’m not quite happy…
Can you tell me the correct entries for my Custom.css?
-
@svenpisa just put your complete root definition in custom.css
git checkout css/main.css
to restore the original main.css