Skip to content

Commit 7b93848

Browse files
committed
Reformat html and scss files
1 parent ece6fbf commit 7b93848

File tree

7 files changed

+123
-124
lines changed

7 files changed

+123
-124
lines changed

_includes/footer.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<div id="footer_wrap" class="outer">
2-
<footer class="inner">
3-
<!--
4-
{% if site.github.is_project_page %}
5-
<p class="copyright">{{ site.title | default: site.github.repository_name }} maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
6-
{% endif %}
7-
<p>Published with <a href="https://pages.github.com">GitHub Pages</a></p>
8-
-->
9-
</footer>
10-
</div>
2+
<footer class="inner">
3+
<!--
4+
{% if site.github.is_project_page %}
5+
<p class="copyright">{{ site.title | default: site.github.repository_name }} maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
6+
{% endif %}
7+
<p>Published with <a href="https://pages.github.com">GitHub Pages</a></p>
8+
-->
9+
</footer>
10+
</div>

_includes/head.html

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
<head>
2-
<meta charset='utf-8'>
3-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4-
<meta name="viewport" content="width=device-width,maximum-scale=2">
5-
<link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
6-
<link rel="shortcut icon" href="{{ site.baseurl }}/public/favicon.png">
7-
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}/public/apple-touch-icon-144-precomposed.png">
8-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9-
{% seo %}
10-
{% include yandex-verification.html %}
11-
{% include google-site-verification.html %}
2+
<meta charset='utf-8'>
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<meta name="viewport" content="width=device-width,maximum-scale=2">
5+
<link rel="stylesheet" type="text/css" media="screen"
6+
href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
7+
<link rel="shortcut icon" href="{{ site.baseurl }}/public/favicon.png">
8+
<link rel="apple-touch-icon-precomposed" sizes="144x144"
9+
href="{{ site.baseurl }}/public/apple-touch-icon-144-precomposed.png">
10+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
11+
{% seo %}
12+
{% include yandex-verification.html %}
13+
{% include google-site-verification.html %}
1214
</head>

_includes/header.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<div id="header_wrap" class="outer">
2-
<header class="inner">
3-
{% if site.github.is_project_page %}
4-
<a id="forkme_banner" href="{{ site.github.repository_url }}">View on GitHub</a>
5-
{% endif %}
2+
<header class="inner">
3+
{% if site.github.is_project_page %}
4+
<a id="forkme_banner" href="{{ site.github.repository_url }}">View on GitHub</a>
5+
{% endif %}
66

7-
<h1 id="project_title">{{ page.title | default: site.github.repository_name }}</h1>
8-
<!-- <h2 id="project_tagline">{{ site.description | default: site.github.project_tagline }}</h2> -->
7+
<h1 id="project_title">{{ page.title | default: site.github.repository_name }}</h1>
8+
<!-- <h2 id="project_tagline">{{ site.description | default: site.github.project_tagline }}</h2> -->
99

10-
{% if site.show_downloads %}
11-
<section id="downloads">
12-
<a class="zip_download_link" href="{{ site.github.zip_url }}">Download this project as a .zip file</a>
13-
<a class="tar_download_link" href="{{ site.github.tar_url }}">Download this project as a tar.gz file</a>
14-
</section>
15-
{% endif %}
16-
</header>
10+
{% if site.show_downloads %}
11+
<section id="downloads">
12+
<a class="zip_download_link" href="{{ site.github.zip_url }}">Download this project as a .zip file</a>
13+
<a class="tar_download_link" href="{{ site.github.tar_url }}">Download this project as a tar.gz file</a>
14+
</section>
15+
{% endif %}
16+
</header>
1717
</div>

_includes/youtube-player.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<div class="embed-container">
2-
<iframe
3-
src="https://www.youtube.com/embed/{{ include.id }}"
4-
width="700"
5-
height="480"
6-
frameborder="0"
7-
allowfullscreen="true">
2+
<iframe src="https://www.youtube.com/embed/{{ include.id }}" width="700" height="480" frameborder="0"
3+
allowfullscreen="true">
84
</iframe>
95
</div>

_layouts/default.html

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
<!DOCTYPE html>
2-
<html lang="{{ page.lang | default: "en-US" }}">
2+
<html lang="{{ page.lang | default: " en-US" }}">
33

4-
{% include head.html %}
4+
{% include head.html %}
55

6-
<body>
7-
{% include header.html %}
6+
<body>
7+
{% include header.html %}
88

9-
<div id="main_content_wrap" class="outer">
10-
<section id="main_content" class="inner">
11-
{{ content }}
12-
</section>
13-
</div>
9+
<div id="main_content_wrap" class="outer">
10+
<section id="main_content" class="inner">
11+
{{ content }}
12+
</section>
13+
</div>
1414

15-
{% include footer.html %}
16-
{% include counters.html %}
17-
</body>
18-
</html>
15+
{% include footer.html %}
16+
{% include counters.html %}
17+
</body>
18+
19+
</html>

_layouts/download_page.html

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,33 @@
44
<h3>{{ page.description }}</h3>
55

66
<div class="download-card">
7-
<ul>
8-
<li>{{ page.downloads.windows_description }}
9-
<ul>
10-
<li>
11-
<a href="{{ site.data.release_assets.windows.url }}" class="download-item">
12-
<span class="file-icon"><i class="fas fa-file-archive"></i></span>
13-
<span class="file-name">{{ site.data.release_assets.windows.name }}</span>
14-
<span class="file-size">{{ site.data.release_assets.windows.size_mb }}</span>
15-
<span class="download-icon"><i class="fas fa-download"></i></span>
16-
</a>
17-
</li>
18-
</ul>
7+
<ul>
8+
<li>{{ page.downloads.windows_description }}
9+
<ul>
10+
<li>
11+
<a href="{{ site.data.release_assets.windows.url }}" class="download-item">
12+
<span class="file-icon"><i class="fas fa-file-archive"></i></span>
13+
<span class="file-name">{{ site.data.release_assets.windows.name }}</span>
14+
<span class="file-size">{{ site.data.release_assets.windows.size_mb }}</span>
15+
<span class="download-icon"><i class="fas fa-download"></i></span>
16+
</a>
1917
</li>
20-
21-
<li>{{ page.downloads.linux_description }}
22-
<ul>
23-
<li>
24-
<a href="{{ site.data.release_assets.linux.url }}" class="download-item">
25-
<span class="file-icon"><i class="fab fa-linux"></i></span>
26-
<span class="file-name">{{ site.data.release_assets.linux.name }}</span>
27-
<span class="file-size">{{ site.data.release_assets.linux.size_mb }}</span>
28-
<span class="download-icon"><i class="fas fa-download"></i></span>
29-
</a>
30-
</li>
31-
</ul>
18+
</ul>
19+
</li>
20+
21+
<li>{{ page.downloads.linux_description }}
22+
<ul>
23+
<li>
24+
<a href="{{ site.data.release_assets.linux.url }}" class="download-item">
25+
<span class="file-icon"><i class="fab fa-linux"></i></span>
26+
<span class="file-name">{{ site.data.release_assets.linux.name }}</span>
27+
<span class="file-size">{{ site.data.release_assets.linux.size_mb }}</span>
28+
<span class="download-icon"><i class="fas fa-download"></i></span>
29+
</a>
3230
</li>
33-
</ul>
31+
</ul>
32+
</li>
33+
</ul>
3434
</div>
3535

36-
{{ content }}
36+
{{ content }}

_sass/download-card.scss

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,79 @@
11
.download-card {
2-
background-color: rgba(255, 255, 255, 0.2);
3-
backdrop-filter: blur(8px);
4-
border-radius: 10px;
5-
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
6-
padding: 18px;
7-
width: 100%;
8-
border: 1px solid rgba(255, 255, 255, 0.4);
9-
box-sizing: border-box;
10-
margin-bottom: 16px;
2+
background-color: rgba(255, 255, 255, 0.2);
3+
backdrop-filter: blur(8px);
4+
border-radius: 10px;
5+
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
6+
padding: 18px;
7+
width: 100%;
8+
border: 1px solid rgba(255, 255, 255, 0.4);
9+
box-sizing: border-box;
10+
margin-bottom: 16px;
1111
}
1212

1313
.download-card ul {
14-
list-style: none;
15-
padding: 0;
16-
margin: 0;
14+
list-style: none;
15+
padding: 0;
16+
margin: 0;
1717
}
1818

19-
.download-card > ul > li {
20-
margin-bottom: 16px;
21-
font-weight: 500;
22-
color: #2c3e50;
19+
.download-card>ul>li {
20+
margin-bottom: 16px;
21+
font-weight: 500;
22+
color: #2c3e50;
2323
}
2424

25-
.download-card > ul > li:last-child {
26-
margin-bottom: 0;
25+
.download-card>ul>li:last-child {
26+
margin-bottom: 0;
2727
}
2828

2929
.download-card ul ul {
30-
margin-top: 6px;
31-
margin-left: 12px;
30+
margin-top: 6px;
31+
margin-left: 12px;
3232
}
3333

3434
.download-card ul ul li {
35-
margin-bottom: 6px;
35+
margin-bottom: 6px;
3636
}
3737

3838
.download-item {
39-
display: flex;
40-
align-items: center;
41-
padding: 10px 14px;
42-
text-decoration: none !important;
43-
color: #2c5282;
44-
font-weight: 500;
45-
border-radius: 6px;
46-
background: rgba(255, 255, 255, 0.5);
47-
border: 1px solid rgba(0, 0, 0, 0.1);
48-
transition: all 0.15s ease;
39+
display: flex;
40+
align-items: center;
41+
padding: 10px 14px;
42+
text-decoration: none !important;
43+
color: #2c5282;
44+
font-weight: 500;
45+
border-radius: 6px;
46+
background: rgba(255, 255, 255, 0.5);
47+
border: 1px solid rgba(0, 0, 0, 0.1);
48+
transition: all 0.15s ease;
4949
}
5050

5151
.download-item:hover {
52-
background: rgba(255, 255, 255, 0.9);
53-
color: #2b6cb0;
52+
background: rgba(255, 255, 255, 0.9);
53+
color: #2b6cb0;
5454
}
5555

5656
.file-icon {
57-
margin-right: 10px;
58-
font-size: 18px;
59-
width: 24px;
60-
text-align: center;
57+
margin-right: 10px;
58+
font-size: 18px;
59+
width: 24px;
60+
text-align: center;
6161
}
6262

6363
.file-name {
64-
flex: 1;
64+
flex: 1;
6565
}
6666

6767
.file-size {
68-
font-size: 13px;
69-
color: #6c757d;
70-
margin-right: 12px;
71-
background: rgba(0, 0, 0, 0.05);
72-
padding: 3px 8px;
73-
border-radius: 4px;
68+
font-size: 13px;
69+
color: #6c757d;
70+
margin-right: 12px;
71+
background: rgba(0, 0, 0, 0.05);
72+
padding: 3px 8px;
73+
border-radius: 4px;
7474
}
7575

7676
.download-icon {
77-
color: #28a745;
78-
font-size: 16px;
79-
}
77+
color: #28a745;
78+
font-size: 16px;
79+
}

0 commit comments

Comments
 (0)