jekyll-theme-doc-project 0.0.1 → 0.0.2
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/_includes/sidebar.html +1 -5
- data/_includes/topnav.html +1 -1
- data/_layouts/printpdf.html +2 -5
- data/assets/css/pdf/printstyles.css +53 -33
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbac83bf9b8b133466fde2a96e1425ae09fa1d7a
|
4
|
+
data.tar.gz: 06f44152ff1da56ba2069d0af0c0901020eb3c95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 005fcc7ef2aa57d1bbb75482a81553a2960389680873d0e4d7d0ddbb8d36edb5abe7bc3b801dc61c842a71d2b2cf4dee71dc25061348a93ef11da0cd4f0cc098
|
7
|
+
data.tar.gz: aa293b8feaec7bd30c22554131f99eb4bfd210b091279d550c9cbaa0c742fbc1a9286687300a41fbbd637ce1f18749a6e86be9df82b5bcfd98716a8a379f569d
|
data/_includes/sidebar.html
CHANGED
@@ -1,10 +1,6 @@
|
|
1
1
|
{% assign sidebar = site.data[page.sidebar] %}
|
2
2
|
<div class="mydocsidebar">
|
3
3
|
|
4
|
-
|
5
|
-
<div class="sidebar-inner">
|
6
|
-
|
7
|
-
|
8
4
|
{% if site.search_in_sidebar == true %}
|
9
5
|
<!-- search bar - uses Lunr.js -->
|
10
6
|
|
@@ -109,5 +105,5 @@
|
|
109
105
|
</li>
|
110
106
|
</ul>
|
111
107
|
</div>
|
112
|
-
|
108
|
+
|
113
109
|
<script>$("li.open").parents('li').toggleClass("open");</script>
|
data/_includes/topnav.html
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
<title>{{page.title}} | {{page.product}}</title>
|
9
9
|
{% endif %}
|
10
10
|
<base>
|
11
|
-
<meta name="description" content="{% if page.content %}{{ page.content | truncatewords: 30 | strip_html }} {% else %}{{site.uistring.description}}{% endif %}"
|
11
|
+
<meta name="description" content="{% if page.content %}{{ page.content | truncatewords: 30 | strip_html }} {% else %}{{site.uistring.description}}{% endif %}" >
|
12
12
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
13
13
|
<meta name="google" value="notranslate">
|
14
14
|
<link rel="icon" type="image/x-icon" href="{{site.favicon}}">
|
data/_layouts/printpdf.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
<!doctype html>
|
2
2
|
<head>
|
3
3
|
<meta charset="utf-8">
|
4
4
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
@@ -11,20 +11,17 @@
|
|
11
11
|
<link rel="stylesheet" href="assets/css/pdf/fontawesome.min.css" />
|
12
12
|
<link rel="stylesheet" href="assets/css/pdf/printstyles.css" />
|
13
13
|
<link rel="stylesheet" href="assets/css/pdf/user_defined_pdf_styles.css" />
|
14
|
-
|
14
|
+
</head>
|
15
15
|
|
16
16
|
<script>
|
17
17
|
Prince.addScriptFunc("datestamp", function() {
|
18
18
|
return "PDF last generated: {{ site.time | date: '%B %d, %Y' }}";
|
19
19
|
});
|
20
|
-
</script>
|
21
20
|
|
22
|
-
<script>
|
23
21
|
Prince.addScriptFunc("guideName", function() {
|
24
22
|
return "{{site.print_title}}";
|
25
23
|
});
|
26
24
|
</script>
|
27
|
-
</head>
|
28
25
|
<body class="{{page.class}}">
|
29
26
|
|
30
27
|
<div class="post-header">
|
@@ -2,15 +2,21 @@
|
|
2
2
|
/*body.print .container {max-width: 650px;}*/
|
3
3
|
|
4
4
|
body {
|
5
|
-
font-size:
|
5
|
+
font-size:12px;
|
6
6
|
}
|
7
|
-
.
|
8
|
-
|
9
|
-
|
7
|
+
/*table .table {max-width:650px;}*/
|
8
|
+
table, th, td {border: 1px solid black}
|
9
|
+
th, td {
|
10
|
+
padding: 15px;
|
11
|
+
text-align: left;
|
12
|
+
}
|
13
|
+
tr:nth-child(even) {background-color: #f2f2f2}
|
14
|
+
th {background-color: #595959}
|
15
|
+
th {color: white}
|
10
16
|
|
17
|
+
#navig a[href] {color: #595959 !important;}
|
11
18
|
#navig li.sectionHead {font-weight: bold; font-size: 18px; color: #595959 !important; list-style-type: none; }
|
12
19
|
#navig li {font-weight: normal; list-style-type: none; font-size: 14px; }
|
13
|
-
|
14
20
|
#navig a[href]::after { content: leader(".") target-counter(attr(href), page); }
|
15
21
|
|
16
22
|
a[href]::after {
|
@@ -22,31 +28,24 @@ a[href^="http:"]::after, a[href^="https:"]::after {
|
|
22
28
|
}
|
23
29
|
|
24
30
|
a[href] {
|
25
|
-
color:
|
31
|
+
color: #337CD6 !important;
|
32
|
+
text-decoration: none;
|
26
33
|
}
|
27
|
-
a[href*="mailto"]::after, a[data-toggle="tooltip"]::after, a[href].
|
34
|
+
a[href*="mailto"]::after, a[data-toggle="tooltip"]::after, a[href].noCrossRef::after {
|
28
35
|
content: "";
|
29
36
|
}
|
30
37
|
|
31
38
|
|
32
|
-
@page {
|
33
|
-
margin: 60pt 90pt 60pt 90pt;
|
34
|
-
font-family: sans-serif;
|
35
|
-
font-style:none;
|
36
|
-
color: gray;
|
37
|
-
|
38
|
-
}
|
39
|
-
|
40
39
|
.printTitle {
|
41
40
|
line-height:30pt;
|
42
|
-
font-size:
|
41
|
+
font-size:24pt;
|
43
42
|
font-weight: bold;
|
44
43
|
letter-spacing: -.5px;
|
45
44
|
margin-bottom:25px;
|
46
45
|
}
|
47
46
|
|
48
47
|
.printSubtitle {
|
49
|
-
font-size:
|
48
|
+
font-size: 18pt;
|
50
49
|
color: #cccccc !important;
|
51
50
|
font-family: "Grotesque MT Light";
|
52
51
|
line-height: 22pt;
|
@@ -64,15 +63,6 @@ a[href*="mailto"]::after, a[data-toggle="tooltip"]::after, a[href].noExtIcon::af
|
|
64
63
|
margin-bottom: 100px;
|
65
64
|
}
|
66
65
|
|
67
|
-
#navig {
|
68
|
-
/*page-break-before: always;*/
|
69
|
-
}
|
70
|
-
|
71
|
-
.copyrightBoilerplate {
|
72
|
-
page-break-before:always;
|
73
|
-
font-size:14px;
|
74
|
-
}
|
75
|
-
|
76
66
|
.lastGeneratedDate {
|
77
67
|
font-style: italic;
|
78
68
|
font-size:14px;
|
@@ -82,10 +72,16 @@ a[href*="mailto"]::after, a[data-toggle="tooltip"]::after, a[href].noExtIcon::af
|
|
82
72
|
.alert a {
|
83
73
|
text-decoration: none !important;
|
84
74
|
}
|
75
|
+
body.first {counter-reset: page 1}
|
85
76
|
|
77
|
+
@page {
|
78
|
+
margin: 60pt 90pt 60pt 90pt;
|
79
|
+
font-family: sans-serif;
|
80
|
+
font-style:none;
|
81
|
+
color: gray;
|
82
|
+
}
|
86
83
|
|
87
84
|
body.title { page: title }
|
88
|
-
|
89
85
|
@page title {
|
90
86
|
@top-left {
|
91
87
|
content: " ";
|
@@ -100,14 +96,12 @@ body.title { page: title }
|
|
100
96
|
content: " ";
|
101
97
|
}
|
102
98
|
}
|
99
|
+
body.copyright {counter-reset: page 1}
|
103
100
|
|
104
101
|
body.frontmatter { page: frontmatter }
|
105
|
-
body.frontmatter {counter-reset: page 1}
|
106
|
-
|
107
|
-
|
108
102
|
@page frontmatter {
|
109
103
|
@top-left {
|
110
|
-
content:
|
104
|
+
content: " ";
|
111
105
|
}
|
112
106
|
@top-right {
|
113
107
|
content: prince-script(datestamp);
|
@@ -116,10 +110,11 @@ body.frontmatter {counter-reset: page 1}
|
|
116
110
|
content: counter(page, lower-roman);
|
117
111
|
}
|
118
112
|
@bottom-left {
|
119
|
-
content:
|
113
|
+
content: prince-script(guideName);
|
114
|
+
font-size: 11px;
|
115
|
+
}
|
120
116
|
}
|
121
117
|
|
122
|
-
body.first_page {counter-reset: page 1}
|
123
118
|
|
124
119
|
h1 { string-set: doctitle content() }
|
125
120
|
|
@@ -143,6 +138,7 @@ h1 { string-set: doctitle content() }
|
|
143
138
|
font-size: 11px;
|
144
139
|
}
|
145
140
|
}
|
141
|
+
|
146
142
|
.alert {
|
147
143
|
background-color: #fafafa !important;
|
148
144
|
border-color: #dedede !important;
|
@@ -152,3 +148,27 @@ h1 { string-set: doctitle content() }
|
|
152
148
|
pre {
|
153
149
|
background-color: #fafafa;
|
154
150
|
}
|
151
|
+
|
152
|
+
ul#markdown-toc {
|
153
|
+
display: none;
|
154
|
+
}
|
155
|
+
|
156
|
+
h3 {color: #DD7A01; }
|
157
|
+
h4 {color: #808080; }
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
a[data-toggle="tooltip"] {
|
162
|
+
color: #649345;
|
163
|
+
font-style: italic;
|
164
|
+
cursor: default;
|
165
|
+
}
|
166
|
+
|
167
|
+
.printTitle {
|
168
|
+
color: #444444 !important;
|
169
|
+
}
|
170
|
+
|
171
|
+
body h1 {color: #000000 !important; font-size:24px;}
|
172
|
+
body h2 {color: #DD7A01 !important; font-size:20px;}
|
173
|
+
body h3 {color: #999997 !important; font-size:14px;}
|
174
|
+
body h4 {color: #679DCE !important; font-size:14px; }
|