@terrymooreii/sia 1.0.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.
- package/.github/workflows/main.yml +33 -0
- package/.prettierignore +3 -0
- package/.prettierrc +8 -0
- package/lib/build.js +20 -0
- package/lib/helpers.js +37 -0
- package/lib/index.js +22 -0
- package/lib/init.js +8 -0
- package/lib/markdown.js +33 -0
- package/lib/new.js +46 -0
- package/lib/parse.js +94 -0
- package/lib/readconfig.js +16 -0
- package/lib/rss.js +63 -0
- package/package.json +26 -0
- package/readme.md +100 -0
- package/templates/siarc-template.js +53 -0
- package/templates/src/_partials/_footer.njk +1 -0
- package/templates/src/_partials/_head.njk +35 -0
- package/templates/src/_partials/_header.njk +1 -0
- package/templates/src/_partials/_layout.njk +12 -0
- package/templates/src/_partials/_nav.njk +12 -0
- package/templates/src/_partials/page.njk +5 -0
- package/templates/src/_partials/post.njk +13 -0
- package/templates/src/_partials/posts.njk +19 -0
- package/templates/src/assets/android-chrome-192x192.png +0 -0
- package/templates/src/assets/android-chrome-512x512.png +0 -0
- package/templates/src/assets/apple-touch-icon.png +0 -0
- package/templates/src/assets/favicon-16x16.png +0 -0
- package/templates/src/assets/favicon-32x32.png +0 -0
- package/templates/src/assets/favicon.ico +0 -0
- package/templates/src/assets/site.webmanifest +19 -0
- package/templates/src/content/index.md +7 -0
- package/templates/src/css/markdown.css +1210 -0
- package/templates/src/css/theme.css +120 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--bg-color: rgb(31 41 55 / 0.97);
|
|
3
|
+
--nav-bg-color: rgb(31 41 55 / 0.95);
|
|
4
|
+
--content-width: 700px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
* {
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
body {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
align-items: center;
|
|
15
|
+
background-color: var(--bg-color);
|
|
16
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif,
|
|
17
|
+
'Apple Color Emoji', 'Segoe UI Emoji';
|
|
18
|
+
padding-top: 68px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.content {
|
|
22
|
+
width: var(--content-width);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@media only screen and (max-width: 700px) {
|
|
26
|
+
.content {
|
|
27
|
+
width: 100vw;
|
|
28
|
+
padding-left: 20px;
|
|
29
|
+
padding-right: 20px;
|
|
30
|
+
}
|
|
31
|
+
nav {
|
|
32
|
+
padding-left: 20px;
|
|
33
|
+
padding-right: 20px;
|
|
34
|
+
}
|
|
35
|
+
.body {
|
|
36
|
+
align-items: start;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
header.blog {
|
|
41
|
+
margin-bottom: 1em;
|
|
42
|
+
padding-bottom: 0.5em;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.blog-title,
|
|
46
|
+
.post-title {
|
|
47
|
+
margin-bottom: 0px !important;
|
|
48
|
+
padding-bottom: 0px !important;
|
|
49
|
+
}
|
|
50
|
+
.blog-title {
|
|
51
|
+
font-size: 18px !important;
|
|
52
|
+
padding: 0 !important;
|
|
53
|
+
margin: 0 !important;
|
|
54
|
+
text-decoration: none !important;
|
|
55
|
+
}
|
|
56
|
+
.blog-description {
|
|
57
|
+
opacity: 0.7;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
time {
|
|
61
|
+
font-size: 0.8em;
|
|
62
|
+
font-style: italic;
|
|
63
|
+
opacity: 0.7;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.nav-container {
|
|
67
|
+
display: flex;
|
|
68
|
+
justify-content: space-between;
|
|
69
|
+
align-items: center;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
nav {
|
|
73
|
+
background-color: var(--nav-bg-color);
|
|
74
|
+
display: flex;
|
|
75
|
+
justify-content: center;
|
|
76
|
+
align-items: center;
|
|
77
|
+
padding-top: 12px;
|
|
78
|
+
padding-bottom: 12px;
|
|
79
|
+
position: fixed;
|
|
80
|
+
top: 0;
|
|
81
|
+
left: 0;
|
|
82
|
+
right: 0;
|
|
83
|
+
z-index: 1;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
nav ul {
|
|
87
|
+
list-style: none;
|
|
88
|
+
display: flex;
|
|
89
|
+
align-items: center;
|
|
90
|
+
margin: 0 !important;
|
|
91
|
+
padding-left: 0px !important;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
nav li {
|
|
95
|
+
padding: 0;
|
|
96
|
+
margin-top: 0 !important;
|
|
97
|
+
margin-right: 12px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.posts ul {
|
|
101
|
+
list-style: none;
|
|
102
|
+
padding-left: 0 !important;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.posts div.year {
|
|
106
|
+
font-size: 1.2em;
|
|
107
|
+
text-decoration: underline;
|
|
108
|
+
margin-bottom: 8px;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.posts span.date {
|
|
112
|
+
margin-right: 8px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
footer {
|
|
116
|
+
margin-top: 2em;
|
|
117
|
+
padding-top: 1em;
|
|
118
|
+
text-align: center;
|
|
119
|
+
font-size: 0.9em;
|
|
120
|
+
}
|