parent
41583c9405
commit
0ff03dba6c
|
@ -36,8 +36,7 @@ You could use a standard CSS file for styling, we're going to take it a step
|
||||||
further by using [Sass](https://sass-lang.com/). Sass is a fantastic extension
|
further by using [Sass](https://sass-lang.com/). Sass is a fantastic extension
|
||||||
to CSS baked right into Jekyll.
|
to CSS baked right into Jekyll.
|
||||||
|
|
||||||
First create a Sass file at `/assets/css/styles.scss` with the following
|
First create a Sass file at `/assets/css/styles.scss` with the following content:
|
||||||
content:
|
|
||||||
|
|
||||||
{% raw %}
|
{% raw %}
|
||||||
```css
|
```css
|
||||||
|
@ -54,7 +53,7 @@ directory (`_sass/` by default).
|
||||||
At this stage you'll just have a main css file. For larger projects, this is a
|
At this stage you'll just have a main css file. For larger projects, this is a
|
||||||
great way to keep your CSS organized.
|
great way to keep your CSS organized.
|
||||||
|
|
||||||
Create `_sass/main.scss` with the following content:
|
Create a Sass file at `/_sass/main.scss` with the following content:
|
||||||
|
|
||||||
```sass
|
```sass
|
||||||
.current {
|
.current {
|
||||||
|
|
Loading…
Reference in New Issue