-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Small code modularization and aestherics improvements.
- Loading branch information
Showing
14 changed files
with
152 additions
and
93 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
window.onscroll = function() {scrollFunction()}; | ||
|
||
function scrollFunction() { | ||
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) { | ||
document.getElementById("scrollButton").style.display = "block"; | ||
} else { | ||
document.getElementById("scrollButton").style.display = "none"; | ||
} | ||
} | ||
function topFunction() { | ||
document.body.scrollTop = 0; | ||
document.documentElement.scrollTop = 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#searchresults { | ||
.cse .gsc-control-cse, | ||
.gsc-control-cse { | ||
padding: 0; | ||
} | ||
.gcsc-branding, | ||
.gsc-result-info, | ||
.gsc-table-result, | ||
.gsc-thumbnail-inside, | ||
.gsc-url-top, | ||
.gs-spelling, | ||
.gs-promotion table { | ||
padding-left: 0; | ||
padding-right: 0; | ||
} | ||
.gsc-adBlock { | ||
padding: 0; | ||
} | ||
.gsc-cursor { | ||
font-size: 14px; | ||
} | ||
.gsc-cursor-page { | ||
margin-left: -1px; | ||
padding: 4px 10px; | ||
border: 1px solid #ddd; | ||
} | ||
.gsc-results .gsc-cursor-box { | ||
margin-top: 2em; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<script type="text/javascript" src="/assets/js/prettify/prettify.min.js"></script> | ||
<script type="text/javascript" src="/assets/js/prettify/lang-sfz.js"></script> | ||
<script> | ||
$(document).ready(function(){ | ||
$('pre').addClass('prettyprint lang-sfz'); | ||
prettyPrint(); | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<link rel="stylesheet" type="text/css" href="/assets/css/prettify.css"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!-- Favicon Generator Icons --> | ||
<link rel="apple-touch-icon" sizes="152x152" href="/assets/ico/apple-touch-icon.png"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="/assets/ico/favicon-32x32.png"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="/assets/ico/favicon-16x16.png"> | ||
<link rel="manifest" href="/assets/ico/site.webmanifest"> | ||
<link rel="mask-icon" href="/assets/ico/safari-pinned-tab.svg" color="#5bbad5"> | ||
<link rel="shortcut icon" href="/assets/ico/favicon.ico"> | ||
<meta name="msapplication-TileColor" content="#da532c"> | ||
<meta name="msapplication-config" content="/assets/ico/browserconfig.xml"> | ||
<meta name="theme-color" content="#ffffff"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<hr><footer> | ||
<!-- p style="text-align:left;">© {{ site.organization_name }} {{ site.time | date: "%Y" }} | ||
<span style="float:right;"><a href="#top">Back to top</a></span></p--> | ||
</footer> | ||
<!--hr> | ||
<footer> | ||
<p style="text-align:left;">Copyright © {{ site.time | date: "%Y" }} {{ site.organization.name }} Team</p> | ||
</footer--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
<!-- Google Analytics --> | ||
<script> | ||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | ||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | ||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); | ||
ga('create', '{{ site.google.analytics_code }}', 'auto'); | ||
ga('send', 'pageview'); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,28 @@ | ||
<meta charset="utf-8"> | ||
<title> | ||
{% if page.title %} | ||
{{ page.title | escape }} - {{ site.organization_name }} | ||
{% else %} | ||
{{ site.organization_name }} | ||
{% endif %} | ||
</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="author" content="{{ site.organization_name }}"> | ||
<meta charset="utf-8"> | ||
|
||
<link href="/atom.xml" rel="alternate" title="News" type="application/atom+xml" /> | ||
<title> | ||
{%-if page.title-%} | ||
{{ page.title | escape }} - {{ site.organization.name }} | ||
{%-else-%} | ||
{{ site.organization.name }} | ||
{%-endif-%} | ||
</title> | ||
|
||
<link rel="apple-touch-icon" sizes="152x152" href="/assets/ico/apple-touch-icon.png"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="/assets/ico/favicon-32x32.png"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="/assets/ico/favicon-16x16.png"> | ||
<link rel="manifest" href="/assets/ico/site.webmanifest"> | ||
<link rel="mask-icon" href="/assets/ico/safari-pinned-tab.svg" color="#5bbad5"> | ||
<link rel="shortcut icon" href="/assets/ico/favicon.ico"> | ||
<meta name="msapplication-TileColor" content="#da532c"> | ||
<meta name="msapplication-config" content="/assets/ico/browserconfig.xml"> | ||
<meta name="theme-color" content="#ffffff"> | ||
{% if site.authors.content %}<meta name="author" content="{{ site.authors.content }}">{% endif %} | ||
{% if site.authors.web %}<meta name="web-author" content="{{ site.authors.web }}">{% endif %} | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
{% if site.google.analytics_code %}{%-include google-analytics.html-%}{% endif %} | ||
<!-- Atom Feeds --> | ||
<link href="/atom.xml" rel="alternate" title="News" type="application/atom+xml" /> | ||
|
||
<link href="/assets/css/style.min.css" rel="stylesheet" media="screen"> | ||
{% for stylesheet in page.stylesheets %} | ||
<link href="/assets/css/{{ stylesheet }}.css" rel="stylesheet"> | ||
{% endfor %} | ||
<link rel="stylesheet" type="text/css" href="/assets/css/prettify.css"> | ||
|
||
<script defer src="https://use.fontawesome.com/releases/v5.0.8/js/solid.js" integrity="sha384-+Ga2s7YBbhOD6nie0DzrZpJes+b2K1xkpKxTFFcx59QmVPaSA8c7pycsNaFwUK6l" crossorigin="anonymous"></script> | ||
<script defer src="https://use.fontawesome.com/releases/v5.0.8/js/brands.js" integrity="sha384-sCI3dTBIJuqT6AwL++zH7qL8ZdKaHpxU43dDt9SyOzimtQ9eyRhkG3B7KMl6AO19" crossorigin="anonymous"></script> | ||
<script defer src="https://use.fontawesome.com/releases/v5.0.8/js/fontawesome.js" integrity="sha384-7ox8Q2yzO/uWircfojVuCQOZl+ZZBg2D2J5nkpLqzH1HY0C1dHlTKIbpRz/LG23c" crossorigin="anonymous"></script> | ||
{% include favicons.html %} | ||
<!-- Stylesheets --> | ||
<link href="/assets/css/style.min.css" rel="stylesheet" media="screen"> | ||
{%-for stylesheet in page.stylesheets-%} | ||
<link href="/assets/css/{{ stylesheet }}.css" rel="stylesheet"> | ||
{% endfor %} | ||
{% include custom-styles.html %} | ||
<!-- Font Awesome Icons --> | ||
<script defer src="https://use.fontawesome.com/releases/v5.0.8/js/solid.js" integrity="sha384-+Ga2s7YBbhOD6nie0DzrZpJes+b2K1xkpKxTFFcx59QmVPaSA8c7pycsNaFwUK6l" crossorigin="anonymous"></script> | ||
<script defer src="https://use.fontawesome.com/releases/v5.0.8/js/brands.js" integrity="sha384-sCI3dTBIJuqT6AwL++zH7qL8ZdKaHpxU43dDt9SyOzimtQ9eyRhkG3B7KMl6AO19" crossorigin="anonymous"></script> | ||
<script defer src="https://use.fontawesome.com/releases/v5.0.8/js/fontawesome.js" integrity="sha384-7ox8Q2yzO/uWircfojVuCQOZl+ZZBg2D2J5nkpLqzH1HY0C1dHlTKIbpRz/LG23c" crossorigin="anonymous"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{% include navigation.html %} | ||
{%-include navigation.html-%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
<script src="/assets/js/scripts.min.js"></script> | ||
{% for script in page.scripts %} | ||
<script src="/assets/js/{{ script }}.js"></script> | ||
{% endfor %} | ||
<script type="text/javascript" src="/assets/js/prettify/prettify.min.js"></script> | ||
<script type="text/javascript" src="/assets/js/prettify/lang-sfz.js"></script> | ||
<script> | ||
$(document).ready(function(){ | ||
$('pre').addClass('prettyprint lang-sfz'); | ||
prettyPrint(); | ||
}); | ||
</script> | ||
<script src="/assets/js/scripts.min.js"></script> | ||
{%-for script in page.scripts-%} | ||
<script src="/assets/js/{{ script }}.js"></script> | ||
{%-endfor-%} | ||
{% include custom-scripts.html %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters