Skip to content

Commit

Permalink
🐎 fix: speed up builds by switching from scss to css
Browse files Browse the repository at this point in the history
fixes #28
  • Loading branch information
bryanbraun committed Feb 17, 2020
1 parent 95adfdf commit 4b2cc6d
Show file tree
Hide file tree
Showing 12 changed files with 293 additions and 307 deletions.
3 changes: 0 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ exclude:
- readme.md
- license.md
- CNAME
sass:
sass_dir: assets/_sass
style: compressed
include: ['_pages']
# See HTML compression settings at http://jch.penibelst.de/#configuration
# Don't use inline javascript slash-comments with this enabled (`//`), or you'll
Expand Down
12 changes: 8 additions & 4 deletions assets/_sass/_fonts.scss → _includes/css/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,35 @@


/* PT Serif */
@font-face { // Regular
@font-face {
/* (Regular) */
font-family: 'PT Serif';
src: url('/assets/fonts/PT_Serif/PT_Serif-Web-Regular.woff') format('woff'),
url('/assets/fonts/PT_Serif/PT_Serif-Web-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

@font-face { // Bold
@font-face {
/* (Bold) */
font-family: 'PT Serif';
src: url('/assets/fonts/PT_Serif/PT_Serif-Web-Bold.woff') format('woff'),
url('/assets/fonts/PT_Serif/PT_Serif-Web-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
}

@font-face { // Italic
@font-face {
/* (Italic) */
font-family: 'PT Serif';
src: url('/assets/fonts/PT_Serif/PT_Serif-Web-Italic.woff') format('woff'),
url('/assets/fonts/PT_Serif/PT_Serif-Web-Italic.ttf') format('truetype');
font-weight: normal;
font-style: italic;
}

@font-face { // Bold-Italic
@font-face {
/* (Bold-Italic) */
font-family: 'PT Serif';
src: url('/assets/fonts/PT_Serif/PT_Serif-Web-BoldItalic.woff') format('woff'),
url('/assets/fonts/PT_Serif/PT_Serif-Web-BoldItalic.ttf') format('truetype');
Expand Down
3 changes: 1 addition & 2 deletions assets/_sass/_hacks.scss → _includes/css/hacks.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// The webpage for this blog post needs to be wider,
// because the table is massive.
/* The webpage for this blog post needs to be wider, because the table is massive. */
.every-possible-way-to-define-a-javascript-function .page-content {
max-width: 56rem;
}
Loading

0 comments on commit 4b2cc6d

Please sign in to comment.