-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
570790e
commit 134a105
Showing
78 changed files
with
19,442 additions
and
0 deletions.
There are no files selected for viewing
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,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto |
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,6 @@ | ||
*~ | ||
*.gem | ||
.bundle | ||
.sass-cache | ||
_site | ||
Gemfile.lock |
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,9 @@ | ||
--- | ||
layout: page | ||
title: "Trang bạn cần xem không tồn tại!" | ||
css: ["about.css", "animate.css", "morphext.css"] | ||
js: ["morphext.min.js", "about.js"] | ||
permalink: /404.html | ||
--- | ||
|
||
Bài viết bạn cần xem không tồn tại, vui lòng gõ vào khung tìm kiếm bài viết khác, cảm ơn bạn. |
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 @@ | ||
dinhanhthi.com/NoteTheme |
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,2 @@ | ||
source 'https://rubygems.org' | ||
gem 'github-pages', group: :jekyll_plugins |
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,33 @@ | ||
title: NoteTheme | ||
description: You cannot remember everything. | ||
baseurl: "NoteTheme" | ||
url: "http://dinhanhthi.com" | ||
permalink: /:title | ||
repository: dinhanhthi/NoteTheme | ||
paginate: 28 | ||
|
||
# MatJek specific configurations | ||
github_profile: "https://dinhanhthi.com" | ||
user: "Dinh Anh Thi" | ||
user_email: "[email protected]" | ||
contact_url: "https://dinhanhthi.com" | ||
google_tracking_id: "" | ||
google_site_verification: "" | ||
disqus_shortname: this-site | ||
|
||
# Build settings | ||
markdown: kramdown | ||
|
||
gems: | ||
- jekyll-feed | ||
- jekyll-paginate | ||
- jekyll-seo-tag | ||
- jekyll-sitemap | ||
- jekyll-archives | ||
- jekyll-redirect-from | ||
exclude: | ||
- Gemfile | ||
- Gemfile.lock | ||
sass: | ||
style: compressed | ||
future: true |
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 @@ | ||
- slug: maths | ||
name: Toán | ||
- slug: phd | ||
name: PhD | ||
- slug: it | ||
name: CNTT | ||
- slug: french | ||
name: French | ||
- slug: articles | ||
name: Bài viết hay |
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,73 @@ | ||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> | ||
<script type="text/javascript"> | ||
jQuery(document).ready(function($){ | ||
// browser window scroll (in pixels) after which the "back to top" link is shown | ||
var offset = 300, | ||
//browser window scroll (in pixels) after which the "back to top" link opacity is reduced | ||
offset_opacity = 1200, | ||
//duration of the top scrolling animation (in ms) | ||
scroll_top_duration = 700, | ||
//grab the "back to top" link | ||
$back_to_top = $('.cd-top'); | ||
|
||
//hide or show the "back to top" link | ||
$(window).scroll(function(){ | ||
( $(this).scrollTop() > offset ) ? $back_to_top.addClass('cd-is-visible') : $back_to_top.removeClass('cd-is-visible cd-fade-out'); | ||
// if( $(this).scrollTop() > offset_opacity ) { | ||
// $back_to_top.addClass('cd-fade-out'); | ||
// } | ||
}); | ||
|
||
//smooth scroll to top | ||
$back_to_top.on('click', function(event){ | ||
event.preventDefault(); | ||
$('body,html').animate({ | ||
scrollTop: 0 , | ||
}, scroll_top_duration | ||
); | ||
}); | ||
|
||
}); | ||
</script> | ||
<style type="text/css"> | ||
.cd-top { | ||
display: inline-block; | ||
height: 50px; | ||
width: 50px; | ||
position: fixed; | ||
bottom: 2%; | ||
right: 2%; | ||
border-radius: 40px; | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); | ||
/* image replacement properties */ | ||
overflow: hidden; | ||
text-indent: 100%; | ||
white-space: nowrap; | ||
background: #bbb url(/images/cd-top-arrow.svg) no-repeat center 50%; | ||
visibility: hidden; | ||
opacity: 0; | ||
-webkit-transition: opacity .3s 0s, visibility 0s .3s; | ||
-moz-transition: opacity .3s 0s, visibility 0s .3s; | ||
transition: opacity .3s 0s, visibility 0s .3s; | ||
} | ||
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover { | ||
-webkit-transition: opacity .3s 0s, visibility 0s 0s; | ||
-moz-transition: opacity .3s 0s, visibility 0s 0s; | ||
transition: opacity .3s 0s, visibility 0s 0s; | ||
} | ||
.cd-top.cd-is-visible { | ||
/* the button becomes visible */ | ||
visibility: visible; | ||
opacity: 1; | ||
} | ||
.cd-top.cd-fade-out { | ||
/* if the user keeps scrolling down, the button is out of focus and becomes less visible */ | ||
opacity: .5; | ||
} | ||
.no-touch .cd-top:hover { | ||
background-color: #e86256; | ||
opacity: 1; | ||
} | ||
</style> | ||
|
||
<a href="#0" class="cd-top">Top</a> |
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,14 @@ | ||
<style type="text/css"> | ||
.ques-p{ | ||
color: #009688; | ||
font-weight: 500; | ||
} | ||
.ques-icon{ | ||
vertical-align: middle; | ||
font-size: 200%; | ||
} | ||
</style> | ||
<p class="ques-p"> | ||
<i class="material-icons ques-icon">help</i> | ||
{{ include.content }} | ||
</p> |
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,14 @@ | ||
<div id="disqus_thread"></div> | ||
<script> | ||
var disqus_config = function () { | ||
this.page.url = "{{site.url}}{{site.baseurl}}{{page.url}}"; | ||
this.page.identifier = "{{page.id}}"; | ||
}; | ||
(function() { // DON'T EDIT BELOW THIS LINE | ||
var d = document, s = d.createElement('script'); | ||
s.src = '//{{site.disqus_shortname}}.disqus.com/embed.js'; | ||
s.setAttribute('data-timestamp', +new Date()); | ||
(d.head || d.body).appendChild(s); | ||
})(); | ||
</script> | ||
<noscript>Vui lòng kích hoạt JavaScript để xem <a href="https://disqus.com/?ref_noscript">những comments từ Disqus.</a></noscript> |
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,32 @@ | ||
<footer class="page-footer teal"> | ||
<div class="footer-copyright"> | ||
<div class="container text-white"> | ||
<a href="https://dinhanhthi.com">Note of Thi</a> © {{"now" | date: "%Y"}} Giao diện chỉnh sửa từ <a href="https://shawnteoh.github.io/matjek/">MatJeck</a>. | ||
</div> | ||
</div> | ||
</footer> | ||
<script src="//code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/materialize/0.99.0/js/materialize.min.js"></script> | ||
{% for js in layout.js %} | ||
{% if js contains "//" %} | ||
<script src="{{js}}"></script> | ||
{% else %} | ||
<script src="{{site.baseurl}}/assets/js/{{js}}"></script> | ||
{% endif %} | ||
{% endfor %} | ||
{% for js in page.js %} | ||
{% if js contains "//" %} | ||
<script src="{{js}}"></script> | ||
{% else %} | ||
<script src="{{site.baseurl}}/assets/js/{{js}}"></script> | ||
{% endif %} | ||
{% endfor %} | ||
{% if site.google_tracking_id %} | ||
<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','//www.google-analytics.com/analytics.js','ga'); | ||
ga('create', '{{site.google_tracking_id}}', 'auto'); | ||
ga('send', 'pageview'); | ||
</script> | ||
{% endif %} | ||
<script src="{{site.baseurl}}/assets/js/main.js"></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,51 @@ | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<link href="https://fonts.googleapis.com/css?family=Maven+Pro:400,500&subset=latin-ext,vietnamese" rel="stylesheet"> | ||
<link href="https://fonts.googleapis.com/css?family=Dancing+Script:400,700&subset=vietnamese" rel="stylesheet"> | ||
<meta name="google-site-verification" content="8zqeFQNuNAWS7ye6oN69hdEeYC_RsDyAlhht79xtAQo" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta property="og:image" content="{{site.baseurl}}/assets/res/banner.png" /> | ||
<meta name="robots" content="noindex"> | ||
<title> | ||
{% if page.title %} | ||
{{ page.title | escape }} | Notes of Thi | ||
{% else %} | ||
{{ site.title | escape }} | You cannot remember everything | ||
{% endif %} | ||
</title> | ||
|
||
{% if page.maths %} | ||
<script type="text/x-mathjax-config"> | ||
MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}}); | ||
</script> | ||
<script type="text/javascript" async | ||
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> | ||
</script> | ||
{% endif %} | ||
|
||
<link rel="shortcut icon" type="image/x-icon" href="{{site.baseurl}}/assets/res/favicon.png"> | ||
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/materialize/0.99.0/css/materialize.min.css"> | ||
<link rel="stylesheet" href="//fonts.googleapis.com/icon?family=Material+Icons"> | ||
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/main.css"> | ||
|
||
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/thi.css"> | ||
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/thi_scss.css"> | ||
{% for css in layout.css %} | ||
{% if css contains "//" %} | ||
<link rel="stylesheet" href="{{css}}"> | ||
{% else %} | ||
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/{{css}}"> | ||
{% endif %} | ||
{% endfor %} | ||
{% for css in page.css %} | ||
{% if css contains "//" %} | ||
<link rel="stylesheet" href="{{css}}"> | ||
{% else %} | ||
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/{{css}}"> | ||
{% endif %} | ||
{% endfor %} | ||
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/syntax.css"> | ||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{site.baseurl}}/feed.xml"> | ||
<link rel="sitemap" type="application/xml" title="Sitemap" href="{{site.baseurl}}/sitemap.xml"> | ||
{% seo title=false %} | ||
</head> |
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 @@ | ||
<nav class="top-nav teal"> | ||
<div class="nav-wrapper"> | ||
<div class="container"> | ||
<a class="page-title font-title" href="{{site.baseurl}}/">Notes of Thi</a> | ||
<ul id="nav-mobile" class="right hide-on-med-and-down"> | ||
<li><a href="/tags">Thẻ</a></li> | ||
<li><a href="/categories">Theo mục</a></li> | ||
<li><a href="/about">Giới thiệu</a></li> | ||
<li><a href="/contact">Liên hệ</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</nav> |
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 @@ | ||
{% include header-nav.html %} | ||
<div class="container"> | ||
<a href="#" data-activates="slide-out" class="button-collapse top-nav full hide-on-large-only"> | ||
<i class="material-icons">menu</i> | ||
</a> | ||
</div> | ||
<div id="slide-out" class="side-nav fixed"> | ||
<div> | ||
<div class="userView thi-userView"> | ||
<div class="background"></div> | ||
<a href="{{site.github_profile}}"> | ||
<img style="display:inherit;" class="circle z-depth-2" src="{{site.baseurl}}/assets/res/user.png"> | ||
</a> | ||
<span style="font-size: larger;" class="white-text name">{{site.user}}</span> | ||
<span class="white-text email"><a style="color: #bdbdbd;" href="https://dinhanhthi.com">dinhanhthi.com</a></span> | ||
</div> | ||
</div> | ||
<div style="padding: 10px;"> | ||
<form action="{{ site.baseurl }}/search" method="get"> | ||
<input class="search-sidebar" type="search" name="q" {% if include.add_id %}id="search-input"{% endif %} placeholder="tìm gì đó?" autofocus> | ||
<input type="submit" value="Search" style="display: none;"> | ||
</form> | ||
</div> | ||
<div id="toc-bar"> | ||
<div class="toc-bar-title"> | ||
Trong bài này | ||
</div> | ||
{% include toc-sidebar.html html=content %} | ||
</div> | ||
</div> |
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,32 @@ | ||
{% include header-nav.html %} | ||
<div class="container"> | ||
<a href="#" data-activates="slide-out" class="button-collapse top-nav full hide-on-large-only"> | ||
<i class="material-icons">menu</i> | ||
</a> | ||
</div> | ||
<ul id="slide-out" class="side-nav fixed"> | ||
<li> | ||
<div class="userView thi-userView"> | ||
<div class="background"></div> | ||
<a href="{{site.github_profile}}"> | ||
<img style="display:inherit;" class="circle z-depth-2" src="{{site.baseurl}}/assets/res/user.png"> | ||
</a> | ||
<span style="font-size: larger;" class="white-text name">{{site.user}}</span> | ||
<span class="white-text email"><a style="color: #bdbdbd;" href="https://dinhanhthi.com">dinhanhthi.com</a></span> | ||
</div> | ||
</li> | ||
<li style="padding: 10px;"> | ||
<form action="{{ site.baseurl }}/search" method="get"> | ||
<input class="search-sidebar" type="search" name="q" {% if include.add_id %}id="search-input"{% endif %} placeholder="tìm gì đó?" autofocus> | ||
<input type="submit" value="Search" style="display: none;"> | ||
</form> | ||
</li> | ||
<div id="nav-bar"> | ||
<li><a class="waves-effect" href="{{site.baseurl}}/"><i class="material-icons">home</i>Trang chủ</a></li> | ||
<li><a class="waves-effect" href="{{site.baseurl}}/categories"><i class="material-icons">sort</i>Theo mục</a></li> | ||
<li><a class="waves-effect" href="{{site.baseurl}}/tags"><i class="material-icons">loyalty</i>Thẻ</a></li> | ||
<li><div class="divider"></div></li> | ||
<li><a class="waves-effect" href="{{site.baseurl}}/about"><i class="material-icons">info</i>Giới thiệu</a></li> | ||
<li><a class="waves-effect" href="{{site.baseurl}}/contact"><i class="material-icons">perm_contact_calendar</i>Liên hệ</a></li> | ||
</div> | ||
</ul> |
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,18 @@ | ||
<style type="text/css"> | ||
.thi-more{ | ||
font-size: 105%; | ||
color: darkcyan; | ||
font-weight: 500; | ||
} | ||
.thi-more a{ | ||
color: darkcyan; | ||
} | ||
.thi-more i{ | ||
margin-left: -10px; | ||
float: left; | ||
} | ||
</style> | ||
<div markdown="span" class="thi-more"> | ||
<i class="material-icons">keyboard_arrow_right</i> | ||
{{include.content}} | ||
</div> |
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,4 @@ | ||
<p class="ques-p"> | ||
<i class="material-icons ques-icon">help</i> | ||
<span markdown="1">{{ include.content }}</span> | ||
</p> |
Oops, something went wrong.