Skip to content

Commit eccfa88

Browse files
committed
feat: Initial thoughts generation in place
1 parent 9bdf2e0 commit eccfa88

12 files changed

+539
-28
lines changed

Diff for: assets/styles/styles.css

+105-9
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,17 @@ h6 {
3333
letter-spacing: 0.1em;
3434
}
3535

36-
p {
36+
p,
37+
ol,
38+
ul {
3739
line-height: 1.5em;
3840
padding-bottom: 1em;
3941
/* letter-spacing: 0.05em; */
4042
}
4143

42-
p:last-child {
44+
p:last-child,
45+
ol:last-child,
46+
ul:last-child {
4347
padding-bottom: 0;
4448
}
4549

@@ -269,6 +273,14 @@ main.area.thoughts {
269273
background: rgb(0, 105, 79);
270274
}
271275

276+
main.thoughts section h3 {
277+
text-transform: none;
278+
}
279+
280+
main.thoughts.details {
281+
background: rgb(1, 65, 49);
282+
}
283+
272284
main.profile {
273285
min-height: 0;
274286
background: rgb(17, 50, 143);
@@ -278,24 +290,26 @@ main.profile.details {
278290
background: rgb(12, 36, 102);
279291
}
280292

281-
main.profile.employment .employment-details h3 {
293+
main .header-details h1,
294+
main .header-details h2,
295+
main .header-details h3 {
282296
text-transform: none;
283297
display: inline-block;
284298
padding-right: 10px;
285299
padding-bottom: 15px;
286300
}
287301

288-
main.profile.employment .employment-details h4 {
302+
main .header-details h4 {
289303
padding-bottom: 10px;
290304
}
291305

292-
main.profile.employment .employment-details p {
306+
main .header-details p {
293307
display: inline-block;
294308
margin-bottom: 15px;
295309
}
296310

297311
@media only screen and (max-width: 600px) {
298-
main.profile.employment .employment-details h3 {
312+
main .header-details h3 {
299313
display: block;
300314
}
301315
}
@@ -437,23 +451,105 @@ section.area {
437451
}
438452
}
439453

454+
.article section.area {
455+
border-left: none;
456+
padding-left: 0;
457+
}
458+
459+
.article img {
460+
max-width: 100%;
461+
}
462+
463+
.article .header-details {
464+
padding-left: 20px;
465+
border-left: 5px solid #fff;
466+
margin-bottom: 20px;
467+
}
468+
469+
.article .header-details > * {
470+
margin-bottom: 0;
471+
}
472+
440473
section.area h2,
441474
h3 {
442475
padding-bottom: 1em;
443476
text-transform: lowercase;
444477
}
445478

446-
.em {
479+
.em,
480+
strong {
447481
font-weight: bold;
448482
}
449483

450-
.em2 {
484+
.em2,
485+
blockquote,
486+
em {
451487
padding-right: 0.1em;
452488
font-style: italic;
453489
}
454490

455491
.tag {
456492
background: rgba(0, 0, 0, 0.2);
457-
padding: 5px 10px;
493+
padding: 5px 10px !important;
458494
font-size: 0.8em;
459495
}
496+
497+
.article section.area h1 {
498+
font-size: 1.8em;
499+
line-height: 1.2em;
500+
}
501+
502+
.article section.area h2,
503+
.article section.area h3,
504+
.article section.area h4,
505+
.article section.area h5,
506+
.article section.area h6 {
507+
padding-left: 10px;
508+
padding-bottom: 0;
509+
margin-top: 10px;
510+
margin-bottom: 5px;
511+
text-transform: none;
512+
}
513+
514+
.article section.area p {
515+
text-align: justify;
516+
}
517+
518+
.article section.area p,
519+
.article section.area img,
520+
.article section.area ol,
521+
.article section.area ul {
522+
margin-left: 10px;
523+
}
524+
525+
.article section.area ol li,
526+
.article section.area ul li {
527+
display: block;
528+
margin-bottom: 5px;
529+
}
530+
531+
.article section.area ol li:before,
532+
.article section.area ul li:before {
533+
content: " - ";
534+
margin-left: 10px;
535+
}
536+
537+
@media only screen and (max-width: 600px) {
538+
.article section.area h2,
539+
.article section.area h3,
540+
.article section.area h4,
541+
.article section.area h5,
542+
.article section.area h6,
543+
.article section.area p,
544+
.article section.area img,
545+
.article section.area ol li:before,
546+
.article section.area ul li:before {
547+
padding-left: 0;
548+
margin-left: 0;
549+
}
550+
551+
.article section.area {
552+
margin-left: 10px;
553+
margin-right: 10px;
554+
}
555+
}

Diff for: nodemon.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"watch": [
33
"pages",
44
"assets",
5-
"templates"
5+
"templates",
6+
"thoughts"
67
],
7-
"ext": "html,css",
8+
"ext": "html,css,md",
89
"exec": "npm run build:dev"
910
}

0 commit comments

Comments
 (0)