Skip to content

Commit ff070b0

Browse files
committed
Clean up whitespace
Convert tabs to spaces. Convert \r\n to \n.
1 parent 7f47b00 commit ff070b0

15 files changed

+960
-960
lines changed

Diff for: LICENSE.txt

+63-63
Large diffs are not rendered by default.

Diff for: README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ [email protected] | @ajlkn
3030
3131
Credits:
3232
33-
Demo Images:
34-
Unsplash (unsplash.com)
33+
Demo Images:
34+
Unsplash (unsplash.com)
3535
36-
Icons:
37-
Font Awesome (fontawesome.io)
36+
Icons:
37+
Font Awesome (fontawesome.io)
3838
39-
Other:
40-
jQuery (jquery.com)
41-
Responsive Tools (github.com/ajlkn/responsive-tools)
39+
Other:
40+
jQuery (jquery.com)
41+
Responsive Tools (github.com/ajlkn/responsive-tools)
4242
```

Diff for: _layouts/home.html

+24-24
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
<!DOCTYPE html>
22
<!--
3-
Photon by HTML5 UP
4-
html5up.net | @ajlkn
5-
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
3+
Photon by HTML5 UP
4+
html5up.net | @ajlkn
5+
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
66
-->
77
<html>
8-
<head>
9-
<title>{{page.title}}</title>
10-
{% include layout/head %}
11-
<link rel="stylesheet" href="/assets/css/home.css" />
12-
</head>
13-
<body class="is-preload">
14-
<!-- Top bar -->
15-
{% include layout/top-bar %}
8+
<head>
9+
<title>{{page.title}}</title>
10+
{% include layout/head %}
11+
<link rel="stylesheet" href="/assets/css/home.css" />
12+
</head>
13+
<body class="is-preload">
14+
<!-- Top bar -->
15+
{% include layout/top-bar %}
1616

17-
<!-- Main content -->
18-
<div id="content">
19-
{{content}}
20-
</div>
17+
<!-- Main content -->
18+
<div id="content">
19+
{{content}}
20+
</div>
2121

22-
<!-- Footer -->
23-
{% include layout/footer %}
22+
<!-- Footer -->
23+
{% include layout/footer %}
2424

25-
<!-- Hamburger menu -->
26-
{% include layout/hamburger %}
25+
<!-- Hamburger menu -->
26+
{% include layout/hamburger %}
2727

28-
<!-- Search results -->
29-
{% include layout/search-results %}
28+
<!-- Search results -->
29+
{% include layout/search-results %}
3030

31-
<!-- Scripts -->
32-
{% include layout/scripts %}
33-
</body>
31+
<!-- Scripts -->
32+
{% include layout/scripts %}
33+
</body>
3434
</html>

Diff for: _layouts/page.html

+52-52
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,67 @@
11
<!DOCTYPE html>
22
<html>
3-
<head>
4-
<title>{{page.title}}</title>
5-
{% include layout/head %}
6-
<link rel="stylesheet" href="/assets/css/page.css" />
7-
</head>
8-
<body class="is-preload">
9-
<!-- Top bar -->
10-
{% include layout/top-bar %}
3+
<head>
4+
<title>{{page.title}}</title>
5+
{% include layout/head %}
6+
<link rel="stylesheet" href="/assets/css/page.css" />
7+
</head>
8+
<body class="is-preload">
9+
<!-- Top bar -->
10+
{% include layout/top-bar %}
1111

12-
<!-- Page-info -->
13-
{% include layout/page-info %}
12+
<!-- Page-info -->
13+
{% include layout/page-info %}
1414

15-
<section id="left-column" class="sidebar dock">
16-
<!-- Menu -->
17-
{% include layout/menu dockable=true %}
18-
</section>
15+
<section id="left-column" class="sidebar dock">
16+
<!-- Menu -->
17+
{% include layout/menu dockable=true %}
18+
</section>
1919

20-
<!-- Page title -->
21-
<div class="container">
22-
<header class="major special">
23-
<h1><strong>{{page.title}}</strong></h1>
24-
</header>
25-
</div>
20+
<!-- Page title -->
21+
<div class="container">
22+
<header class="major special">
23+
<h1><strong>{{page.title}}</strong></h1>
24+
</header>
25+
</div>
2626

27-
<section id="right-column" class="sidebar dock">
28-
<!-- Vital stats -->
29-
{% include layout/statbox %}
27+
<section id="right-column" class="sidebar dock">
28+
<!-- Vital stats -->
29+
{% include layout/statbox %}
3030

31-
<!-- Table of contents -->
32-
<div id="toc" class="toc menu dockable">
33-
<div class="drag-handle"></div>
34-
<h3>Page contents</h3>
35-
<ul data-toc="#content" data-toc-headings="h1,h2,h3,h4,h5,h6"></ul>
36-
</div>
37-
</section>
31+
<!-- Table of contents -->
32+
<div id="toc" class="toc menu dockable">
33+
<div class="drag-handle"></div>
34+
<h3>Page contents</h3>
35+
<ul data-toc="#content" data-toc-headings="h1,h2,h3,h4,h5,h6"></ul>
36+
</div>
37+
</section>
3838

39-
<!-- Nav bar -->
40-
{% include layout/nav-bar %}
39+
<!-- Nav bar -->
40+
{% include layout/nav-bar %}
4141

42-
<!-- Main content -->
43-
<section id="page" class="main style1">
44-
<div class="container">
45-
<div class="box alt"></div>
46-
<div id="content" class="page-content">
47-
{{content}}
48-
</div>
49-
</div>
50-
</section>
42+
<!-- Main content -->
43+
<section id="page" class="main style1">
44+
<div class="container">
45+
<div class="box alt"></div>
46+
<div id="content" class="page-content">
47+
{{content}}
48+
</div>
49+
</div>
50+
</section>
5151

52-
<!-- Footer -->
53-
{% include layout/footer %}
52+
<!-- Footer -->
53+
{% include layout/footer %}
5454

55-
<!-- Hamburger menu -->
56-
{% include layout/hamburger %}
55+
<!-- Hamburger menu -->
56+
{% include layout/hamburger %}
5757

58-
<div id="dock-overlay-left" class="dock-overlay" data-dock-target="left-column"></div>
59-
<div id="dock-overlay-right" class="dock-overlay" data-dock-target="right-column"></div>
58+
<div id="dock-overlay-left" class="dock-overlay" data-dock-target="left-column"></div>
59+
<div id="dock-overlay-right" class="dock-overlay" data-dock-target="right-column"></div>
6060

61-
<!-- Search results -->
62-
{% include layout/search-results %}
61+
<!-- Search results -->
62+
{% include layout/search-results %}
6363

64-
<!-- Scripts -->
65-
{% include layout/scripts %}
66-
</body>
64+
<!-- Scripts -->
65+
{% include layout/scripts %}
66+
</body>
6767
</html>

Diff for: _pages/news/index.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ title: News
55

66
<style>
77
@media screen {
8-
.news-grid {
9-
display: grid;
10-
grid-template-columns: 1.75fr 1fr;
11-
grid-gap: 20px;
12-
}
8+
.news-grid {
9+
display: grid;
10+
grid-template-columns: 1.75fr 1fr;
11+
grid-gap: 20px;
12+
}
1313
}
1414
</style>
1515

Diff for: _pages/users/index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ title: Users
33
---
44

55
{%- assign users = site.pages
6-
| where_exp:"page", "page.url contains '/users/'"
7-
| where_exp:"page", "page.url != '/users/index'"
8-
| sort: "title" -%}
6+
| where_exp:"page", "page.url contains '/users/'"
7+
| where_exp:"page", "page.url != '/users/index'"
8+
| sort: "title" -%}
99

1010
<ul style="height: 80vw; display: flex; flex-direction: column; flex-wrap: wrap; list-style: none;">
1111
{%- for user in users -%}

Diff for: assets/css/layout.scss

+11-11
Original file line numberDiff line numberDiff line change
@@ -466,9 +466,9 @@ $leftColumnArrowOffset: $sidebarWidth - 2*$sidebarMargin - 2*$sidebarPadding - 3
466466
padding: 0;
467467
position: sticky;
468468
top: 1%;
469-
font-size: small;
470-
margin-left: $sidebarWidth - $sidebarPadding;
471-
margin-right: $sidebarWidth - $sidebarPadding;
469+
font-size: small;
470+
margin-left: $sidebarWidth - $sidebarPadding;
471+
margin-right: $sidebarWidth - $sidebarPadding;
472472
}
473473

474474
#nav-bar li {
@@ -477,12 +477,12 @@ $leftColumnArrowOffset: $sidebarWidth - 2*$sidebarMargin - 2*$sidebarPadding - 3
477477
}
478478

479479
#nav-bar li::after {
480-
content: " ";
481-
word-spacing: 1em;
482-
background-image: linear-gradient(
483-
-0.25turn,
484-
transparent 0 calc(50% - 0.03em),
485-
currentcolor 0 calc(50% + 0.03em),
486-
transparent 0
487-
);
480+
content: " ";
481+
word-spacing: 1em;
482+
background-image: linear-gradient(
483+
-0.25turn,
484+
transparent 0 calc(50% - 0.03em),
485+
currentcolor 0 calc(50% + 0.03em),
486+
transparent 0
487+
);
488488
}

Diff for: assets/css/main.css

+9-9
Original file line numberDiff line numberDiff line change
@@ -2081,21 +2081,21 @@ div.column5 {
20812081
/* code example */
20822082

20832083
.code-example {
2084-
display: flex;
2084+
display: flex;
20852085
}
20862086
.code-example div:first-child {
2087-
max-width: 100%;
2088-
margin-right: 1em;
2087+
max-width: 100%;
2088+
margin-right: 1em;
20892089
}
20902090

20912091
.code-example div:last-child {
2092-
max-width: 100%;
2093-
overflow: auto;
2094-
padding-right: 8px;
2092+
max-width: 100%;
2093+
overflow: auto;
2094+
padding-right: 8px;
20952095
}
20962096

20972097
.code-example div p {
2098-
text-align: center;
2099-
font-weight: bold;
2100-
margin: 0.2em 0 0 0;
2098+
text-align: center;
2099+
font-weight: bold;
2100+
margin: 0.2em 0 0 0;
21012101
}

Diff for: assets/js/breakpoints.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: assets/js/browser.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: assets/js/code.js

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
/* Credit: https://stackoverflow.com/a/987376/1207769 */
22
function selectText(element) {
3-
if (document.body.createTextRange) { //ms
4-
var range = document.body.createTextRange();
5-
range.moveToElementText(element);
6-
range.select();
7-
} else if (window.getSelection) { //all others
8-
var selection = window.getSelection();
9-
var range = document.createRange();
10-
range.selectNodeContents(element);
11-
selection.removeAllRanges();
12-
selection.addRange(range);
13-
}
3+
if (document.body.createTextRange) { //ms
4+
var range = document.body.createTextRange();
5+
range.moveToElementText(element);
6+
range.select();
7+
} else if (window.getSelection) { //all others
8+
var selection = window.getSelection();
9+
var range = document.createRange();
10+
range.selectNodeContents(element);
11+
selection.removeAllRanges();
12+
selection.addRange(range);
13+
}
1414
}
1515

1616
// When double clicking in a code block, select the whole block.
1717
document.querySelectorAll("code").forEach(function(code) {
18-
code.ondblclick = function(e) { selectText(this); }
18+
code.ondblclick = function(e) { selectText(this); }
1919
});

Diff for: assets/js/jquery.scrolly.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)