Skip to content
This repository was archived by the owner on Apr 18, 2019. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
_site
.sass-cache
.DS_Store
2 changes: 2 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
<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 }}" />
<link rel="shortcut icon" href="/assets/img/favicon.ico"/>
<link rel="bookmark" href="/assets/img/favicon.ico"/>

<script src="{{ "/assets/js/prefixfree.js" | prepend: site.baseurl }}"></script>
</head>
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="footer">
<div class="container">
<p class="footer-entry">All content is licensed under <a href="http://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA</a></p>
<p class="footer-entry">Buit with <a href="http://jekyllrb.com/" target="_blank">Jekyll</a> and <a href="https://github.com/P233/3-Jekyll" target="_blank">3-Jekyll theme</a> • Hosted on <a href="https://pages.github.com/" target="_blank">Github</a></p>
<p class="footer-entry">Powered by <a href="http://jekyllrb.com/" target="_blank">Jekyll</a> • Theme<a href="https://github.com/P233/3-Jekyll" target="_blank"> 3-Jekyll</a> • Hosted on <a href="https://pages.github.com/" target="_blank">Github</a></p>
</div>
</div>
</main>
Expand Down
38 changes: 38 additions & 0 deletions _sass/9-page.sass
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,42 @@

// Home Page
#home
padding-top: 3em
font-size: 24px
line-height: 1.8
text-align: center
> h1
margin-bottom: 10px
font-size: 1.4em
+ p
margin: 0 0 2.5em
> h2
margin-bottom: 1em
font-size: 1em
> ul
margin: 0 0 100px
padding: 0
list-style: none
> li
margin-bottom: .75em
a
position: relative
color: $post-link-color
text-decoration: none
text-shadow: 1px 1px 0 #fff
outline: none
&:after
content: ""
position: absolute
left: 0
bottom: -4px
width: 100%
height: 2px
background: $gradient-end
transform: scaleX(0)
transition: transform .5s ease
&:hover:after
transform: scaleX(1)

@media screen and (max-width: $breakpoint-mobile)
font-size: 17px
Binary file added assets/img/favicon.ico
Binary file not shown.
File renamed without changes
8 changes: 7 additions & 1 deletion assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $(function() {
{% if site.disqus_shortname %}
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//{{ site.disqus_shortname }}' + '.disqus.com/embed.js';
dsq.src = 'https://{{ site.disqus_shortname }}' + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
{% endif %}
Expand Down Expand Up @@ -76,4 +76,10 @@ $(function() {
$(this).add(sidebar).toggleClass('open');
});

// Search
$('#search-input').on('input', function(e){
toc.hide();
$('.toc-link:contains(' + this.value + ')').fadeIn(350);
});

});
2 changes: 1 addition & 1 deletion ie.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
<h1>!</h1>
<h2>Sorry, the browser you are using is not supported :(</h2>
<p>Please switch to a modern browser such as Chrome or Firefox, or scan the QR Code and visit from your mobile devices.</p>
<img src="assets/img/qrcode.jpg">
<img src="assets/img/qrcode.png">
</body>
</html>