igt-pdf-theme 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 +7 -0
- data/README.md +2 -0
- data/_config.yml +15 -0
- data/_layouts/default.html +50 -0
- data/_sass/_functions.scss +0 -0
- data/_sass/_mixins.scss +0 -0
- data/_sass/_reboot.scss +23 -0
- data/_sass/_variables.scss +38 -0
- data/_sass/main.scss +165 -0
- data/assets/css/main.scss +4 -0
- metadata +81 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 9ab32ba0e0bb59a24476c6398919af7f9b9ab4b7cf01efa10e915be092059766
|
|
4
|
+
data.tar.gz: 79b22b86a00bf9ceb2bc5271d353cb46c6d2ad1f691638fedb14684e9d889162
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: d4647e0b1da25e3814ff5e7fa1c29aae0d351be36da7dbe2c05b40959ad7ca857b18090e0f19459e5fc8d73a735beee4fb40ee788fda01fbfd3eb4327569745f
|
|
7
|
+
data.tar.gz: 33417dbd574b7f6e9f6168abe8a163ba03e67500d3564bca916d8bfed565e07562e7dbac6e6c8d539e0a53859b6566bd4007ebd4b413a7863d01516ea33768e2
|
data/README.md
ADDED
data/_config.yml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
title: Your awesome title
|
|
2
|
+
email: your-email@example.com
|
|
3
|
+
description: >- # this means to ignore newlines until "baseurl:"
|
|
4
|
+
Write an awesome description for your new site here. You can edit this
|
|
5
|
+
line in _config.yml. It will appear in your document head meta (for
|
|
6
|
+
Google search results) and in your feed.xml site description.
|
|
7
|
+
baseurl: '' # the subpath of your site, e.g. /blog
|
|
8
|
+
url: '' # the base hostname & protocol for your site, e.g. http://example.com
|
|
9
|
+
# twitter_username: jekyllrb
|
|
10
|
+
# github_username: jekyll
|
|
11
|
+
|
|
12
|
+
markdown: kramdown
|
|
13
|
+
|
|
14
|
+
kramdown:
|
|
15
|
+
math_engine: katex
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="{{ site.lang | default: "en-US" }}">
|
|
3
|
+
<head>
|
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<title>{{ page.title }} - {{ site.title }}</title>
|
|
7
|
+
|
|
8
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
|
+
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
|
|
11
|
+
|
|
12
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
|
|
13
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.13.18/dist/katex.min.css" integrity="sha384-zTROYFVGOfTw7JV7KUu8udsvW2fx4lWOsCEDqhBreBwlHI4ioVRtmIvEThzJHGET" crossorigin="anonymous">
|
|
14
|
+
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
<script src="https://unpkg.com/pagedjs@0.2.0/dist/paged.polyfill.js"></script>
|
|
18
|
+
|
|
19
|
+
</head>
|
|
20
|
+
<body>
|
|
21
|
+
|
|
22
|
+
<!-- Strona tytuowa -->
|
|
23
|
+
<section class="cover">
|
|
24
|
+
|
|
25
|
+
<div class="s1">
|
|
26
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px"
|
|
27
|
+
viewBox="0 0 87.5 60.6" >
|
|
28
|
+
<path class="logopath" d="M26.5,60.6c-12-1.1-21.2-5.1-24.9-11.8c-4.9-8.9,1.5-20.4,15-30v9.6c-6.8,7.6-9.1,15.4-5.5,22
|
|
29
|
+
C13.7,55.2,19.2,58.6,26.5,60.6 M87.5,0.7C74.8-1.1,58.4,0.6,42,6.2c-5.3,1.8-10.2,3.9-14.7,6.2v6.8c6.8-4.7,15.2-8.9,24.8-12.2
|
|
30
|
+
C64.4,2.8,76.7,0.8,87.5,0.7 M19.2,30v23.4h5.7V25.2C22.8,26.8,20.9,28.4,19.2,30 M67,16.5v3.9h7.2v33h5.7v-33H87v-3.9H67z
|
|
31
|
+
M33.5,34.4c0-7.2,3.4-11.6,10.1-13.4c2.2-0.6,4.8-0.9,7.8-0.9c1.5,0,11.6,0.3,11.6,0.3v-3.9c0,0-10.4-0.3-12.2-0.3
|
|
32
|
+
c-1.8,0-3.5,0.1-5.1,0.3c-4.8,0.5-8.7,1.8-11.5,3.9c-4.2,3-6.3,7.7-6.3,14c0,10.4,5.2,16.6,15.7,18.5c0.9,0.2,1.9,0.3,2.8,0.4
|
|
33
|
+
c1.6,0.2,3.3,0.3,5.2,0.3c4.1,0,7.9-0.6,11.4-1.7V36.6h-5.7v12.5c-2.3,0.4-4.4,0.6-6.2,0.6c-0.6,0-1.3,0-1.9,0
|
|
34
|
+
c-2.1-0.1-4-0.4-5.7-0.9C36.9,47,33.5,42.2,33.5,34.4 M24.8,13.7c-2,1.1-3.9,2.2-5.7,3.4v8.7c1.7-1.6,3.6-3.2,5.7-4.8V13.7"/>
|
|
35
|
+
</svg>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="s2">
|
|
38
|
+
{{ page.title }}
|
|
39
|
+
</div>
|
|
40
|
+
<div class="s3">
|
|
41
|
+
{{ page.title }}
|
|
42
|
+
</div>
|
|
43
|
+
|
|
44
|
+
</section>
|
|
45
|
+
|
|
46
|
+
<!-- Strona tytuowa -->
|
|
47
|
+
{{ content }}
|
|
48
|
+
|
|
49
|
+
</body>
|
|
50
|
+
</html>
|
|
File without changes
|
data/_sass/_mixins.scss
ADDED
|
File without changes
|
data/_sass/_reboot.scss
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
h1 {
|
|
2
|
+
font-size: $h1-font-size;
|
|
3
|
+
font-weight: $font-weight-bold;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
h2 {
|
|
7
|
+
font-size: $h2-font-size;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
h3 {
|
|
11
|
+
font-size: $h3-font-size;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
h4 {
|
|
15
|
+
font-size: $h4-font-size;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
h5 {
|
|
19
|
+
font-size: $h5-font-size;
|
|
20
|
+
}
|
|
21
|
+
h6 {
|
|
22
|
+
font-size: $h6-font-size;
|
|
23
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// Typography
|
|
2
|
+
//
|
|
3
|
+
// Font, line-height, and color for body text, headings, and more.
|
|
4
|
+
|
|
5
|
+
// scss-docs-start font-variables
|
|
6
|
+
// stylelint-disable value-keyword-case
|
|
7
|
+
$font-family-sans-serif: Roboto, system-ui, -apple-system, 'Segoe UI', Roboto,
|
|
8
|
+
'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif,
|
|
9
|
+
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji' !default;
|
|
10
|
+
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
|
|
11
|
+
'Liberation Mono', 'Courier New', monospace !default;
|
|
12
|
+
|
|
13
|
+
// $font-size-root affects the value of `rem`, which is used for as well font sizes, paddings, and margins
|
|
14
|
+
// $font-size-base affects the font size of the body text
|
|
15
|
+
$font-size-root: null !default;
|
|
16
|
+
$font-size-base: 12px; // 1rem !default; // Assumes the browser default, typically `16px`
|
|
17
|
+
$font-size-sm: $font-size-base * 0.875 !default;
|
|
18
|
+
$font-size-lg: $font-size-base * 1.25 !default;
|
|
19
|
+
|
|
20
|
+
$font-weight-lighter: lighter !default;
|
|
21
|
+
$font-weight-light: 300 !default;
|
|
22
|
+
$font-weight-normal: 400 !default;
|
|
23
|
+
$font-weight-bold: 700 !default;
|
|
24
|
+
$font-weight-bolder: bolder !default;
|
|
25
|
+
|
|
26
|
+
$font-weight-base: $font-weight-normal !default;
|
|
27
|
+
|
|
28
|
+
$line-height-base: 1.5 !default;
|
|
29
|
+
$line-height-sm: 1.25 !default;
|
|
30
|
+
$line-height-lg: 2 !default;
|
|
31
|
+
|
|
32
|
+
$h1-font-size: $font-size-base + $font-size-base/3 !default;
|
|
33
|
+
$h2-font-size: $font-size-base + $font-size-base/4 !default;
|
|
34
|
+
$h3-font-size: $font-size-base + $font-size-base/6 !default;
|
|
35
|
+
$h4-font-size: $font-size-base * 1.5 !default;
|
|
36
|
+
$h5-font-size: $font-size-base * 1.25 !default;
|
|
37
|
+
$h6-font-size: $font-size-base !default;
|
|
38
|
+
// scss-docs-end font-variables
|
data/_sass/main.scss
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
// $bodyFont: 'Shadows Into Light', cursive;
|
|
2
|
+
|
|
3
|
+
@import 'functions';
|
|
4
|
+
@import 'variables';
|
|
5
|
+
@import 'mixins';
|
|
6
|
+
@import 'reboot';
|
|
7
|
+
|
|
8
|
+
body {
|
|
9
|
+
color: #000;
|
|
10
|
+
font-family: $font-family-sans-serif;
|
|
11
|
+
margin: 0;
|
|
12
|
+
font-size: 12px;
|
|
13
|
+
text-align: justify;
|
|
14
|
+
|
|
15
|
+
counter-reset: cH1;
|
|
16
|
+
counter-reset: cH2;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
h1 {
|
|
20
|
+
counter-increment: cH1;
|
|
21
|
+
counter-reset: cH2;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
h2 {
|
|
25
|
+
counter-increment: cH2;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
h1::before {
|
|
29
|
+
content: counter(cH1) '.';
|
|
30
|
+
margin-right: 10px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
h2::before {
|
|
34
|
+
content: counter(cH1) '.' counter(cH2) '.';
|
|
35
|
+
margin-right: 10px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
svg {
|
|
39
|
+
width: 100%;
|
|
40
|
+
}
|
|
41
|
+
p {
|
|
42
|
+
text-indent: 10mm;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
li p {
|
|
46
|
+
text-indent: 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@media print {
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:root {
|
|
53
|
+
--color-mbox: rgba(0, 0, 0, 0.2);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
[contenteditable]:focus {
|
|
57
|
+
outline: 0px solid transparent;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
#controls {
|
|
61
|
+
display: none;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@media screen {
|
|
65
|
+
body {
|
|
66
|
+
background-color: whitesmoke;
|
|
67
|
+
}
|
|
68
|
+
.pagedjs_page {
|
|
69
|
+
background-color: #fdfdfd;
|
|
70
|
+
box-shadow: 0 0 0 1px var(--color-mbox);
|
|
71
|
+
margin: 5px;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
h1 {
|
|
76
|
+
string-set: title content(text);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
img {
|
|
80
|
+
width: 100%;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
h1 {
|
|
84
|
+
page-break-before: always;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@page {
|
|
88
|
+
// bleed: 30mm;
|
|
89
|
+
size: A4 portrait;
|
|
90
|
+
margin-top: 20mm;
|
|
91
|
+
margin-right: 20mm;
|
|
92
|
+
margin-bottom: 20mm;
|
|
93
|
+
margin-left: 20mm;
|
|
94
|
+
|
|
95
|
+
// bleed: 6mm;
|
|
96
|
+
|
|
97
|
+
// marks: crop cross;
|
|
98
|
+
|
|
99
|
+
@bottom-left {
|
|
100
|
+
font-size: 8px;
|
|
101
|
+
content: 'iGrid Technology Sp. z o.o \A NIP: 6312647565';
|
|
102
|
+
}
|
|
103
|
+
@bottom-center {
|
|
104
|
+
content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="30px" x="0px" y="0px" viewBox="0 0 87.5 60.6"><path d="M26.5,60.6c-12-1.1-21.2-5.1-24.9-11.8c-4.9-8.9,1.5-20.4,15-30v9.6c-6.8,7.6-9.1,15.4-5.5,22 C13.7,55.2,19.2,58.6,26.5,60.6 M87.5,0.7C74.8-1.1,58.4,0.6,42,6.2c-5.3,1.8-10.2,3.9-14.7,6.2v6.8c6.8-4.7,15.2-8.9,24.8-12.2 C64.4,2.8,76.7,0.8,87.5,0.7 M19.2,30v23.4h5.7V25.2C22.8,26.8,20.9,28.4,19.2,30 M67,16.5v3.9h7.2v33h5.7v-33H87v-3.9H67z M33.5,34.4c0-7.2,3.4-11.6,10.1-13.4c2.2-0.6,4.8-0.9,7.8-0.9c1.5,0,11.6,0.3,11.6,0.3v-3.9c0,0-10.4-0.3-12.2-0.3 c-1.8,0-3.5,0.1-5.1,0.3c-4.8,0.5-8.7,1.8-11.5,3.9c-4.2,3-6.3,7.7-6.3,14c0,10.4,5.2,16.6,15.7,18.5c0.9,0.2,1.9,0.3,2.8,0.4 c1.6,0.2,3.3,0.3,5.2,0.3c4.1,0,7.9-0.6,11.4-1.7V36.6h-5.7v12.5c-2.3,0.4-4.4,0.6-6.2,0.6c-0.6,0-1.3,0-1.9,0 c-2.1-0.1-4-0.4-5.7-0.9C36.9,47,33.5,42.2,33.5,34.4 M24.8,13.7c-2,1.1-3.9,2.2-5.7,3.4v8.7c1.7-1.6,3.6-3.2,5.7-4.8V13.7"/></svg> ');
|
|
105
|
+
}
|
|
106
|
+
@bottom-right {
|
|
107
|
+
font-size: 8px;
|
|
108
|
+
content: counter(page) '/' counter(pages);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@top-right {
|
|
112
|
+
content: 'Rozdział: ' string(title);
|
|
113
|
+
text-transform: uppercase;
|
|
114
|
+
font-size: 8px;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
li p {
|
|
119
|
+
margin-bottom: 0;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.cover {
|
|
123
|
+
page: coverLayout;
|
|
124
|
+
|
|
125
|
+
.s1 {
|
|
126
|
+
height: 30%;
|
|
127
|
+
left: 0;
|
|
128
|
+
right: 0;
|
|
129
|
+
top: 0;
|
|
130
|
+
position: absolute;
|
|
131
|
+
background-color: #1979de;
|
|
132
|
+
text-align: left;
|
|
133
|
+
|
|
134
|
+
svg {
|
|
135
|
+
height: 200px;
|
|
136
|
+
}
|
|
137
|
+
.logopath {
|
|
138
|
+
fill: #ffffff;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.s3 {
|
|
143
|
+
height: 15%;
|
|
144
|
+
left: 0;
|
|
145
|
+
right: 0;
|
|
146
|
+
bottom: 0;
|
|
147
|
+
position: absolute;
|
|
148
|
+
background-color: #1979de;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
@page coverLayout {
|
|
152
|
+
margin: 0;
|
|
153
|
+
@top-right {
|
|
154
|
+
content: '';
|
|
155
|
+
}
|
|
156
|
+
@bottom-left {
|
|
157
|
+
content: '';
|
|
158
|
+
}
|
|
159
|
+
@bottom-center {
|
|
160
|
+
content: '';
|
|
161
|
+
}
|
|
162
|
+
@bottom-right {
|
|
163
|
+
content: '';
|
|
164
|
+
}
|
|
165
|
+
}
|
metadata
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: igt-pdf-theme
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.2
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- ''
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2021-11-16 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: jekyll
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '4.2'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '4.2'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: kramdown-math-katex
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: 1.0.1
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: 1.0.1
|
|
41
|
+
description:
|
|
42
|
+
email:
|
|
43
|
+
- ''
|
|
44
|
+
executables: []
|
|
45
|
+
extensions: []
|
|
46
|
+
extra_rdoc_files: []
|
|
47
|
+
files:
|
|
48
|
+
- README.md
|
|
49
|
+
- _config.yml
|
|
50
|
+
- _layouts/default.html
|
|
51
|
+
- _sass/_functions.scss
|
|
52
|
+
- _sass/_mixins.scss
|
|
53
|
+
- _sass/_reboot.scss
|
|
54
|
+
- _sass/_variables.scss
|
|
55
|
+
- _sass/main.scss
|
|
56
|
+
- assets/css/main.scss
|
|
57
|
+
homepage: https://igrid.tech
|
|
58
|
+
licenses:
|
|
59
|
+
- MIT
|
|
60
|
+
metadata:
|
|
61
|
+
plugin_type: theme
|
|
62
|
+
post_install_message:
|
|
63
|
+
rdoc_options: []
|
|
64
|
+
require_paths:
|
|
65
|
+
- lib
|
|
66
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
67
|
+
requirements:
|
|
68
|
+
- - ">="
|
|
69
|
+
- !ruby/object:Gem::Version
|
|
70
|
+
version: '0'
|
|
71
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0'
|
|
76
|
+
requirements: []
|
|
77
|
+
rubygems_version: 3.2.24
|
|
78
|
+
signing_key:
|
|
79
|
+
specification_version: 4
|
|
80
|
+
summary: PDF theme used by iGrid Technology
|
|
81
|
+
test_files: []
|