Skip to content

Commit

Permalink
remove CND inclusion and added fonts directly to repo. addresses #15
Browse files Browse the repository at this point in the history
  • Loading branch information
miko007 committed Apr 3, 2019
1 parent 400e905 commit f876995
Show file tree
Hide file tree
Showing 12 changed files with 40 additions and 5 deletions.
1 change: 1 addition & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">
<script type=text/javascript src=js/jquery.3.3.1.min.js></script>
</head>
4 changes: 2 additions & 2 deletions _sass/_bootswatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Bootswatch
// -----------------------------------------------------

$web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,400,300,700" !default;
@import url($web-font-path);
//$web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,400,300,700" !default;
//@import url($web-font-path);

// Navbar =====================================================================

Expand Down
33 changes: 33 additions & 0 deletions _sass/_fonts.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
@font-face {
font-family: "Open Sans";
src: url("../fonts/OpenSans-Regular.ttf");
font-weight: 400;
}
@font-face {
font-family: "Open Sans";
src: url("../fonts/OpenSans-Italic.ttf");
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: "Open Sans";
src: url("../fonts/OpenSans-Light.ttf");
font-weight: 300;
}
@font-face {
font-family: "Open Sans";
src: url("../fonts/OpenSans-LightItalic.ttf");
font-weight: 300;
font-style: italic;
}
@font-face {
font-family: "Open Sans";
src: url("../fonts/OpenSans-Bold.ttf");
font-weight: 700;
}
@font-face {
font-family: "Open Sans";
src: url("../fonts/OpenSans-BoldItalic.ttf");
font-weight: 700;
font-style: italic;
}
2 changes: 1 addition & 1 deletion css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ $on-laptop: 800px;
}



@import "fonts";
@import "variables";
@import "bootstrap";
@import "bootswatch";
Expand Down
Binary file added fonts/OpenSans-Bold.ttf
Binary file not shown.
Binary file added fonts/OpenSans-BoldItalic.ttf
Binary file not shown.
Binary file added fonts/OpenSans-Italic.ttf
Binary file not shown.
Binary file added fonts/OpenSans-Light.ttf
Binary file not shown.
Binary file added fonts/OpenSans-LightItalic.ttf
Binary file not shown.
Binary file added fonts/OpenSans-Regular.ttf
Binary file not shown.
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h2>Die Idee</h2>
</div>
<div class="col-md-4 col-md-offset-1">
<h2>Vorbei kommen</h2>
<p>Packt eure Lieblingshardware ein und besucht uns beim regelmäßigen Chaostreff jeden Mittwoch um 20:00 Uhr. Ihr findet uns in Trier West, Eurener Str. 14.
<p>Packt eure Lieblingshardware ein und besucht uns beim regelmäßigen Chaostreff jeden Mittwoch um 20:00 Uhr. Ihr findet uns in Trier West, Eurener Str. 14.
</p>
</div>
<div class="col-md-2 col-md-offset-1">
Expand Down Expand Up @@ -91,7 +91,6 @@ <h2><a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.t
</div>


<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<!--script src="/js/main.js"></script>
<script>
$(document).ready(function(){
Expand Down
2 changes: 2 additions & 0 deletions js/jquery.3.3.1.min.js

Large diffs are not rendered by default.

0 comments on commit f876995

Please sign in to comment.