Skip to content

Commit 4b2cc6d

Browse files
committed
🐎 fix: speed up builds by switching from scss to css
fixes #28
1 parent 95adfdf commit 4b2cc6d

12 files changed

+293
-307
lines changed

_config.yml

-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ exclude:
2626
- readme.md
2727
- license.md
2828
- CNAME
29-
sass:
30-
sass_dir: assets/_sass
31-
style: compressed
3229
include: ['_pages']
3330
# See HTML compression settings at http://jch.penibelst.de/#configuration
3431
# Don't use inline javascript slash-comments with this enabled (`//`), or you'll

assets/_sass/_fonts.scss renamed to _includes/css/fonts.css

+8-4
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,35 @@
1010

1111

1212
/* PT Serif */
13-
@font-face { // Regular
13+
@font-face {
14+
/* (Regular) */
1415
font-family: 'PT Serif';
1516
src: url('/assets/fonts/PT_Serif/PT_Serif-Web-Regular.woff') format('woff'),
1617
url('/assets/fonts/PT_Serif/PT_Serif-Web-Regular.ttf') format('truetype');
1718
font-weight: normal;
1819
font-style: normal;
1920
}
2021

21-
@font-face { // Bold
22+
@font-face {
23+
/* (Bold) */
2224
font-family: 'PT Serif';
2325
src: url('/assets/fonts/PT_Serif/PT_Serif-Web-Bold.woff') format('woff'),
2426
url('/assets/fonts/PT_Serif/PT_Serif-Web-Bold.ttf') format('truetype');
2527
font-weight: 700;
2628
font-style: normal;
2729
}
2830

29-
@font-face { // Italic
31+
@font-face {
32+
/* (Italic) */
3033
font-family: 'PT Serif';
3134
src: url('/assets/fonts/PT_Serif/PT_Serif-Web-Italic.woff') format('woff'),
3235
url('/assets/fonts/PT_Serif/PT_Serif-Web-Italic.ttf') format('truetype');
3336
font-weight: normal;
3437
font-style: italic;
3538
}
3639

37-
@font-face { // Bold-Italic
40+
@font-face {
41+
/* (Bold-Italic) */
3842
font-family: 'PT Serif';
3943
src: url('/assets/fonts/PT_Serif/PT_Serif-Web-BoldItalic.woff') format('woff'),
4044
url('/assets/fonts/PT_Serif/PT_Serif-Web-BoldItalic.ttf') format('truetype');
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// The webpage for this blog post needs to be wider,
2-
// because the table is massive.
1+
/* The webpage for this blog post needs to be wider, because the table is massive. */
32
.every-possible-way-to-define-a-javascript-function .page-content {
43
max-width: 56rem;
54
}

0 commit comments

Comments
 (0)