jekyll-yamt 0.1.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.txt +21 -21
- data/README.md +76 -23
- data/_includes/analytics.html +9 -9
- data/_includes/categories.html +12 -12
- data/_includes/disqus.html +18 -18
- data/_includes/footer.html +2 -2
- data/_includes/head.html +36 -36
- data/_includes/header.html +24 -15
- data/_includes/pages.html +2 -2
- data/_includes/reading_time.html +20 -20
- data/_includes/related-posts.html +35 -35
- data/_includes/social.html +7 -7
- data/_layouts/archive.html +14 -14
- data/_layouts/contact.html +16 -16
- data/_layouts/default.html +18 -19
- data/_layouts/home.html +45 -43
- data/_layouts/page.html +5 -5
- data/_layouts/post.html +45 -45
- data/_sass/archive.scss +9 -9
- data/_sass/base.scss +127 -126
- data/_sass/contact.scss +49 -49
- data/_sass/footer.scss +23 -23
- data/_sass/header.scss +103 -71
- data/_sass/home.scss +36 -36
- data/_sass/mobile.scss +50 -51
- data/_sass/paginator.scss +35 -35
- data/_sass/post.scss +78 -77
- data/_sass/related-posts.scss +22 -22
- data/_sass/scrollbar.scss +16 -16
- data/_sass/typography.scss +40 -40
- data/assets/css/main.css +1 -0
- data/assets/css/main.scss +4 -4
- data/assets/css/syntax.css +1 -0
- data/assets/css/syntax.scss +257 -257
- data/assets/img/logo.jpg +0 -0
- data/assets/img/oranges.jpg +0 -0
- data/assets/img/screenshots/Screenshot.png +0 -0
- data/assets/img/screenshots/Screenshot_code_highlight.png +0 -0
- data/assets/img/screenshots/Screenshot_minimal.png +0 -0
- data/assets/img/screenshots/Screenshot_mobile.png +0 -0
- metadata +9 -4
- data/assets/img/rotation.gif +0 -0
- data/assets/img/rotation.jpg +0 -0
@@ -1,36 +1,36 @@
|
|
1
|
-
<div class="related">
|
2
|
-
|
3
|
-
<h4>{{site.data.settings.related-posts.title}}</h4>
|
4
|
-
|
5
|
-
{% assign maxRelated = 4 %}
|
6
|
-
{% assign minCommonTags = 1 %}
|
7
|
-
{% assign maxRelatedCounter = 0 %}
|
8
|
-
|
9
|
-
{% for post in site.posts %}
|
10
|
-
|
11
|
-
{% assign sameTagCount = 0 %}
|
12
|
-
{% assign commonTags = '' %}
|
13
|
-
|
14
|
-
{% for category in post.categories %}
|
15
|
-
{% if post.url != page.url %}
|
16
|
-
{% if page.categories contains category %}
|
17
|
-
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
18
|
-
{% capture tagmarkup %} <span class="label label-default">{{ category }}</span> {% endcapture %}
|
19
|
-
{% assign commonTags = commonTags | append: tagmarkup %}
|
20
|
-
{% endif %}
|
21
|
-
{% endif %}
|
22
|
-
{% endfor %}
|
23
|
-
|
24
|
-
{% if sameTagCount >= minCommonTags %}
|
25
|
-
<div class = "related-posts">
|
26
|
-
<h5><a href="{{ site.baseurl }}{{ post.url }}">• {{ post.title }}</a></h5>
|
27
|
-
</div>
|
28
|
-
{% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
|
29
|
-
{% if maxRelatedCounter >= maxRelated %}
|
30
|
-
{% break %}
|
31
|
-
{% endif %}
|
32
|
-
{% endif %}
|
33
|
-
|
34
|
-
{% endfor %}
|
35
|
-
|
1
|
+
<div class="related">
|
2
|
+
|
3
|
+
<h4>{{site.data.settings.related-posts.title}}</h4>
|
4
|
+
|
5
|
+
{% assign maxRelated = 4 %}
|
6
|
+
{% assign minCommonTags = 1 %}
|
7
|
+
{% assign maxRelatedCounter = 0 %}
|
8
|
+
|
9
|
+
{% for post in site.posts %}
|
10
|
+
|
11
|
+
{% assign sameTagCount = 0 %}
|
12
|
+
{% assign commonTags = '' %}
|
13
|
+
|
14
|
+
{% for category in post.categories %}
|
15
|
+
{% if post.url != page.url %}
|
16
|
+
{% if page.categories contains category %}
|
17
|
+
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
18
|
+
{% capture tagmarkup %} <span class="label label-default">{{ category }}</span> {% endcapture %}
|
19
|
+
{% assign commonTags = commonTags | append: tagmarkup %}
|
20
|
+
{% endif %}
|
21
|
+
{% endif %}
|
22
|
+
{% endfor %}
|
23
|
+
|
24
|
+
{% if sameTagCount >= minCommonTags %}
|
25
|
+
<div class = "related-posts">
|
26
|
+
<h5><a href="{{ site.baseurl }}{{ post.url }}">• {{ post.title }}</a></h5>
|
27
|
+
</div>
|
28
|
+
{% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
|
29
|
+
{% if maxRelatedCounter >= maxRelated %}
|
30
|
+
{% break %}
|
31
|
+
{% endif %}
|
32
|
+
{% endif %}
|
33
|
+
|
34
|
+
{% endfor %}
|
35
|
+
|
36
36
|
</div>
|
data/_includes/social.html
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
{% for item in site.data.social.social %}
|
2
|
-
{% if item.type == "brand"%}
|
3
|
-
<a href="{{ item.link }}" target="_blank" id="{{item.icon}}"><i class="fab fa-{{item.icon}}" aria-hidden="true"></i></a>
|
4
|
-
{% endif %}
|
5
|
-
{% if item.type == "solid"%}
|
6
|
-
<a href="{{ item.link }}" target="_blank" id="{{item.icon}}"><i class="fas fa-{{item.icon}}" aria-hidden="true"></i></a>
|
7
|
-
{% endif %}
|
1
|
+
{% for item in site.data.social.social %}
|
2
|
+
{% if item.type == "brand"%}
|
3
|
+
<a href="{{ item.link }}" target="_blank" id="{{item.icon}}"><i class="fab fa-{{item.icon}}" aria-hidden="true"></i></a>
|
4
|
+
{% endif %}
|
5
|
+
{% if item.type == "solid"%}
|
6
|
+
<a href="{{ item.link }}" target="_blank" id="{{item.icon}}"><i class="fas fa-{{item.icon}}" aria-hidden="true"></i></a>
|
7
|
+
{% endif %}
|
8
8
|
{% endfor %}
|
data/_layouts/archive.html
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
title: Archive
|
4
|
-
---
|
5
|
-
|
6
|
-
{% assign postsByDate =
|
7
|
-
site.posts | group_by_exp:"post", "post.date | date: '%B %Y'" %}
|
8
|
-
{% for year in postsByDate %}
|
9
|
-
<h2 class = "archive-date" id = "date-{{post.date | date: "%B %Y"}}">{{ year.name }}</h1>
|
10
|
-
<ul>
|
11
|
-
{% for post in year.items %}
|
12
|
-
<li><a class = "archive-link" href="{{ post.url }}">{{ post.title }}</a></li>
|
13
|
-
{% endfor %}
|
14
|
-
</ul>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
title: Archive
|
4
|
+
---
|
5
|
+
|
6
|
+
{% assign postsByDate =
|
7
|
+
site.posts | group_by_exp:"post", "post.date | date: '%B %Y'" %}
|
8
|
+
{% for year in postsByDate %}
|
9
|
+
<h2 class = "archive-date" id = "date-{{post.date | date: "%B %Y"}}">{{ year.name }}</h1>
|
10
|
+
<ul>
|
11
|
+
{% for post in year.items %}
|
12
|
+
<li><a class = "archive-link" href="{{ post.url }}">{{ post.title }}</a></li>
|
13
|
+
{% endfor %}
|
14
|
+
</ul>
|
15
15
|
{% endfor %}
|
data/_layouts/contact.html
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
title: Contact
|
4
|
-
---
|
5
|
-
|
6
|
-
<h2>Contact Form</h2>
|
7
|
-
<div class = "form">
|
8
|
-
<form name = "contact-form" action="
|
9
|
-
<input class = "form-input" type="text" name="name" id="name" placeholder="Name" required><br>
|
10
|
-
|
11
|
-
<input class = "form-input"type="mail" name="mail" id="mail" placeholder="Email" required><br>
|
12
|
-
|
13
|
-
<textarea class = "form-input" name="message" id="message" cols="30" rows="10" placeholder="Message" required></textarea><br>
|
14
|
-
|
15
|
-
<input class = "form-button" type="submit" value="Submit"><br>
|
16
|
-
</form>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
title: Contact
|
4
|
+
---
|
5
|
+
|
6
|
+
<h2>Contact Form</h2>
|
7
|
+
<div class = "form">
|
8
|
+
<form name = "contact-form" action="/contact-successful.html" method = "POST" data-netlify="true">
|
9
|
+
<input class = "form-input" type="text" name="name" id="name" placeholder="Name" required><br>
|
10
|
+
|
11
|
+
<input class = "form-input"type="mail" name="mail" id="mail" placeholder="Email" required><br>
|
12
|
+
|
13
|
+
<textarea class = "form-input" name="message" id="message" cols="30" rows="10" placeholder="Message" required></textarea><br>
|
14
|
+
|
15
|
+
<input class = "form-button" type="submit" value="Submit"><br>
|
16
|
+
</form>
|
17
17
|
</div>
|
data/_layouts/default.html
CHANGED
@@ -1,19 +1,18 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
{% include head.html %}
|
5
|
-
</head>
|
6
|
-
<body>
|
7
|
-
|
8
|
-
<div class="container">
|
9
|
-
{% include header.html %}
|
10
|
-
|
11
|
-
<div class="post-container">
|
12
|
-
{{ content }}
|
13
|
-
</div>
|
14
|
-
</div>
|
15
|
-
|
16
|
-
{%- include footer.html -%}
|
17
|
-
|
18
|
-
</
|
19
|
-
</html>
|
1
|
+
<!doctype html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
{% include head.html %}
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
|
8
|
+
<div class="container">
|
9
|
+
{% include header.html %}
|
10
|
+
|
11
|
+
<div class="post-container">
|
12
|
+
{{ content }}
|
13
|
+
</div>
|
14
|
+
</div>
|
15
|
+
|
16
|
+
{%- include footer.html -%}
|
17
|
+
</body>
|
18
|
+
</html>
|
data/_layouts/home.html
CHANGED
@@ -1,43 +1,45 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
title: Home
|
4
|
-
---
|
5
|
-
{% for post in paginator.posts %}
|
6
|
-
|
7
|
-
<div class="post">
|
8
|
-
<h2><a href="{% if site.baseurl == "/" %}{{ post.url }}{% else %}{{ post.url | prepend: site.baseurl }}{% endif %}">{{ post.title }}</a></h2>
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
{%
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
{%
|
26
|
-
{{
|
27
|
-
{%
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
{%
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
title: Home
|
4
|
+
---
|
5
|
+
{% for post in paginator.posts %}
|
6
|
+
|
7
|
+
<div class="post">
|
8
|
+
<h2 id = "post-title"><a href="{% if site.baseurl == "/" %}{{ post.url }}{% else %}{{ post.url | prepend: site.baseurl }}{% endif %}">{{ post.title }}</a></h2>
|
9
|
+
|
10
|
+
{% if site.data.settings.date-under-post.active %}
|
11
|
+
<div class = "post-info">
|
12
|
+
<span>
|
13
|
+
<i class="far fa-calendar" aria-hidden="true"></i> <time datetime="{{ post.date | date_to_xmlschema }}" class="by-line">{{ post.date | date_to_string }}</time> - <i class="far fa-clock"></i> {% include reading_time.html %}
|
14
|
+
</span>
|
15
|
+
</div>
|
16
|
+
{% endif %}
|
17
|
+
|
18
|
+
{% if post.image and site.data.settings.featured-img.active%}
|
19
|
+
<div class = "featured-img-container">
|
20
|
+
<a href="{% if site.baseurl == "/" %}{{ post.url }}{% else %}{{ post.url | prepend: site.baseurl }}{% endif %}"><img src="{{ post.image }}"/></a>
|
21
|
+
</div>
|
22
|
+
{% endif %}
|
23
|
+
|
24
|
+
<p>
|
25
|
+
{% if post.customexcerpt %}
|
26
|
+
{{post.customexcerpt | strip_html | truncatewords:50}}
|
27
|
+
{% else %}
|
28
|
+
{{ post.content | strip_html | truncatewords:50 }}
|
29
|
+
{% endif %}
|
30
|
+
<span class = "continue-reading"><a href="{% if site.baseurl == "/" %}{{ post.url }}{% else %}{{ post.url | prepend: site.baseurl }}{% endif %}">Continue reading...</a></span>
|
31
|
+
</p>
|
32
|
+
</div>
|
33
|
+
{% endfor %}
|
34
|
+
|
35
|
+
<!-- Pagination links -->
|
36
|
+
<div class = "paginator">
|
37
|
+
{% if paginator.total_pages > 1 %}
|
38
|
+
{% if paginator.next_page %}
|
39
|
+
<a class = "older paginate-button" href="{{ paginator.next_page_path | prepend: site.baseurl }}">Older Posts</a>
|
40
|
+
{% endif %}
|
41
|
+
{% if paginator.previous_page %}
|
42
|
+
<a class = "newer paginate-button" href="{{ paginator.previous_page_path | prepend: site.baseurl }}">Newer Posts</a>
|
43
|
+
{% endif %}
|
44
|
+
{% endif %}
|
45
|
+
</div>
|
data/_layouts/page.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
{{ content }}
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
data/_layouts/post.html
CHANGED
@@ -1,45 +1,45 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
{% include head.html %}
|
5
|
-
</head>
|
6
|
-
|
7
|
-
<body>
|
8
|
-
|
9
|
-
<div class="container">
|
10
|
-
{% include header.html %}
|
11
|
-
|
12
|
-
<div class="post-container">
|
13
|
-
<article id = "post">
|
14
|
-
<h2 id = "post-title">{{ page.title }}</h2>
|
15
|
-
|
16
|
-
{% if site.data.settings.date-under-post.active %}
|
17
|
-
<div class = "post-info">
|
18
|
-
<span>
|
19
|
-
<i class="far fa-calendar" aria-hidden="true"></i> <span>{{ page.date | date_to_string }}</span> - <i class="far fa-clock"></i> {% include reading_time.html %}
|
20
|
-
</span>
|
21
|
-
</div>
|
22
|
-
{% endif %}
|
23
|
-
{{ content }}
|
24
|
-
</article>
|
25
|
-
</div>
|
26
|
-
{% if site.data.settings.categories.active %}
|
27
|
-
{% include categories.html %}
|
28
|
-
{% endif %}
|
29
|
-
|
30
|
-
{% if site.data.settings.related-posts.active %}
|
31
|
-
{% include related-posts.html %}
|
32
|
-
{% endif %}
|
33
|
-
|
34
|
-
{% if site.data.settings.disqus.disqus_shortname %}
|
35
|
-
{% include disqus.html %}
|
36
|
-
{% endif %}
|
37
|
-
</div>
|
38
|
-
|
39
|
-
{%- include footer.html -%}
|
40
|
-
|
41
|
-
{% if site.data.settings.mathjax.active %}
|
42
|
-
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
43
|
-
{% endif %}
|
44
|
-
</body>
|
45
|
-
</html>
|
1
|
+
<!doctype html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
{% include head.html %}
|
5
|
+
</head>
|
6
|
+
|
7
|
+
<body>
|
8
|
+
|
9
|
+
<div class="container">
|
10
|
+
{% include header.html %}
|
11
|
+
|
12
|
+
<div class="post-container">
|
13
|
+
<article id = "post">
|
14
|
+
<h2 id = "post-title">{{ page.title }}</h2>
|
15
|
+
|
16
|
+
{% if site.data.settings.date-under-post.active %}
|
17
|
+
<div class = "post-info">
|
18
|
+
<span>
|
19
|
+
<i class="far fa-calendar" aria-hidden="true"></i> <span>{{ page.date | date_to_string }}</span> - <i class="far fa-clock"></i> {% include reading_time.html %}
|
20
|
+
</span>
|
21
|
+
</div>
|
22
|
+
{% endif %}
|
23
|
+
{{ content }}
|
24
|
+
</article>
|
25
|
+
</div>
|
26
|
+
{% if site.data.settings.categories.active %}
|
27
|
+
{% include categories.html %}
|
28
|
+
{% endif %}
|
29
|
+
|
30
|
+
{% if site.data.settings.related-posts.active %}
|
31
|
+
{% include related-posts.html %}
|
32
|
+
{% endif %}
|
33
|
+
|
34
|
+
{% if site.data.settings.disqus.disqus_shortname %}
|
35
|
+
{% include disqus.html %}
|
36
|
+
{% endif %}
|
37
|
+
</div>
|
38
|
+
|
39
|
+
{%- include footer.html -%}
|
40
|
+
|
41
|
+
{% if site.data.settings.mathjax.active %}
|
42
|
+
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
43
|
+
{% endif %}
|
44
|
+
</body>
|
45
|
+
</html>
|
data/_sass/archive.scss
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
.archive-link{
|
2
|
-
text-decoration: none;
|
3
|
-
color: black;
|
4
|
-
font-style: italic;
|
5
|
-
font-size: 1.5rem;
|
6
|
-
}
|
7
|
-
|
8
|
-
.archive-link:hover{
|
9
|
-
text-decoration: underline;
|
1
|
+
.archive-link{
|
2
|
+
text-decoration: none;
|
3
|
+
color: black;
|
4
|
+
font-style: italic;
|
5
|
+
font-size: 1.5rem;
|
6
|
+
}
|
7
|
+
|
8
|
+
.archive-link:hover{
|
9
|
+
text-decoration: underline;
|
10
10
|
}
|
data/_sass/base.scss
CHANGED
@@ -1,126 +1,127 @@
|
|
1
|
-
//Colors
|
2
|
-
$base: #a2a2a2;
|
3
|
-
$light-grey: #ebebeb;
|
4
|
-
|
5
|
-
* {
|
6
|
-
-webkit-box-sizing: border-box;
|
7
|
-
-moz-box-sizing: border-box;
|
8
|
-
box-sizing: border-box;
|
9
|
-
}
|
10
|
-
html{
|
11
|
-
scroll-behavior: smooth;
|
12
|
-
}
|
13
|
-
.container {
|
14
|
-
margin-left: auto;
|
15
|
-
margin-right: auto;
|
16
|
-
width: 700px;
|
17
|
-
}
|
18
|
-
|
19
|
-
.task-list{
|
20
|
-
list-style: none;
|
21
|
-
}
|
22
|
-
|
23
|
-
//Disqus
|
24
|
-
#load-comments{
|
25
|
-
border: 1px solid #e0e0e0;
|
26
|
-
border-radius: 3px;
|
27
|
-
padding: 15px 35px;
|
28
|
-
margin-left: auto;
|
29
|
-
margin-right: auto;
|
30
|
-
overflow: hidden;
|
31
|
-
text-align: center;
|
32
|
-
max-width: fit-content;
|
33
|
-
//Make text not selectable
|
34
|
-
-webkit-user-select: none;
|
35
|
-
-moz-user-select: none;
|
36
|
-
-ms-user-select: none;
|
37
|
-
user-select: none;
|
38
|
-
color: $base;
|
39
|
-
}
|
40
|
-
|
41
|
-
#load-comments:hover{
|
42
|
-
cursor: pointer;
|
43
|
-
color: black;
|
44
|
-
background-color: $light-grey;
|
45
|
-
}
|
46
|
-
//End Disqus
|
47
|
-
|
48
|
-
//Alerts
|
49
|
-
.alert{
|
50
|
-
padding: 20px;
|
51
|
-
border-radius: 0 4px 4px 0;
|
52
|
-
color: #fff;
|
53
|
-
display: block;
|
54
|
-
font-size: larger;
|
55
|
-
font-family: 'Montserrat', sans-serif;
|
56
|
-
}
|
57
|
-
|
58
|
-
.y{
|
59
|
-
background-color: #f3b244;
|
60
|
-
border-left: 7px solid #dc900e;
|
61
|
-
}
|
62
|
-
|
63
|
-
.g{
|
64
|
-
background-color: #60c17d;
|
65
|
-
border-left: 7px solid #55ab6f;
|
66
|
-
}
|
67
|
-
|
68
|
-
.r{
|
69
|
-
background-color: #e45454;
|
70
|
-
border-left: 7px solid #cb2020;
|
71
|
-
}
|
72
|
-
//End Alerts
|
73
|
-
|
74
|
-
//Blockquote
|
75
|
-
blockquote {
|
76
|
-
border-left: .25em solid #dfe2e5;
|
77
|
-
color: #6a737d;
|
78
|
-
padding: 0 1em;
|
79
|
-
cite{
|
80
|
-
display: inline-block;
|
81
|
-
margin-top: 50px;
|
82
|
-
cite::before{
|
83
|
-
content: "- ";
|
84
|
-
margin-left: 10px;
|
85
|
-
}
|
86
|
-
}
|
87
|
-
}
|
88
|
-
//End Blockquote
|
89
|
-
|
90
|
-
//MathJAX
|
91
|
-
.MathJax_Display{
|
92
|
-
.MathJax {
|
93
|
-
font-size: 1.2rem;
|
94
|
-
}
|
95
|
-
}
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
font-
|
102
|
-
font-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
}
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
}
|
126
|
-
}
|
1
|
+
//Colors
|
2
|
+
$base: #a2a2a2;
|
3
|
+
$light-grey: #ebebeb;
|
4
|
+
|
5
|
+
* {
|
6
|
+
-webkit-box-sizing: border-box;
|
7
|
+
-moz-box-sizing: border-box;
|
8
|
+
box-sizing: border-box;
|
9
|
+
}
|
10
|
+
html{
|
11
|
+
scroll-behavior: smooth;
|
12
|
+
}
|
13
|
+
.container {
|
14
|
+
margin-left: auto;
|
15
|
+
margin-right: auto;
|
16
|
+
width: 700px;
|
17
|
+
}
|
18
|
+
|
19
|
+
.task-list{
|
20
|
+
list-style: none;
|
21
|
+
}
|
22
|
+
|
23
|
+
//Disqus
|
24
|
+
#load-comments{
|
25
|
+
border: 1px solid #e0e0e0;
|
26
|
+
border-radius: 3px;
|
27
|
+
padding: 15px 35px;
|
28
|
+
margin-left: auto;
|
29
|
+
margin-right: auto;
|
30
|
+
overflow: hidden;
|
31
|
+
text-align: center;
|
32
|
+
max-width: fit-content;
|
33
|
+
//Make text not selectable
|
34
|
+
-webkit-user-select: none;
|
35
|
+
-moz-user-select: none;
|
36
|
+
-ms-user-select: none;
|
37
|
+
user-select: none;
|
38
|
+
color: $base;
|
39
|
+
}
|
40
|
+
|
41
|
+
#load-comments:hover{
|
42
|
+
cursor: pointer;
|
43
|
+
color: black;
|
44
|
+
background-color: $light-grey;
|
45
|
+
}
|
46
|
+
//End Disqus
|
47
|
+
|
48
|
+
//Alerts
|
49
|
+
.alert{
|
50
|
+
padding: 20px;
|
51
|
+
border-radius: 0 4px 4px 0;
|
52
|
+
color: #fff;
|
53
|
+
display: block;
|
54
|
+
font-size: larger;
|
55
|
+
font-family: 'Montserrat', sans-serif;
|
56
|
+
}
|
57
|
+
|
58
|
+
.y{
|
59
|
+
background-color: #f3b244;
|
60
|
+
border-left: 7px solid #dc900e;
|
61
|
+
}
|
62
|
+
|
63
|
+
.g{
|
64
|
+
background-color: #60c17d;
|
65
|
+
border-left: 7px solid #55ab6f;
|
66
|
+
}
|
67
|
+
|
68
|
+
.r{
|
69
|
+
background-color: #e45454;
|
70
|
+
border-left: 7px solid #cb2020;
|
71
|
+
}
|
72
|
+
//End Alerts
|
73
|
+
|
74
|
+
//Blockquote
|
75
|
+
blockquote {
|
76
|
+
border-left: .25em solid #dfe2e5;
|
77
|
+
color: #6a737d;
|
78
|
+
padding: 0 1em;
|
79
|
+
cite{
|
80
|
+
display: inline-block;
|
81
|
+
margin-top: 50px;
|
82
|
+
cite::before{
|
83
|
+
content: "- ";
|
84
|
+
margin-left: 10px;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
//End Blockquote
|
89
|
+
|
90
|
+
//MathJAX
|
91
|
+
.MathJax_Display{
|
92
|
+
.MathJax {
|
93
|
+
font-size: 1.2rem;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
//End MathJAX
|
97
|
+
|
98
|
+
//ToC
|
99
|
+
#markdown-toc::before {
|
100
|
+
content: "Contents";
|
101
|
+
font-size: 1.1rem;
|
102
|
+
font-family: 'Montserrat', sans-serif;
|
103
|
+
font-weight: bold;
|
104
|
+
}
|
105
|
+
|
106
|
+
#markdown-toc {
|
107
|
+
border: 1px solid #aaa;
|
108
|
+
border-radius: 10px;
|
109
|
+
padding: 1.5em;
|
110
|
+
list-style: disc;
|
111
|
+
display: inline-block;
|
112
|
+
background-color: $light-grey;
|
113
|
+
line-height: 25px;
|
114
|
+
li{
|
115
|
+
a{
|
116
|
+
font-family: 'PT Serif', serif;
|
117
|
+
text-decoration: none;
|
118
|
+
}
|
119
|
+
a:hover{
|
120
|
+
font-style: italic;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
ul{
|
124
|
+
list-style: disc;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
//End ToC
|