Hello everyone, and thank you to the developers for making Grav so lightweight, efficient, and beautiful.
Please don’t kill me for asking this stupid question, but I could not find the answer anywhere so far.
I know CSS, I have used it on a number of occasions to get the look and feel that I want using other CMS, but I am a bit thrown when it comes to understand how this works in Grav.
To cut a long story short, it took me some time to understand that the changes that I was making in the CSS in Grav did not show, because CloudFlare was caching my pages, even after I disabled all the caches that I could find in Grav. OK I got it now.
What puzzles me is how the CSS happens in Grav.
If I look into my install folder, I see
/user/themes/antimatter/css
/user/themes/antimatter/css-compiled
/user/themes/antimatter/scss
I understood that I need to put any CSS override in custom.css in the antimatter/css folder
I assume that this will be the last CSS file to be used, so any changes need to go there.
Is css-compiled something that comes with the template, it has been compiled once, and will never be compiled again, or is my server recompiling files (when needed)for speed and keeping them here?
I never heard of scss before Grav, but I understand the principle behind it.
Is scss turned into CSS by the server at runtime, and is this happening before or after reading the ‘regular’ CSS files.
My limited brain can figure out how to use a style.css sheet, even two or three of these, but I must admit that it starts to get a bit too complicated for me.
So the question is:
Could I please have a list of priorities for the way CSS by Grav?
I used the inspect CSS from IE and Chrome and FF and while Chrome usually reports that the file responsible for the style is a scss file while IE never does that. So I am confused.
Thanks in advance
Nik