From the course: Learning GitHub Pages

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Change CSS

Change CSS

- Let's say that you wanted to modify the way that this site looks, to do that we can use an additional style sheet that will override or control how the theme looks. So let's go back into our content. And what I'm going to do is create a folder here. I'm going to call it assets. And in that folder, I'm going to create another folder called CSS. And in there I'm going to create a file called style.scss. So this is going to be a SASS file, and I'm going to go back into my template page and they give you a little bit of a starter sort of piece of code right here. So I'm going to copy this. Notice that this has these three lines and then these other three lines, that is called YAML front matter. Means that you can use that, really on any page to add yourself a few variables, just like we did the config file. You can actually create variables on a page by page basis by putting them at the top of the markdown file,…

Contents