Skip to content

Commit

Permalink
[TASK] Checks: Add font check
Browse files Browse the repository at this point in the history
Resolves #5
  • Loading branch information
M-arcus committed Jun 4, 2019
1 parent 216a6d0 commit 6970f4e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
Empty file removed src/fonts/.gitkeep
Empty file.
Binary file added src/fonts/Sansation_Regular.ttf
Binary file not shown.
3 changes: 3 additions & 0 deletions src/html/_checks.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ <h2>Checks</h2>
<div class="check-js-folder">
<p>If this text is green, the js folder was loaded correctly.</p>
</div>
<div class="check-font-folder">
<p>If this text is a different font, the font folder was loaded correctly.</p>
</div>
<div class="check-minified-html">
<p>This HTML file has a length of <span id="html-size">0</span>.</p>
<a href="/index_min.html">If this link leads to the minified HTML file, the HTML folder was minified correctly.</a>
Expand Down
1 change: 1 addition & 0 deletions src/scss/main.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
@import 'partials/page';
@import 'partials/check';
@import 'partials/font';
8 changes: 8 additions & 0 deletions src/scss/partials/_font.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@font-face {
font-family: Sansation;
src: url('../../fonts/Sansation_Regular.ttf');
}

.check-font-folder {
font-family: Sansation, sans-serif;
}

0 comments on commit 6970f4e

Please sign in to comment.