jekyll-theme-docgen 1.1.1 → 1.1.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/{LICENSE.txt → LICENSE} +0 -0
- data/_sass/docgen/_api.scss +14 -0
- data/_sass/docgen/_layout.scss +2 -2
- data/_sass/docgen/_utils.scss +49 -0
- data/_sass/docgen-default.scss +2 -1
- data/_sass/docgen-latex.scss +27 -7
- metadata +4 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e29b75829d43dba846b8a9f3ff56e0eb0dd814578e895383d4d61fb326122223
|
4
|
+
data.tar.gz: 9439fd9810a3bdbd73c96e9395cb6cb1d83f0b15408aed3d39e8055b7c34df9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ce0908da296f714bf42f64a1efc1e4836464d3f4e4daf0de13f28435250617f9017ff00605ec41376af69b8d36224cfd0e27f498208b30a955e7becd175922a
|
7
|
+
data.tar.gz: 4e4aa04db9513daafd4a86c9881ab1d1c28ef06562ad454e699a9712cdfdb5c2cf3635d25bcc41642ba4887c456d9eb495f1537a047368359295355c6f24d656
|
data/{LICENSE.txt → LICENSE}
RENAMED
File without changes
|
data/_sass/docgen/_layout.scss
CHANGED
@@ -11,8 +11,8 @@
|
|
11
11
|
// flex: 1 0 auto;
|
12
12
|
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
|
13
13
|
max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
|
14
|
-
margin
|
15
|
-
margin-right: auto;
|
14
|
+
margin: $spacing-unit * 2 auto;
|
16
15
|
padding-right: $spacing-unit;
|
17
16
|
padding-left: $spacing-unit;
|
18
17
|
}
|
18
|
+
|
data/_sass/docgen/_utils.scss
CHANGED
@@ -16,3 +16,52 @@
|
|
16
16
|
@mixin relative-font-size($ratio) {
|
17
17
|
font-size: $base-font-size * $ratio;
|
18
18
|
}
|
19
|
+
|
20
|
+
//Transform mixin to for compatibility
|
21
|
+
@mixin transform($transforms) {//mixin takes a transformation as an arg
|
22
|
+
-moz-transform: $transforms;// and makes it a bunch of transformations that
|
23
|
+
-o-transform: $transforms;// work for different browsers
|
24
|
+
-ms-transform: $transforms;
|
25
|
+
-webkit-transform: $transforms;
|
26
|
+
transform: $transforms;
|
27
|
+
}
|
28
|
+
|
29
|
+
//https://codepen.io/sawmac/pen/cayhK/
|
30
|
+
@mixin transition($transition...) {
|
31
|
+
-moz-transition: $transition;
|
32
|
+
-o-transition: $transition;
|
33
|
+
-webkit-transition: $transition;
|
34
|
+
transition: $transition;
|
35
|
+
}
|
36
|
+
@mixin transition-property($property...) {
|
37
|
+
-moz-transition-property: $property;
|
38
|
+
-o-transition-property: $property;
|
39
|
+
-webkit-transition-property: $property;
|
40
|
+
transition-property: $property;
|
41
|
+
}
|
42
|
+
@mixin transition-duration($duration...) {
|
43
|
+
-moz-transition-property: $duration;
|
44
|
+
-o-transition-property: $duration;
|
45
|
+
-webkit-transition-property: $duration;
|
46
|
+
transition-property: $duration;
|
47
|
+
}
|
48
|
+
@mixin transition-timing-function($timing...) {
|
49
|
+
-moz-transition-timing-function: $timing;
|
50
|
+
-o-transition-timing-function: $timing;
|
51
|
+
-webkit-transition-timing-function: $timing;
|
52
|
+
transition-timing-function: $timing;
|
53
|
+
}
|
54
|
+
@mixin transition-delay($delay...) {
|
55
|
+
-moz-transition-delay: $delay;
|
56
|
+
-o-transition-delay: $delay;
|
57
|
+
-webkit-transition-delay: $delay;
|
58
|
+
transition-delay: $delay;
|
59
|
+
}
|
60
|
+
|
61
|
+
|
62
|
+
// Compatibility shadow mixin
|
63
|
+
@mixin shadow($args...) {
|
64
|
+
-moz-box-shadow: $args;
|
65
|
+
-webkit-box-shadow: $args;
|
66
|
+
box-shadow: $args;
|
67
|
+
}
|
data/_sass/docgen-default.scss
CHANGED
data/_sass/docgen-latex.scss
CHANGED
@@ -14,19 +14,18 @@
|
|
14
14
|
}
|
15
15
|
|
16
16
|
$base-font-family: "Computer Modern", sans-serif;
|
17
|
+
$code-block-background-color: white !default;
|
18
|
+
$syntax-highlighting-background-color: white !default;
|
17
19
|
@import "docgen-default";
|
18
20
|
|
19
21
|
// Set page margins for printer
|
20
22
|
@page {
|
21
|
-
margin
|
22
|
-
margin-bottom: 25mm;
|
23
|
-
margin-left: 25mm;
|
24
|
-
margin-right: 25mm;
|
23
|
+
margin: 20mm 20mm;
|
25
24
|
}
|
26
25
|
|
27
26
|
// For when the file is just a list of things (e.g. a problem set!)
|
28
|
-
main >
|
29
|
-
|
27
|
+
main > ol > li > {
|
28
|
+
* {
|
30
29
|
margin-left: -$spacing-unit / 2;
|
31
30
|
margin-right: -$spacing-unit / 2;
|
32
31
|
|
@@ -38,7 +37,24 @@ main > {ol, ul {> li > {
|
|
38
37
|
ol, ul {
|
39
38
|
margin-left: $spacing-unit / 2;
|
40
39
|
}
|
41
|
-
}
|
40
|
+
}
|
41
|
+
|
42
|
+
pre {
|
43
|
+
$offset: 15px;
|
44
|
+
$blur-radius: 15px;
|
45
|
+
$spread-radius: -10px;
|
46
|
+
$type: inset;
|
47
|
+
$shadow-color: $code-block-border-color;
|
48
|
+
@include shadow(
|
49
|
+
$type
|
50
|
+
$offset*-1 $offset
|
51
|
+
$blur-radius $spread-radius $shadow-color,
|
52
|
+
|
53
|
+
$type
|
54
|
+
$offset $offset*-1
|
55
|
+
$blur-radius $spread-radius $shadow-color
|
56
|
+
);
|
57
|
+
}
|
42
58
|
|
43
59
|
@media print {
|
44
60
|
main > {
|
@@ -46,4 +62,8 @@ main > {ol, ul {> li > {
|
|
46
62
|
margin-left: -$spacing-unit / 2;
|
47
63
|
}
|
48
64
|
}
|
65
|
+
|
66
|
+
.page-content {
|
67
|
+
margin: 0 auto;
|
68
|
+
}
|
49
69
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-docgen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Albert Liu
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.5'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: bundler
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
27
|
description:
|
42
28
|
email:
|
43
29
|
- albertymliu@gmail.com
|
@@ -45,7 +31,7 @@ executables: []
|
|
45
31
|
extensions: []
|
46
32
|
extra_rdoc_files: []
|
47
33
|
files:
|
48
|
-
- LICENSE
|
34
|
+
- LICENSE
|
49
35
|
- README.md
|
50
36
|
- _includes/head.html
|
51
37
|
- _layouts/default.html
|
@@ -57,6 +43,7 @@ files:
|
|
57
43
|
- _sass/docgen-latex.scss
|
58
44
|
- _sass/docgen-mla.scss
|
59
45
|
- _sass/docgen-slides.scss
|
46
|
+
- _sass/docgen/_api.scss
|
60
47
|
- _sass/docgen/_base.scss
|
61
48
|
- _sass/docgen/_layout.scss
|
62
49
|
- _sass/docgen/_syntax-highlighting.scss
|
@@ -89,8 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
76
|
- !ruby/object:Gem::Version
|
90
77
|
version: '0'
|
91
78
|
requirements: []
|
92
|
-
|
93
|
-
rubygems_version: 2.7.6
|
79
|
+
rubygems_version: 3.0.2
|
94
80
|
signing_key:
|
95
81
|
specification_version: 4
|
96
82
|
summary: A document generation helper theme for Jekyll.
|