pbsimply 3.2.2 → 3.3.1
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/bin/pbsimply-init +130 -355
- data/lib/pbsimply/frontmatter.rb +12 -3
- data/lib/pbsimply.rb +35 -3
- data/themes/contribute/README.md +2 -0
- data/themes/default.yaml +1 -0
- data/themes/kramdown/init322/.accsindex.erb +35 -0
- data/themes/kramdown/init322/.pbsimply.yaml +96 -0
- data/themes/kramdown/init322/.theme.yaml +5 -0
- data/themes/kramdown/init322/articles/.accs.yaml +2 -0
- data/themes/kramdown/init322/articles/20231028-untitled.md +22 -0
- data/themes/kramdown/init322/css/style.css +91 -0
- data/themes/kramdown/init322/index.md +10 -0
- data/themes/kramdown/init322/menu.yaml +3 -0
- data/themes/kramdown/init322/template.erb +32 -0
- data/themes/pandoc/_pandoc_base/.accsindex.erb +50 -0
- data/themes/pandoc/_pandoc_base/.pbsimply.yaml +107 -0
- data/themes/pandoc/_pandoc_base/css/base.css +84 -0
- data/themes/pandoc/_pandoc_base/css/layout.css +55 -0
- data/themes/pandoc/_pandoc_base/css/lightbox.css +9 -0
- data/themes/pandoc/_pandoc_base/css/skylightning.css +29 -0
- data/themes/pandoc/_pandoc_base/javascript/lightbox.js +69 -0
- data/themes/pandoc/_pandoc_base/post/.accs.yaml +1 -0
- data/themes/pandoc/_pandoc_base/post/20231028-untitled.md +22 -0
- data/themes/pandoc/_pandoc_base/template.html +70 -0
- data/themes/pandoc/_pandoc_new/.accsindex.erb +50 -0
- data/themes/pandoc/_pandoc_new/.pbsimply-bless.rb +10 -0
- data/themes/pandoc/_pandoc_new/.pbsimply.yaml +107 -0
- data/themes/pandoc/_pandoc_new/articles/.accs.yaml +2 -0
- data/themes/pandoc/_pandoc_new/articles/20231028-untitled.md +22 -0
- data/themes/pandoc/_pandoc_new/index.md +31 -0
- data/themes/pandoc/_pandoc_new/menu.yaml +5 -0
- data/themes/pandoc/_pandoc_new/template.html +68 -0
- data/themes/pandoc/bloggy/.theme.yaml +7 -0
- data/themes/pandoc/bloggy/css/base.css +137 -0
- data/themes/pandoc/bloggy/css/layout.css +54 -0
- data/themes/pandoc/bloggy/template.html +70 -0
- data/themes/pandoc/cooldark/.theme.yaml +7 -0
- data/themes/pandoc/cooldark/css/theme.css +117 -0
- data/themes/pandoc/cooldark/js/lightbox.js +62 -0
- data/themes/pandoc/paper/.theme.yaml +7 -0
- data/themes/pandoc/paper/css/theme.css +126 -0
- data/themes/pandoc/paper/js/lightbox.js +62 -0
- data/themes/pandoc/practical/.theme.yaml +7 -0
- data/themes/pandoc/practical/css/base.css +115 -0
- data/themes/pandoc/practical/css/layout.css +16 -0
- data/themes/pandoc/warm/.theme.yaml +7 -0
- data/themes/pandoc/warm/css/base.css +84 -0
- metadata +48 -4
@@ -0,0 +1,117 @@
|
|
1
|
+
.top-container {
|
2
|
+
display: flex;
|
3
|
+
flex-direction: row;
|
4
|
+
flex-wrap: wrap;
|
5
|
+
}
|
6
|
+
|
7
|
+
.main-wrapper {
|
8
|
+
display: flex;
|
9
|
+
flex-direction: row;
|
10
|
+
flex-wrap: wrap;
|
11
|
+
padding-top: 18px;
|
12
|
+
border-top: 2px solid rgb(94,158,255);
|
13
|
+
}
|
14
|
+
|
15
|
+
.toc {
|
16
|
+
flex: 1 0 300px;
|
17
|
+
}
|
18
|
+
|
19
|
+
.toc ul {
|
20
|
+
padding-inline-start: 5px;
|
21
|
+
padding-inline-end: 3px;
|
22
|
+
}
|
23
|
+
|
24
|
+
.toc li {
|
25
|
+
list-style: none;
|
26
|
+
}
|
27
|
+
|
28
|
+
#MainArticle {
|
29
|
+
flex: 10 1 500px;
|
30
|
+
}
|
31
|
+
|
32
|
+
body {
|
33
|
+
background-color: rgb(27,27,27);
|
34
|
+
color: #fff;
|
35
|
+
accent-color: rgb(94,158,255);
|
36
|
+
}
|
37
|
+
|
38
|
+
.top-container {
|
39
|
+
line-height: 1.45rem;
|
40
|
+
}
|
41
|
+
|
42
|
+
.sitetitle {
|
43
|
+
margin-inline-end: 1.85em;
|
44
|
+
}
|
45
|
+
|
46
|
+
.sitetitle a {
|
47
|
+
color: #fff;
|
48
|
+
text-decoration: none;
|
49
|
+
font-size: 1.2rem;
|
50
|
+
}
|
51
|
+
|
52
|
+
.sitetitle h1 {
|
53
|
+
height: 1.45rem;
|
54
|
+
box-sizing: border-box;
|
55
|
+
}
|
56
|
+
|
57
|
+
.top-navigation {
|
58
|
+
flex: 1 1 auto;
|
59
|
+
}
|
60
|
+
|
61
|
+
nav#TopNavNav {
|
62
|
+
box-sizing: border-box;
|
63
|
+
display: flex;
|
64
|
+
flex-direction: row;
|
65
|
+
width: 100%;
|
66
|
+
height: 100%;
|
67
|
+
align-items: streach;
|
68
|
+
}
|
69
|
+
|
70
|
+
div.navigation-item {
|
71
|
+
flex: 0 0 auto;
|
72
|
+
display: flex;
|
73
|
+
align-items: flex-end;
|
74
|
+
justify-content: flex-end;
|
75
|
+
width: min-content;
|
76
|
+
padding-inline-start: 0.45em;
|
77
|
+
padding-inline-end: 0.45em;
|
78
|
+
padding-block-end: 0.25em;
|
79
|
+
font-size: 1.2rem;
|
80
|
+
}
|
81
|
+
|
82
|
+
a {
|
83
|
+
color: #8cb4ff;
|
84
|
+
}
|
85
|
+
|
86
|
+
#DocumentFooter {
|
87
|
+
border-top: 1px solid rgb(94,158,255);
|
88
|
+
text-align: right;
|
89
|
+
}
|
90
|
+
|
91
|
+
#DocumentFooter p {
|
92
|
+
margin-block-end: 0.15em;
|
93
|
+
margin-block-start: 0.15em;
|
94
|
+
}
|
95
|
+
|
96
|
+
.author, .poweredby {
|
97
|
+
font-size: 80%;
|
98
|
+
}
|
99
|
+
|
100
|
+
#WrapWindow {
|
101
|
+
visibility: hidden;
|
102
|
+
z-index: 55000;
|
103
|
+
background-color: #000; /* for RGBa Unsupported browseres */
|
104
|
+
background-color: rgba(0,0,0,0);
|
105
|
+
height: 100vh;
|
106
|
+
width: 100vw;
|
107
|
+
position: fixed;
|
108
|
+
top: 0px;
|
109
|
+
left: 0px;
|
110
|
+
}
|
111
|
+
|
112
|
+
#WrapWindow img {
|
113
|
+
margin : 0px auto;
|
114
|
+
max-width: 100vw;
|
115
|
+
max-height: 100vh;
|
116
|
+
display: block;
|
117
|
+
}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
(function() {
|
2
|
+
if (! document.addEventListener ) { return false; }
|
3
|
+
var $e = function(id) { return document.getElementById(id) }
|
4
|
+
Element.prototype._tn = Element.prototype.getElementsByTagName
|
5
|
+
|
6
|
+
var wrapper = $e("WrapWindow") /* ModalWindow */
|
7
|
+
var fadingTimer = false /* IntervalTimer */
|
8
|
+
var alpha = 0.0 /* ModalWindows's alpha number */
|
9
|
+
var lboxImage = $e("LBoxImage") /* target img object */
|
10
|
+
|
11
|
+
/* fading out (interval callback) */
|
12
|
+
var fadeout = function() {
|
13
|
+
if (alpha < 0.8) {
|
14
|
+
alpha = alpha + 0.05
|
15
|
+
wrapper.style.backgroundColor = "rgba(0,0,0," + alpha + ")"
|
16
|
+
} else {
|
17
|
+
clearInterval(fadingTimer)
|
18
|
+
fadingTimer = false
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
/* set this for event callback */
|
23
|
+
var setLightboxTrigger = function(e) {
|
24
|
+
var imgsrc
|
25
|
+
|
26
|
+
/* Set next image */
|
27
|
+
imgsrc = e.currentTarget.src.replace("/thumb/", "/full/")
|
28
|
+
if (e.currentTarget.dataset?.fullext) {
|
29
|
+
imgsrc = imgsrc.replace(/\.[^./]+$/, ("." + e.currentTarget.dataset.fullext))
|
30
|
+
}
|
31
|
+
lboxImage.src = imgsrc
|
32
|
+
lboxImage.style.maxHeight = window.innerHeight || document.documentElement.clientHeight
|
33
|
+
lboxImage.style.maxWidth = window.innerWidth || document.documentElement.clientWidth
|
34
|
+
|
35
|
+
wrapper.style.visibility = "visible"
|
36
|
+
fadingTimer = setInterval(fadeout, 30)
|
37
|
+
}
|
38
|
+
|
39
|
+
/* Return from lightbox */
|
40
|
+
wrapper.addEventListener("click", function(e) {
|
41
|
+
if (fadingTimer) {
|
42
|
+
clearInterval(fadingTimer)
|
43
|
+
}
|
44
|
+
wrapper.style.backgroundColor = "transparent"
|
45
|
+
wrapper.style.visibility = "hidden"
|
46
|
+
alpha = 0.0
|
47
|
+
lboxImage.src = ""
|
48
|
+
}, false)
|
49
|
+
|
50
|
+
|
51
|
+
/***** Set event listener *****/
|
52
|
+
|
53
|
+
var art = $e("MainArticle")
|
54
|
+
var figs = art._tn("figure")
|
55
|
+
for(var i=0,l=figs.length; i<l; i++) {
|
56
|
+
var fi = figs[i]._tn("img").item(0)
|
57
|
+
if ( fi.src.indexOf("/thumb/") >= 0 ) {
|
58
|
+
fi.addEventListener("click", setLightboxTrigger, false)
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
})()
|
@@ -0,0 +1,126 @@
|
|
1
|
+
body {
|
2
|
+
background-color: #fcf7f4;
|
3
|
+
color: #333;
|
4
|
+
}
|
5
|
+
|
6
|
+
a {
|
7
|
+
color: #0a7ec2;
|
8
|
+
}
|
9
|
+
|
10
|
+
article h1 {
|
11
|
+
border-bottom: 1px solid;
|
12
|
+
}
|
13
|
+
|
14
|
+
.sitetitle a {
|
15
|
+
text-decoration: none;
|
16
|
+
color: inherit;
|
17
|
+
}
|
18
|
+
|
19
|
+
.sitetitle h1 {
|
20
|
+
margin-block-end: 0.15em;
|
21
|
+
margin-block-start: 0.15em;
|
22
|
+
}
|
23
|
+
|
24
|
+
.sitetitle {
|
25
|
+
border-bottom: 1px solid #5d5e68;
|
26
|
+
}
|
27
|
+
|
28
|
+
.top-navigation {
|
29
|
+
border-bottom: 2px solid #5d5e68;
|
30
|
+
}
|
31
|
+
|
32
|
+
#TopNavNav div {
|
33
|
+
display: inline-block;
|
34
|
+
}
|
35
|
+
|
36
|
+
.main-wrapper {
|
37
|
+
max-width: 1050px;
|
38
|
+
margin: auto;
|
39
|
+
padding-top: 1em;
|
40
|
+
}
|
41
|
+
|
42
|
+
.toc {
|
43
|
+
max-width: 800px;
|
44
|
+
margin: auto;
|
45
|
+
border: 2px solid #94b7eb;
|
46
|
+
border-radius: 3px;
|
47
|
+
}
|
48
|
+
|
49
|
+
article p, article li, article td {
|
50
|
+
font-family: serif;
|
51
|
+
}
|
52
|
+
|
53
|
+
article p em, article p strong, article th {
|
54
|
+
font-family: sans-serif;
|
55
|
+
}
|
56
|
+
|
57
|
+
article strong {
|
58
|
+
color: #d44503;
|
59
|
+
text-decoration: underline;
|
60
|
+
}
|
61
|
+
|
62
|
+
table {
|
63
|
+
margin: auto;
|
64
|
+
}
|
65
|
+
|
66
|
+
table td {
|
67
|
+
border-top: 1px solid;
|
68
|
+
border-bottom: 1px solid;
|
69
|
+
}
|
70
|
+
|
71
|
+
#DocumentFooter {
|
72
|
+
border-top: 2px solid #5d5e68;
|
73
|
+
text-align: right;
|
74
|
+
font-size: 80%;
|
75
|
+
}
|
76
|
+
|
77
|
+
#WrapWindow {
|
78
|
+
visibility: hidden;
|
79
|
+
z-index: 55000;
|
80
|
+
background-color: #000; /* for RGBa Unsupported browseres */
|
81
|
+
background-color: rgba(0,0,0,0);
|
82
|
+
height: 100vh;
|
83
|
+
width: 100vw;
|
84
|
+
position: fixed;
|
85
|
+
top: 0px;
|
86
|
+
left: 0px;
|
87
|
+
}
|
88
|
+
|
89
|
+
#WrapWindow img {
|
90
|
+
margin : 0px auto;
|
91
|
+
max-width: 100vw;
|
92
|
+
max-height: 100vh;
|
93
|
+
display: block;
|
94
|
+
}
|
95
|
+
|
96
|
+
/***** Source Code *****/
|
97
|
+
pre code.sourceCode .al {color: #282828;font-weight: bold;} /*Alert*/
|
98
|
+
pre code.sourceCode .an {color: #17448c;} /*Annotation*/
|
99
|
+
pre code.sourceCode .at {color: #086a48;} /*Attribute*/
|
100
|
+
pre code.sourceCode .dt {color: #ba740b;} /*BaseN*/
|
101
|
+
pre code.sourceCode .du {color: #9b129b;} /*Builtin*/
|
102
|
+
pre code.sourceCode .cf {color: #15438e;} /*ControlFlow*/
|
103
|
+
pre code.sourceCode .ch {color: #82122f;} /*Char*/
|
104
|
+
pre code.sourceCode .cn {color: #b01bb0;} /*Constant*/
|
105
|
+
pre code.sourceCode .co {color: #293da1;} /*Comment*/
|
106
|
+
pre code.sourceCode .cv {color: #ba740b;} /*CommentVar*/
|
107
|
+
pre code.sourceCode .do {color: #218B97;} /*Documentation*/
|
108
|
+
pre code.sourceCode .dt {color: #2dad86;} /*DataType*/
|
109
|
+
pre code.sourceCode .dv {color: #af16af;} /*DecVal*/
|
110
|
+
pre code.sourceCode .er {color: #282828; text-decoration: underline;} /*Error*/
|
111
|
+
pre code.sourceCode .ex {color: #2dad86;} /*Extension*/
|
112
|
+
pre code.sourceCode .fl {color: #af16af;} /*Float*/
|
113
|
+
pre code.sourceCode .fu {color: #b51d3e;} /*Function*/
|
114
|
+
pre code.sourceCode .im {color: #2dad86;} /*Import*/
|
115
|
+
pre code.sourceCode .in {color: #01a8ad;} /*Infomation*/
|
116
|
+
pre code.sourceCode .kw {color: #82122f;} /*Keyword*/
|
117
|
+
pre code.sourceCode .op {color: #17448c;} /*Operator*/
|
118
|
+
pre code.sourceCode .ot {color: #5d5e61;} /*Other*/
|
119
|
+
pre code.sourceCode .pp {color: #A85E3D;} /*PreProcessor*/
|
120
|
+
pre code.sourceCode .sc {color: #1076ad; background-color: #4E163E} /*SpecialChar*/
|
121
|
+
pre code.sourceCode .ss {color: #82122f;} /*SpecialString*/
|
122
|
+
pre code.sourceCode .st {color: #295698;} /*String*/
|
123
|
+
pre code.sourceCode .va {color: #15438e;} /*Variable*/
|
124
|
+
pre code.sourceCode .vs {color: #218B97; font-style: italic;} /*VerbatimString*/
|
125
|
+
pre code.sourceCode .wa {color: #5d5e61;} /*Warning*/
|
126
|
+
/**********************/
|
@@ -0,0 +1,62 @@
|
|
1
|
+
(function() {
|
2
|
+
if (! document.addEventListener ) { return false; }
|
3
|
+
var $e = function(id) { return document.getElementById(id) }
|
4
|
+
Element.prototype._tn = Element.prototype.getElementsByTagName
|
5
|
+
|
6
|
+
var wrapper = $e("WrapWindow") /* ModalWindow */
|
7
|
+
var fadingTimer = false /* IntervalTimer */
|
8
|
+
var alpha = 0.0 /* ModalWindows's alpha number */
|
9
|
+
var lboxImage = $e("LBoxImage") /* target img object */
|
10
|
+
|
11
|
+
/* fading out (interval callback) */
|
12
|
+
var fadeout = function() {
|
13
|
+
if (alpha < 0.8) {
|
14
|
+
alpha = alpha + 0.05
|
15
|
+
wrapper.style.backgroundColor = "rgba(0,0,0," + alpha + ")"
|
16
|
+
} else {
|
17
|
+
clearInterval(fadingTimer)
|
18
|
+
fadingTimer = false
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
/* set this for event callback */
|
23
|
+
var setLightboxTrigger = function(e) {
|
24
|
+
var imgsrc
|
25
|
+
|
26
|
+
/* Set next image */
|
27
|
+
imgsrc = e.currentTarget.src.replace("/thumb/", "/full/")
|
28
|
+
if (e.currentTarget.dataset?.fullext) {
|
29
|
+
imgsrc = imgsrc.replace(/\.[^./]+$/, ("." + e.currentTarget.dataset.fullext))
|
30
|
+
}
|
31
|
+
lboxImage.src = imgsrc
|
32
|
+
lboxImage.style.maxHeight = window.innerHeight || document.documentElement.clientHeight
|
33
|
+
lboxImage.style.maxWidth = window.innerWidth || document.documentElement.clientWidth
|
34
|
+
|
35
|
+
wrapper.style.visibility = "visible"
|
36
|
+
fadingTimer = setInterval(fadeout, 30)
|
37
|
+
}
|
38
|
+
|
39
|
+
/* Return from lightbox */
|
40
|
+
wrapper.addEventListener("click", function(e) {
|
41
|
+
if (fadingTimer) {
|
42
|
+
clearInterval(fadingTimer)
|
43
|
+
}
|
44
|
+
wrapper.style.backgroundColor = "transparent"
|
45
|
+
wrapper.style.visibility = "hidden"
|
46
|
+
alpha = 0.0
|
47
|
+
lboxImage.src = ""
|
48
|
+
}, false)
|
49
|
+
|
50
|
+
|
51
|
+
/***** Set event listener *****/
|
52
|
+
|
53
|
+
var art = $e("MainArticle")
|
54
|
+
var figs = art._tn("figure")
|
55
|
+
for(var i=0,l=figs.length; i<l; i++) {
|
56
|
+
var fi = figs[i]._tn("img").item(0)
|
57
|
+
if ( fi.src.indexOf("/thumb/") >= 0 ) {
|
58
|
+
fi.addEventListener("click", setLightboxTrigger, false)
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
})()
|
@@ -0,0 +1,115 @@
|
|
1
|
+
code {
|
2
|
+
word-break: break-all;
|
3
|
+
overflow-wrap: break-word;
|
4
|
+
hyphens: none;
|
5
|
+
}
|
6
|
+
span.smallcaps{font-variant: small-caps;}
|
7
|
+
span.underline{text-decoration: underline;}
|
8
|
+
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
9
|
+
q { quotes: "“" "”" "‘" "’"; }
|
10
|
+
|
11
|
+
#TitleHeader {
|
12
|
+
text-align: center;
|
13
|
+
}
|
14
|
+
|
15
|
+
body {
|
16
|
+
font-family: serif;
|
17
|
+
}
|
18
|
+
|
19
|
+
h1, h2, h3, h4, h5, h6, strong {
|
20
|
+
font-family: sans-serif;
|
21
|
+
}
|
22
|
+
|
23
|
+
footer {
|
24
|
+
text-align: right;
|
25
|
+
}
|
26
|
+
|
27
|
+
a {
|
28
|
+
color: #23669c;
|
29
|
+
}
|
30
|
+
|
31
|
+
.toc {
|
32
|
+
margin: auto 45px;
|
33
|
+
padding: 0.5em;
|
34
|
+
font-size: 90%;
|
35
|
+
border: #666 solid 1px;
|
36
|
+
}
|
37
|
+
|
38
|
+
@media screen {
|
39
|
+
body {
|
40
|
+
color: #484848;
|
41
|
+
background-color: #fff;
|
42
|
+
padding: 0;
|
43
|
+
margin: 0;
|
44
|
+
}
|
45
|
+
|
46
|
+
article, #SideBar {
|
47
|
+
max-width: 1080px;
|
48
|
+
margin: auto;
|
49
|
+
}
|
50
|
+
|
51
|
+
blockquote {
|
52
|
+
border-left-color: #7496cc;
|
53
|
+
border-left-style: solid;
|
54
|
+
border-left-width: 0.5em;
|
55
|
+
padding-left: 0.5em;
|
56
|
+
}
|
57
|
+
|
58
|
+
/* Source Code */
|
59
|
+
pre code.sourceCode {
|
60
|
+
color: #eff0f6;
|
61
|
+
line-height: 1.3;
|
62
|
+
white-space: pre-wrap;
|
63
|
+
}
|
64
|
+
|
65
|
+
div.sourceCode {
|
66
|
+
overflow: auto;
|
67
|
+
background-color: #191B2A;
|
68
|
+
padding: 0.75rem;
|
69
|
+
border-radius: 5px;
|
70
|
+
}
|
71
|
+
|
72
|
+
article img {
|
73
|
+
max-width: 100%;
|
74
|
+
max-height: 500px;
|
75
|
+
width: auto;
|
76
|
+
height: auto;
|
77
|
+
}
|
78
|
+
|
79
|
+
/* This color theme inspired by Dank Neon. */
|
80
|
+
pre code.sourceCode .al {color: #F8F8F8; background-color: #800F00; font-weight: bold;} /*Alert*/
|
81
|
+
pre code.sourceCode .an {color: #7496cc;} /*Annotation*/
|
82
|
+
pre code.sourceCode .at {color: #39FFBA;} /*Attribute*/
|
83
|
+
pre code.sourceCode .dt {color: #ffca7a;} /*BaseN*/
|
84
|
+
pre code.sourceCode .du {color: #F1B3F1;} /*Builtin*/
|
85
|
+
pre code.sourceCode .cf {color: #39FFBA;} /*ControlFlow*/
|
86
|
+
pre code.sourceCode .ch {color: #ac3756;} /*Char*/
|
87
|
+
pre code.sourceCode .cn {color: #F1B3F1;} /*Constant*/
|
88
|
+
pre code.sourceCode .co {color: #858DB7;} /*Comment*/
|
89
|
+
pre code.sourceCode .cv {color: #ffca7a;} /*CommentVar*/
|
90
|
+
pre code.sourceCode .do {color: #218B97;} /*Documentation*/
|
91
|
+
pre code.sourceCode .dt {color: #2dad86;} /*DataType*/
|
92
|
+
pre code.sourceCode .dv {color: #F1B3F1;} /*DecVal*/
|
93
|
+
pre code.sourceCode .er {color: #F8F8F8; text-decoration: underline;} /*Error*/
|
94
|
+
pre code.sourceCode .ex {color: #2dad86;} /*Extension*/
|
95
|
+
pre code.sourceCode .fl {color: #F1B3F1;} /*Float*/
|
96
|
+
pre code.sourceCode .fu {color: #FF476E;} /*Function*/
|
97
|
+
pre code.sourceCode .im {color: #2dad86;} /*Import*/
|
98
|
+
pre code.sourceCode .in {color: #01a8ad;} /*Infomation*/
|
99
|
+
pre code.sourceCode .kw {color: #ac3756;} /*Keyword*/
|
100
|
+
pre code.sourceCode .op {color: #7496cc;} /*Operator*/
|
101
|
+
pre code.sourceCode .ot {color: #eff0f6;} /*Other*/
|
102
|
+
pre code.sourceCode .pp {color: #A85E3D;} /*PreProcessor*/
|
103
|
+
pre code.sourceCode .sc {color: #3daee9; background-color: #4E163E} /*SpecialChar*/
|
104
|
+
pre code.sourceCode .ss {color: #ac3756;} /*SpecialString*/
|
105
|
+
pre code.sourceCode .st {color: #94BFFF;} /*String*/
|
106
|
+
pre code.sourceCode .va {color: #39ffba;} /*Variable*/
|
107
|
+
pre code.sourceCode .vs {color: #218B97; font-style: italic;} /*VerbatimString*/
|
108
|
+
pre code.sourceCode .wa {color: #eff0f6;} /*Warning*/
|
109
|
+
|
110
|
+
a.sourceLine { display: inline-block; line-height: 1.25; }
|
111
|
+
a.sourceLine { pointer-events: none; color: inherit; text-decoration: inherit; }
|
112
|
+
a.sourceLine:empty { height: 1.2em; position: absolute; }
|
113
|
+
div.sourceCode { margin: 1em 0; }
|
114
|
+
a.sourceLine::before { text-decoration: underline; }
|
115
|
+
}
|
@@ -0,0 +1,84 @@
|
|
1
|
+
body {
|
2
|
+
background-color: #fffaec;
|
3
|
+
color: #666;
|
4
|
+
font-family: serif;
|
5
|
+
}
|
6
|
+
|
7
|
+
#MainArticle {
|
8
|
+
padding: 1em;
|
9
|
+
}
|
10
|
+
|
11
|
+
#TitleHeader {
|
12
|
+
text-align: center;
|
13
|
+
border-bottom: 1px solid #333;
|
14
|
+
}
|
15
|
+
|
16
|
+
h1, h2, h3, h4, h5, h6, figure, figcaption, caption, dt {
|
17
|
+
font-family: sans-serif;
|
18
|
+
}
|
19
|
+
|
20
|
+
a:visited {
|
21
|
+
color: #c16ab8;
|
22
|
+
}
|
23
|
+
|
24
|
+
a:hover {
|
25
|
+
color: #c28850;
|
26
|
+
}
|
27
|
+
|
28
|
+
a {
|
29
|
+
color: #4a69ff;
|
30
|
+
}
|
31
|
+
|
32
|
+
.toc {
|
33
|
+
border: #ff4885 solid 2px;
|
34
|
+
background-color: #fff8f0;
|
35
|
+
margin: 2.5rem;
|
36
|
+
}
|
37
|
+
|
38
|
+
#SideBar {
|
39
|
+
padding-top: 5.5rem;
|
40
|
+
}
|
41
|
+
|
42
|
+
.menu {
|
43
|
+
border: #4c48ff solid 2px;
|
44
|
+
background-color: #fff;
|
45
|
+
margin: auto;
|
46
|
+
padding: 1em;
|
47
|
+
max-width: 100%;
|
48
|
+
}
|
49
|
+
|
50
|
+
/****** SOUECE CODE ******/
|
51
|
+
a.sourceLine { display: inline-block; line-height: 1.25; }
|
52
|
+
a.sourceLine { pointer-events: none; color: inherit; text-decoration: inherit; }
|
53
|
+
a.sourceLine:empty { height: 1.2em; }
|
54
|
+
.sourceCode { overflow: visible; }
|
55
|
+
code.sourceCode { white-space: pre; position: relative; }
|
56
|
+
div.sourceCode { margin: 1em 0; }
|
57
|
+
pre.sourceCode { margin: 0; }
|
58
|
+
@media screen {
|
59
|
+
div.sourceCode { overflow: auto; }
|
60
|
+
}
|
61
|
+
@media print {
|
62
|
+
code.sourceCode { white-space: pre-wrap; }
|
63
|
+
a.sourceLine { text-indent: -1em; padding-left: 1em; }
|
64
|
+
}
|
65
|
+
pre.numberSource a.sourceLine
|
66
|
+
{ position: relative; left: -4em; }
|
67
|
+
pre.numberSource a.sourceLine::before
|
68
|
+
{ content: attr(data-line-number);
|
69
|
+
position: relative; left: -1em; text-align: right; vertical-align: baseline;
|
70
|
+
border: none; pointer-events: all; display: inline-block;
|
71
|
+
-webkit-touch-callout: none; -webkit-user-select: none;
|
72
|
+
-khtml-user-select: none; -moz-user-select: none;
|
73
|
+
-ms-user-select: none; user-select: none;
|
74
|
+
padding: 0 4px; width: 4em;
|
75
|
+
color: #c8a280;
|
76
|
+
}
|
77
|
+
pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; }
|
78
|
+
div.sourceCode
|
79
|
+
{ }
|
80
|
+
@media screen {
|
81
|
+
a.sourceLine::before { text-decoration: underline; }
|
82
|
+
}
|
83
|
+
/*************************/
|
84
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pbsimply
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masaki Haruka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Pre compile, static serving website builder.
|
14
14
|
email:
|
@@ -35,6 +35,50 @@ files:
|
|
35
35
|
- lib/pbsimply/hooks.rb
|
36
36
|
- lib/pbsimply/plugger.rb
|
37
37
|
- lib/pbsimply/prayer.rb
|
38
|
+
- themes/contribute/README.md
|
39
|
+
- themes/default.yaml
|
40
|
+
- themes/kramdown/init322/.accsindex.erb
|
41
|
+
- themes/kramdown/init322/.pbsimply.yaml
|
42
|
+
- themes/kramdown/init322/.theme.yaml
|
43
|
+
- themes/kramdown/init322/articles/.accs.yaml
|
44
|
+
- themes/kramdown/init322/articles/20231028-untitled.md
|
45
|
+
- themes/kramdown/init322/css/style.css
|
46
|
+
- themes/kramdown/init322/index.md
|
47
|
+
- themes/kramdown/init322/menu.yaml
|
48
|
+
- themes/kramdown/init322/template.erb
|
49
|
+
- themes/pandoc/_pandoc_base/.accsindex.erb
|
50
|
+
- themes/pandoc/_pandoc_base/.pbsimply.yaml
|
51
|
+
- themes/pandoc/_pandoc_base/css/base.css
|
52
|
+
- themes/pandoc/_pandoc_base/css/layout.css
|
53
|
+
- themes/pandoc/_pandoc_base/css/lightbox.css
|
54
|
+
- themes/pandoc/_pandoc_base/css/skylightning.css
|
55
|
+
- themes/pandoc/_pandoc_base/javascript/lightbox.js
|
56
|
+
- themes/pandoc/_pandoc_base/post/.accs.yaml
|
57
|
+
- themes/pandoc/_pandoc_base/post/20231028-untitled.md
|
58
|
+
- themes/pandoc/_pandoc_base/template.html
|
59
|
+
- themes/pandoc/_pandoc_new/.accsindex.erb
|
60
|
+
- themes/pandoc/_pandoc_new/.pbsimply-bless.rb
|
61
|
+
- themes/pandoc/_pandoc_new/.pbsimply.yaml
|
62
|
+
- themes/pandoc/_pandoc_new/articles/.accs.yaml
|
63
|
+
- themes/pandoc/_pandoc_new/articles/20231028-untitled.md
|
64
|
+
- themes/pandoc/_pandoc_new/index.md
|
65
|
+
- themes/pandoc/_pandoc_new/menu.yaml
|
66
|
+
- themes/pandoc/_pandoc_new/template.html
|
67
|
+
- themes/pandoc/bloggy/.theme.yaml
|
68
|
+
- themes/pandoc/bloggy/css/base.css
|
69
|
+
- themes/pandoc/bloggy/css/layout.css
|
70
|
+
- themes/pandoc/bloggy/template.html
|
71
|
+
- themes/pandoc/cooldark/.theme.yaml
|
72
|
+
- themes/pandoc/cooldark/css/theme.css
|
73
|
+
- themes/pandoc/cooldark/js/lightbox.js
|
74
|
+
- themes/pandoc/paper/.theme.yaml
|
75
|
+
- themes/pandoc/paper/css/theme.css
|
76
|
+
- themes/pandoc/paper/js/lightbox.js
|
77
|
+
- themes/pandoc/practical/.theme.yaml
|
78
|
+
- themes/pandoc/practical/css/base.css
|
79
|
+
- themes/pandoc/practical/css/layout.css
|
80
|
+
- themes/pandoc/warm/.theme.yaml
|
81
|
+
- themes/pandoc/warm/css/base.css
|
38
82
|
homepage: https://github.com/reasonset/purebuilder-simply
|
39
83
|
licenses:
|
40
84
|
- Apache-2.0
|
@@ -47,14 +91,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
47
91
|
requirements:
|
48
92
|
- - ">="
|
49
93
|
- !ruby/object:Gem::Version
|
50
|
-
version: '
|
94
|
+
version: '2.6'
|
51
95
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
52
96
|
requirements:
|
53
97
|
- - ">="
|
54
98
|
- !ruby/object:Gem::Version
|
55
99
|
version: '0'
|
56
100
|
requirements: []
|
57
|
-
rubygems_version: 3.
|
101
|
+
rubygems_version: 3.5.16
|
58
102
|
signing_key:
|
59
103
|
specification_version: 4
|
60
104
|
summary: PureBuiler Simply
|