jekyll-docs-template 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/page-contents.html +1 -1
- data/_layouts/default.html +33 -29
- data/_sass/base.scss +1 -0
- data/_sass/header.scss +3 -0
- data/_sass/main.scss +7 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7719393aaa353a6a2f6d0aa3aed46d09439dc050b0c9b2039cd069261603ac59
|
4
|
+
data.tar.gz: eda2812b2345f30e1f67625c9cc92687aa1233c881428df8a60bbfd0105357aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5364dec66b47b43011dc96c456e47b404cd314b0c52759623433459fd53763e20c5674d7d861554d5dda09fbfe9e0adc5fa2961e67d7a58b1a362de46d4f5444
|
7
|
+
data.tar.gz: c1b58a0e5cdc19ca9086f46c2adad471bdb815f1fbd18d48f6db84872dfdda1c0fc4c09d80a03833b28b7daeb1192585e278e1e45c53b0308da34424307a442b
|
data/_layouts/default.html
CHANGED
@@ -15,36 +15,40 @@
|
|
15
15
|
<body>
|
16
16
|
<a id="skip-to-content" href="#content">Skip to the content.</a>
|
17
17
|
|
18
|
-
<
|
19
|
-
<
|
20
|
-
|
21
|
-
{
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
<
|
31
|
-
|
18
|
+
<div>
|
19
|
+
<header class="page-header" role="banner">
|
20
|
+
<h1 class="project-name">
|
21
|
+
{% if page.url != '/' %}<a href="/">{% endif %}
|
22
|
+
{{site.title | default: site.github.repository_name}}
|
23
|
+
{% if page.url != '/' %}</a>{% endif %}
|
24
|
+
</h1>
|
25
|
+
<h2 class="project-tagline">{{ site.description | default: site.github.project_tagline }}</h2>
|
26
|
+
{% if site.github.is_project_page %}
|
27
|
+
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
|
28
|
+
{% endif %}
|
29
|
+
{% if site.show_downloads %}
|
30
|
+
<div class="btn-group">
|
31
|
+
<a href="{{ site.github.zip_url }}" class="btn btn-primary-lt">Download .zip</a>
|
32
|
+
<a href="{{ site.github.tar_url }}" class="btn btn-primary-lt">Download .tar.gz</a>
|
33
|
+
</div>
|
34
|
+
{% endif %}
|
35
|
+
</header>
|
36
|
+
|
37
|
+
<main class="main-content" role="main">
|
38
|
+
<div class="main-content-inner">
|
39
|
+
<aside class="main-menu">
|
40
|
+
{% include global-menu.html %}
|
41
|
+
</aside>
|
42
|
+
<aside class="contents-table">
|
43
|
+
{% include page-contents.html %}
|
44
|
+
</aside>
|
45
|
+
<div id="content" class="page-content">
|
46
|
+
{{ content }}
|
47
|
+
{% include gh-edit-btn.html %}
|
48
|
+
</div>
|
32
49
|
</div>
|
33
|
-
|
34
|
-
</
|
35
|
-
|
36
|
-
<main class="main-content" role="main">
|
37
|
-
<aside class="main-menu">
|
38
|
-
{% include global-menu.html %}
|
39
|
-
</aside>
|
40
|
-
<aside class="contents-table">
|
41
|
-
{% include page-contents.html %}
|
42
|
-
</aside>
|
43
|
-
<div id="content" class="page-content">
|
44
|
-
{{ content }}
|
45
|
-
{% include gh-edit-btn.html %}
|
46
|
-
</div>
|
47
|
-
</main>
|
50
|
+
</main>
|
51
|
+
</div>
|
48
52
|
|
49
53
|
<footer class="site-footer">
|
50
54
|
{% if site.github.is_project_page %}
|
data/_sass/base.scss
CHANGED
data/_sass/header.scss
CHANGED
data/_sass/main.scss
CHANGED
@@ -1,4 +1,11 @@
|
|
1
1
|
.main-content {
|
2
|
+
background-color: white;
|
3
|
+
padding: calc(2 * #{$global--spacing-vertical}) $global--spacing-horizontal;
|
4
|
+
position: relative;
|
5
|
+
z-index: 1;
|
6
|
+
}
|
7
|
+
|
8
|
+
.main-content-inner {
|
2
9
|
display: grid;
|
3
10
|
gap: $global--spacing-vertical;
|
4
11
|
grid-template-areas:
|
@@ -9,7 +16,6 @@
|
|
9
16
|
margin-left: auto;
|
10
17
|
margin-right: auto;
|
11
18
|
max-width: 1200px;
|
12
|
-
padding: calc(2 * #{$global--spacing-vertical}) $global--spacing-horizontal;
|
13
19
|
|
14
20
|
@include media(desktop) {
|
15
21
|
gap: calc(2 * #{$global--spacing-vertical});
|