fossbook 0.0.4 → 0.0.6

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.
@@ -1,402 +1,402 @@
1
- /* Markdown */
2
- :root{
3
- --maincolor: #bcc9fc;
4
- --bordercl:rgb(99, 108, 118);
5
- --callouctcolor:dodgerblue;
6
- --hovercolor:navy;
7
- --darkMaincolor: #50fa7b;
8
- }
9
- html {
10
- color: #232333;
11
- font-family: 'Roboto Mono', monospace;
12
- font-size: 15px;
13
- line-height: 1.6em;
14
- }
15
-
16
- /* for iOS */
17
- @media only screen and (hover: none) and (pointer: coarse){
18
-
19
- }
20
-
21
- /* for desktop */
22
- @media (min-width: 1025px) and (orientation: landscape) {
23
- blockquote {
24
- display: none;
25
- }
26
- }
27
-
28
- body{
29
- display: block;
30
- margin: 8px;
31
- }
32
- * {
33
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
34
- }
35
-
36
- ::selection {
37
- background: var(--maincolor);
38
- color: #fff;
39
- }
40
-
41
- p {
42
- line-height: 1.5;
43
- }
44
-
45
- hr {
46
- border: 0;
47
- border-top: 3px dotted var(--bordercl);
48
- margin: 1em 0;
49
- }
50
-
51
-
52
- .blockquote-container {
53
- display: flex;
54
- justify-content: center;
55
- }
56
-
57
-
58
- blockquote {
59
- margin: 0;
60
- font-family: "Playpen Sans", cursive;
61
- font-optical-sizing: auto;
62
- font-weight: 400;
63
- font-style: normal;
64
- font-size: 1rem;
65
- }
66
-
67
- a {
68
- border-bottom: 3px solid var(--maincolor);
69
- color: inherit;
70
- text-decoration: none;
71
- }
72
- a:hover {
73
- background-color: var(--hovercolor);
74
- color: #fff;
75
- }
76
-
77
- ul {
78
- list-style: none;
79
- padding-left: 2ch;
80
- }
81
- ul li {
82
- text-indent: -2ch;
83
- }
84
- ul > li::before {
85
- content: '* ';
86
- font-weight: bold;
87
- }
88
-
89
- /*
90
- ul.pagination {
91
- display: flex;
92
- justify-content: space-between;
93
- }
94
- ul.pagination {
95
- display: block;
96
- text-align: right;
97
- }
98
- */
99
-
100
- ul.pagination-post {
101
- font-size: small;
102
- display: flex;
103
- justify-content: space-between;
104
- }
105
-
106
- /* Images */
107
- img {
108
- max-width: 100%;
109
- }
110
-
111
- /* Default style */
112
- .responsive-image {
113
- width: 40%;
114
- }
115
-
116
- /* for iOS */
117
- @media only screen and (hover: none) and (pointer: coarse){
118
- .responsive-image {
119
- width: 80%;
120
- }
121
- }
122
-
123
- figure {
124
- box-sizing: border-box;
125
- display: inline-block;
126
- margin: 0;
127
- max-width: 100%;
128
- }
129
-
130
- figure img {
131
- max-height: 500px;
132
- }
133
-
134
- @media screen and (min-width: 600px) {
135
- figure {
136
- padding: 0 40px;
137
- }
138
- }
139
-
140
- figure h4 {
141
- font-size: 1rem;
142
- margin: 0;
143
- margin-bottom: 1em;
144
- }
145
- figure h4::before {
146
- content: '↳ ';
147
- }
148
-
149
- /* Code blocks */
150
- code {
151
- background-color: #f1f1f1;
152
- padding: .1em .2em;
153
- }
154
-
155
- pre {
156
- background-color: #ececec;
157
- line-height: 1.4;
158
- overflow-x: auto;
159
- padding: 1em;
160
- }
161
-
162
- .highlight pre ::selection {
163
- background: rgba(255, 255, 255, 0.2);
164
- color: inherit;
165
- }
166
-
167
- pre code {
168
- background-color: transparent;
169
- color: inherit;
170
- font-size: 100%;
171
- padding: 0;
172
- }
173
-
174
- /* Containers */
175
- .content {
176
- margin-bottom: 4em;
177
- margin-left: auto;
178
- margin-right: auto;
179
- max-width: 700px;
180
- padding: 0 1ch;
181
- word-wrap: break-word;
182
- }
183
-
184
- /* Header */
185
- header {
186
- display: flex;
187
- flex-wrap: wrap;
188
- justify-content: space-between;
189
- margin: 1em 0;
190
- line-height: 2.5em;
191
- }
192
-
193
- header .main {
194
- font-size: 1.5rem;
195
- }
196
- h1, h2, h3, h4, h5, h6 {
197
- font-size: 1.2rem;
198
- margin-top: 2em;
199
- }
200
-
201
- h1::before { color: var(--maincolor); content: '# '; }
202
- h2::before { color: var(--maincolor); content: '## '; }
203
- h3::before { color: var(--maincolor); content: '### '; }
204
- h4::before { color: var(--maincolor); content: '#### '; }
205
- h5::before { color: var(--maincolor); content: '##### '; }
206
- h6::before { color: var(--maincolor); content: '###### '; }
207
-
208
- .meta {
209
- color: #999;
210
- letter-spacing: -0.5px;
211
- }
212
-
213
- .description {
214
- font-size: 1rem;
215
- }
216
-
217
- /* navigation */
218
- h1.assistive-text {
219
- display: none;
220
- }
221
- nav.post-navigation {
222
- display: flex;
223
- justify-content: end;
224
- margin: 2em 0;
225
- font-size: small;
226
- }
227
- /* delete */
228
-
229
- /* Footer */
230
- footer {
231
- display: flex;
232
- align-items: center;
233
- border-top: 0.4rem dotted var(--bordercl);
234
- padding: 2rem 0rem;
235
- margin-top: 2rem;
236
- }
237
- .soc {
238
- display: flex;
239
- align-items: center;
240
- border-bottom: none;
241
- }
242
- .border {
243
- margin-left: 0.5rem;
244
- margin-right: 0.5rem;
245
- border: 1px solid;
246
- border-color: var(--bordercl);
247
- }
248
- .footer-info {
249
- padding: var(--footer-padding);
250
- }
251
-
252
- /* Common */
253
- .title h1 {
254
- margin-bottom: 0;
255
- }
256
-
257
- time {
258
- color: grey;
259
- }
260
-
261
- /* Posts */
262
- article .title {
263
- margin-bottom: 1em;
264
- }
265
-
266
- .disable-link {
267
- color: grey;
268
- }
269
-
270
- /* Callout */
271
- .callout {
272
- background-color: var(--callouctcolor);
273
- color: #fff;
274
- padding: 1em;
275
- }
276
-
277
- .callout p {
278
- font-family: 'IBM Plex Mono', monospace;
279
- margin: 0;
280
- }
281
-
282
- .callout a {
283
- border-bottom: 3px solid #fff;
284
- }
285
-
286
- .callout a:hover {
287
- background-color: #fff;
288
- color: var(--callouctcolor);
289
- }
290
-
291
- .site-description {
292
- display: flex;
293
- justify-content: space-between;
294
- }
295
- .tags li::before{
296
- content: "🏷 ";
297
- }
298
- .tags a{
299
- border-bottom: 3px solid var(--maincolor);
300
- }
301
- .tags a:hover{
302
- color:white;
303
- background-color: var(--hovercolor);
304
- }
305
- svg{
306
- max-height: 15px;
307
- }
308
- .soc:hover{
309
- color: white;
310
- }
311
- .draft-label{
312
- color: var(--bordercl);
313
- text-decoration: none;
314
- padding: 2px 4px;
315
- border-radius: 4px;
316
- margin-left: 6px;
317
- background-color: #f9f2f4;
318
- }
319
- .highlight {
320
- position: relative;
321
- -webkit-overflow-scrolling: touch;
322
- }
323
- .highlight pre code[class*="language-"] {
324
- -webkit-overflow-scrolling: touch;
325
- }
326
- .highlight pre code[class*="language-"]::before {
327
- background: black;
328
- border-radius: 0 0 0.25rem 0.25rem;
329
- color: white;
330
- font-size: 12px;
331
- letter-spacing: 0.025rem;
332
- padding: 0.1rem 0.5rem;
333
- position: absolute;
334
- right: 1rem;
335
- text-align: right;
336
- text-transform: uppercase;
337
- top: 0;
338
- }
339
-
340
- .highlight pre code[class=language-javaScript]::before,
341
- .highlight pre code[class="language-js"]::before {
342
- content: "js";
343
- background: #f7df1e;
344
- color: black;
345
- }
346
- .highlight pre code[class*='language-yml']::before,
347
- .highlight pre code[class*='language-yaml']::before {
348
- content: 'yaml';
349
- background: #f71e6a;
350
- color: white;
351
- }
352
- .highlight pre code[class*='language-shell']::before,
353
- .highlight pre code[class*='language-bash']::before,
354
- .highlight pre code[class*='language-sh']::before {
355
- content: 'shell';
356
- background: green;
357
- color:white
358
- }
359
- .highlight pre code[class*='language-json']::before{
360
- content: 'json';
361
- background: dodgerblue;
362
- color: #000000
363
- }
364
- .highlight pre code[class*='language-python']::before,
365
- .highlight pre code[class*='language-py']::before {
366
- content: 'py';
367
- background: blue;
368
- color: yellow ;
369
- }
370
- .highlight pre code[class*='language-css']::before{
371
- content: 'css';
372
- background: cyan;
373
- color: black ;
374
- }
375
- .highlight pre code[class*='language-go']::before{
376
- content: 'Go';
377
- background: cyan;
378
- color: royalblue ;
379
- }
380
- .highlight pre code[class*='language-md']::before,
381
- .highlight pre code[class*='language-md']::before{
382
- content: 'Markdown';
383
- background: royalblue;
384
- color: whitesmoke ;
385
- }
386
-
387
- /* table */
388
- table {
389
- border-spacing: 0;
390
- border-collapse: collapse;
391
- }
392
-
393
- table th{
394
- padding: 6px 13px;
395
- border: 1px solid #dfe2e5;
396
- font-size: large;
397
- }
398
-
399
- table td{
400
- padding: 6px 13px;
401
- border: 1px solid #dfe2e5;
402
- }
1
+ /* Markdown */
2
+ :root{
3
+ --maincolor: #bcc9fc;
4
+ --bordercl:rgb(99, 108, 118);
5
+ --callouctcolor:dodgerblue;
6
+ --hovercolor:navy;
7
+ --darkMaincolor: #50fa7b;
8
+ }
9
+ html {
10
+ color: #232333;
11
+ font-family: 'Roboto Mono', monospace;
12
+ font-size: 15px;
13
+ line-height: 1.6em;
14
+ }
15
+
16
+ /* for iOS */
17
+ @media only screen and (hover: none) and (pointer: coarse){
18
+
19
+ }
20
+
21
+ /* for desktop */
22
+ @media (min-width: 1025px) and (orientation: landscape) {
23
+ blockquote {
24
+ display: none;
25
+ }
26
+ }
27
+
28
+ body{
29
+ display: block;
30
+ margin: 8px;
31
+ }
32
+ * {
33
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
34
+ }
35
+
36
+ ::selection {
37
+ background: var(--maincolor);
38
+ color: #fff;
39
+ }
40
+
41
+ p {
42
+ line-height: 1.5;
43
+ }
44
+
45
+ hr {
46
+ border: 0;
47
+ border-top: 3px dotted var(--bordercl);
48
+ margin: 1em 0;
49
+ }
50
+
51
+
52
+ .blockquote-container {
53
+ display: flex;
54
+ justify-content: center;
55
+ }
56
+
57
+
58
+ blockquote {
59
+ margin: 0;
60
+ font-family: "Playpen Sans", cursive;
61
+ font-optical-sizing: auto;
62
+ font-weight: 400;
63
+ font-style: normal;
64
+ font-size: 1rem;
65
+ }
66
+
67
+ a {
68
+ border-bottom: 3px solid var(--maincolor);
69
+ color: inherit;
70
+ text-decoration: none;
71
+ }
72
+ a:hover {
73
+ background-color: var(--hovercolor);
74
+ color: #fff;
75
+ }
76
+
77
+ ul {
78
+ list-style: none;
79
+ padding-left: 2ch;
80
+ }
81
+ ul li {
82
+ text-indent: -2ch;
83
+ }
84
+ ul > li::before {
85
+ content: '* ';
86
+ font-weight: bold;
87
+ }
88
+
89
+ /*
90
+ ul.pagination {
91
+ display: flex;
92
+ justify-content: space-between;
93
+ }
94
+ ul.pagination {
95
+ display: block;
96
+ text-align: right;
97
+ }
98
+ */
99
+
100
+ ul.pagination-post {
101
+ font-size: small;
102
+ display: flex;
103
+ justify-content: space-between;
104
+ }
105
+
106
+ /* Images */
107
+ img {
108
+ max-width: 100%;
109
+ }
110
+
111
+ /* Default style */
112
+ .responsive-image {
113
+ width: 40%;
114
+ }
115
+
116
+ /* for iOS */
117
+ @media only screen and (hover: none) and (pointer: coarse){
118
+ .responsive-image {
119
+ width: 80%;
120
+ }
121
+ }
122
+
123
+ figure {
124
+ box-sizing: border-box;
125
+ display: inline-block;
126
+ margin: 0;
127
+ max-width: 100%;
128
+ }
129
+
130
+ figure img {
131
+ max-height: 500px;
132
+ }
133
+
134
+ @media screen and (min-width: 600px) {
135
+ figure {
136
+ padding: 0 40px;
137
+ }
138
+ }
139
+
140
+ figure h4 {
141
+ font-size: 1rem;
142
+ margin: 0;
143
+ margin-bottom: 1em;
144
+ }
145
+ figure h4::before {
146
+ content: '↳ ';
147
+ }
148
+
149
+ /* Code blocks */
150
+ code {
151
+ background-color: #f1f1f1;
152
+ padding: .1em .2em;
153
+ }
154
+
155
+ pre {
156
+ background-color: #ececec;
157
+ line-height: 1.4;
158
+ overflow-x: auto;
159
+ padding: 1em;
160
+ }
161
+
162
+ .highlight pre ::selection {
163
+ background: rgba(255, 255, 255, 0.2);
164
+ color: inherit;
165
+ }
166
+
167
+ pre code {
168
+ background-color: transparent;
169
+ color: inherit;
170
+ font-size: 100%;
171
+ padding: 0;
172
+ }
173
+
174
+ /* Containers */
175
+ .content {
176
+ margin-bottom: 4em;
177
+ margin-left: auto;
178
+ margin-right: auto;
179
+ max-width: 700px;
180
+ padding: 0 1ch;
181
+ word-wrap: break-word;
182
+ }
183
+
184
+ /* Header */
185
+ header {
186
+ display: flex;
187
+ flex-wrap: wrap;
188
+ justify-content: space-between;
189
+ margin: 1em 0;
190
+ line-height: 2.5em;
191
+ }
192
+
193
+ header .main {
194
+ font-size: 1.5rem;
195
+ }
196
+ h1, h2, h3, h4, h5, h6 {
197
+ font-size: 1.2rem;
198
+ margin-top: 2em;
199
+ }
200
+
201
+ h1::before { color: var(--maincolor); content: '# '; }
202
+ h2::before { color: var(--maincolor); content: '## '; }
203
+ h3::before { color: var(--maincolor); content: '### '; }
204
+ h4::before { color: var(--maincolor); content: '#### '; }
205
+ h5::before { color: var(--maincolor); content: '##### '; }
206
+ h6::before { color: var(--maincolor); content: '###### '; }
207
+
208
+ .meta {
209
+ color: #999;
210
+ letter-spacing: -0.5px;
211
+ }
212
+
213
+ .description {
214
+ font-size: 1rem;
215
+ }
216
+
217
+ /* navigation */
218
+ h1.assistive-text {
219
+ display: none;
220
+ }
221
+ nav.post-navigation {
222
+ display: flex;
223
+ justify-content: end;
224
+ margin: 2em 0;
225
+ font-size: small;
226
+ }
227
+ /* delete */
228
+
229
+ /* Footer */
230
+ footer {
231
+ display: flex;
232
+ align-items: center;
233
+ border-top: 0.4rem dotted var(--bordercl);
234
+ padding: 2rem 0rem;
235
+ margin-top: 2rem;
236
+ }
237
+ .soc {
238
+ display: flex;
239
+ align-items: center;
240
+ border-bottom: none;
241
+ }
242
+ .border {
243
+ margin-left: 0.5rem;
244
+ margin-right: 0.5rem;
245
+ border: 1px solid;
246
+ border-color: var(--bordercl);
247
+ }
248
+ .footer-info {
249
+ padding: var(--footer-padding);
250
+ }
251
+
252
+ /* Common */
253
+ .title h1 {
254
+ margin-bottom: 0;
255
+ }
256
+
257
+ time {
258
+ color: grey;
259
+ }
260
+
261
+ /* Posts */
262
+ article .title {
263
+ margin-bottom: 1em;
264
+ }
265
+
266
+ .disable-link {
267
+ color: grey;
268
+ }
269
+
270
+ /* Callout */
271
+ .callout {
272
+ background-color: var(--callouctcolor);
273
+ color: #fff;
274
+ padding: 1em;
275
+ }
276
+
277
+ .callout p {
278
+ font-family: 'IBM Plex Mono', monospace;
279
+ margin: 0;
280
+ }
281
+
282
+ .callout a {
283
+ border-bottom: 3px solid #fff;
284
+ }
285
+
286
+ .callout a:hover {
287
+ background-color: #fff;
288
+ color: var(--callouctcolor);
289
+ }
290
+
291
+ .site-description {
292
+ display: flex;
293
+ justify-content: space-between;
294
+ }
295
+ .tags li::before{
296
+ content: "🏷 ";
297
+ }
298
+ .tags a{
299
+ border-bottom: 3px solid var(--maincolor);
300
+ }
301
+ .tags a:hover{
302
+ color:white;
303
+ background-color: var(--hovercolor);
304
+ }
305
+ svg{
306
+ max-height: 15px;
307
+ }
308
+ .soc:hover{
309
+ color: white;
310
+ }
311
+ .draft-label{
312
+ color: var(--bordercl);
313
+ text-decoration: none;
314
+ padding: 2px 4px;
315
+ border-radius: 4px;
316
+ margin-left: 6px;
317
+ background-color: #f9f2f4;
318
+ }
319
+ .highlight {
320
+ position: relative;
321
+ -webkit-overflow-scrolling: touch;
322
+ }
323
+ .highlight pre code[class*="language-"] {
324
+ -webkit-overflow-scrolling: touch;
325
+ }
326
+ .highlight pre code[class*="language-"]::before {
327
+ background: black;
328
+ border-radius: 0 0 0.25rem 0.25rem;
329
+ color: white;
330
+ font-size: 12px;
331
+ letter-spacing: 0.025rem;
332
+ padding: 0.1rem 0.5rem;
333
+ position: absolute;
334
+ right: 1rem;
335
+ text-align: right;
336
+ text-transform: uppercase;
337
+ top: 0;
338
+ }
339
+
340
+ .highlight pre code[class=language-javaScript]::before,
341
+ .highlight pre code[class="language-js"]::before {
342
+ content: "js";
343
+ background: #f7df1e;
344
+ color: black;
345
+ }
346
+ .highlight pre code[class*='language-yml']::before,
347
+ .highlight pre code[class*='language-yaml']::before {
348
+ content: 'yaml';
349
+ background: #f71e6a;
350
+ color: white;
351
+ }
352
+ .highlight pre code[class*='language-shell']::before,
353
+ .highlight pre code[class*='language-bash']::before,
354
+ .highlight pre code[class*='language-sh']::before {
355
+ content: 'shell';
356
+ background: green;
357
+ color:white
358
+ }
359
+ .highlight pre code[class*='language-json']::before{
360
+ content: 'json';
361
+ background: dodgerblue;
362
+ color: #000000
363
+ }
364
+ .highlight pre code[class*='language-python']::before,
365
+ .highlight pre code[class*='language-py']::before {
366
+ content: 'py';
367
+ background: blue;
368
+ color: yellow ;
369
+ }
370
+ .highlight pre code[class*='language-css']::before{
371
+ content: 'css';
372
+ background: cyan;
373
+ color: black ;
374
+ }
375
+ .highlight pre code[class*='language-go']::before{
376
+ content: 'Go';
377
+ background: cyan;
378
+ color: royalblue ;
379
+ }
380
+ .highlight pre code[class*='language-md']::before,
381
+ .highlight pre code[class*='language-md']::before{
382
+ content: 'Markdown';
383
+ background: royalblue;
384
+ color: whitesmoke ;
385
+ }
386
+
387
+ /* table */
388
+ table {
389
+ border-spacing: 0;
390
+ border-collapse: collapse;
391
+ }
392
+
393
+ table th{
394
+ padding: 6px 13px;
395
+ border: 1px solid #dfe2e5;
396
+ font-size: large;
397
+ }
398
+
399
+ table td{
400
+ padding: 6px 13px;
401
+ border: 1px solid #dfe2e5;
402
+ }