This commit is contained in:
commit
24552a7df2
14
CHANGELOG.md
14
CHANGELOG.md
@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [1.2.1] - 2022-08-19
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Upgrade to Tailwind v3.1.8 ([#12](https://github.com/jpanther/lynx/pull/12), [#18](https://github.com/jpanther/lynx/pull/18))
|
||||||
|
- Upgrade to Typography v0.5.4 ([#16](https://github.com/jpanther/lynx/pull/16))
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Home link not pointing to correct URL when site deployed in a sub-directory
|
||||||
|
|
||||||
## [1.2.0] - 2022-06-17
|
## [1.2.0] - 2022-06-17
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
@ -48,7 +59,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Fathom Analytics and Google Analytics support
|
- Fathom Analytics and Google Analytics support
|
||||||
- Favicons support
|
- Favicons support
|
||||||
|
|
||||||
[unreleased]: https://github.com/jpanther/lynx/compare/v1.2.0...HEAD
|
[unreleased]: https://github.com/jpanther/lynx/compare/v1.2.1...HEAD
|
||||||
|
[1.2.1]: https://github.com/jpanther/lynx/compare/v1.2.0...v1.2.1
|
||||||
[1.2.0]: https://github.com/jpanther/lynx/compare/v1.1.0...v1.2.0
|
[1.2.0]: https://github.com/jpanther/lynx/compare/v1.1.0...v1.2.0
|
||||||
[1.1.0]: https://github.com/jpanther/lynx/compare/v1.0.0...v1.1.0
|
[1.1.0]: https://github.com/jpanther/lynx/compare/v1.0.0...v1.1.0
|
||||||
[1.0.0]: https://github.com/jpanther/lynx/releases/tags/v1.0.0
|
[1.0.0]: https://github.com/jpanther/lynx/releases/tags/v1.0.0
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*! Lynx v1.2.0 | MIT License | https://github.com/jpanther/lynx */
|
/*! Lynx v1.2.1 | MIT License | https://github.com/jpanther/lynx */
|
||||||
|
|
||||||
/*! tailwindcss v3.1.3 | MIT License | https://tailwindcss.com */
|
/*! tailwindcss v3.1.8 | MIT License | https://tailwindcss.com */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
||||||
@ -355,13 +355,6 @@ input::-moz-placeholder, textarea::-moz-placeholder {
|
|||||||
/* 2 */
|
/* 2 */
|
||||||
}
|
}
|
||||||
|
|
||||||
input:-ms-input-placeholder, textarea:-ms-input-placeholder {
|
|
||||||
opacity: 1;
|
|
||||||
/* 1 */
|
|
||||||
color: #9ca3af;
|
|
||||||
/* 2 */
|
|
||||||
}
|
|
||||||
|
|
||||||
input::placeholder,
|
input::placeholder,
|
||||||
textarea::placeholder {
|
textarea::placeholder {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
@ -590,8 +583,22 @@ video {
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.prose :where(a strong):not(:where([class~="not-prose"] *)) {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(blockquote strong):not(:where([class~="not-prose"] *)) {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(thead th strong):not(:where([class~="not-prose"] *)) {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
.prose :where(ol):not(:where([class~="not-prose"] *)) {
|
.prose :where(ol):not(:where([class~="not-prose"] *)) {
|
||||||
list-style-type: decimal;
|
list-style-type: decimal;
|
||||||
|
margin-top: 1.25em;
|
||||||
|
margin-bottom: 1.25em;
|
||||||
padding-left: 1.625em;
|
padding-left: 1.625em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -633,6 +640,8 @@ video {
|
|||||||
|
|
||||||
.prose :where(ul):not(:where([class~="not-prose"] *)) {
|
.prose :where(ul):not(:where([class~="not-prose"] *)) {
|
||||||
list-style-type: disc;
|
list-style-type: disc;
|
||||||
|
margin-top: 1.25em;
|
||||||
|
margin-bottom: 1.25em;
|
||||||
padding-left: 1.625em;
|
padding-left: 1.625em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -683,6 +692,7 @@ video {
|
|||||||
|
|
||||||
.prose :where(h1 strong):not(:where([class~="not-prose"] *)) {
|
.prose :where(h1 strong):not(:where([class~="not-prose"] *)) {
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(h2):not(:where([class~="not-prose"] *)) {
|
.prose :where(h2):not(:where([class~="not-prose"] *)) {
|
||||||
@ -696,6 +706,7 @@ video {
|
|||||||
|
|
||||||
.prose :where(h2 strong):not(:where([class~="not-prose"] *)) {
|
.prose :where(h2 strong):not(:where([class~="not-prose"] *)) {
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(h3):not(:where([class~="not-prose"] *)) {
|
.prose :where(h3):not(:where([class~="not-prose"] *)) {
|
||||||
@ -709,6 +720,7 @@ video {
|
|||||||
|
|
||||||
.prose :where(h3 strong):not(:where([class~="not-prose"] *)) {
|
.prose :where(h3 strong):not(:where([class~="not-prose"] *)) {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(h4):not(:where([class~="not-prose"] *)) {
|
.prose :where(h4):not(:where([class~="not-prose"] *)) {
|
||||||
@ -721,6 +733,12 @@ video {
|
|||||||
|
|
||||||
.prose :where(h4 strong):not(:where([class~="not-prose"] *)) {
|
.prose :where(h4 strong):not(:where([class~="not-prose"] *)) {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(img):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 2em;
|
||||||
|
margin-bottom: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(figure > *):not(:where([class~="not-prose"] *)) {
|
.prose :where(figure > *):not(:where([class~="not-prose"] *)) {
|
||||||
@ -753,6 +771,32 @@ video {
|
|||||||
color: var(--tw-prose-code);
|
color: var(--tw-prose-code);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.prose :where(h1 code):not(:where([class~="not-prose"] *)) {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(h2 code):not(:where([class~="not-prose"] *)) {
|
||||||
|
color: inherit;
|
||||||
|
font-size: 0.875em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(h3 code):not(:where([class~="not-prose"] *)) {
|
||||||
|
color: inherit;
|
||||||
|
font-size: 0.9em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(h4 code):not(:where([class~="not-prose"] *)) {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(blockquote code):not(:where([class~="not-prose"] *)) {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(thead th code):not(:where([class~="not-prose"] *)) {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
.prose :where(pre):not(:where([class~="not-prose"] *)) {
|
.prose :where(pre):not(:where([class~="not-prose"] *)) {
|
||||||
color: var(--tw-prose-pre-code);
|
color: var(--tw-prose-pre-code);
|
||||||
background-color: var(--tw-prose-pre-bg);
|
background-color: var(--tw-prose-pre-bg);
|
||||||
@ -824,10 +868,15 @@ video {
|
|||||||
|
|
||||||
.prose :where(tbody td):not(:where([class~="not-prose"] *)) {
|
.prose :where(tbody td):not(:where([class~="not-prose"] *)) {
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
padding-top: 0.5714286em;
|
}
|
||||||
padding-right: 0.5714286em;
|
|
||||||
padding-bottom: 0.5714286em;
|
.prose :where(tfoot):not(:where([class~="not-prose"] *)) {
|
||||||
padding-left: 0.5714286em;
|
border-top-width: 1px;
|
||||||
|
border-top-color: var(--tw-prose-th-borders);
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(tfoot td):not(:where([class~="not-prose"] *)) {
|
||||||
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose {
|
.prose {
|
||||||
@ -872,11 +921,6 @@ video {
|
|||||||
margin-bottom: 1.25em;
|
margin-bottom: 1.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(img):not(:where([class~="not-prose"] *)) {
|
|
||||||
margin-top: 2em;
|
|
||||||
margin-bottom: 2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.prose :where(video):not(:where([class~="not-prose"] *)) {
|
.prose :where(video):not(:where([class~="not-prose"] *)) {
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
@ -887,14 +931,6 @@ video {
|
|||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(h2 code):not(:where([class~="not-prose"] *)) {
|
|
||||||
font-size: 0.875em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.prose :where(h3 code):not(:where([class~="not-prose"] *)) {
|
|
||||||
font-size: 0.9em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.prose :where(li):not(:where([class~="not-prose"] *)) {
|
.prose :where(li):not(:where([class~="not-prose"] *)) {
|
||||||
margin-top: 0.5em;
|
margin-top: 0.5em;
|
||||||
margin-bottom: 0.5em;
|
margin-bottom: 0.5em;
|
||||||
@ -908,24 +944,24 @@ video {
|
|||||||
padding-left: 0.375em;
|
padding-left: 0.375em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose > :where(ul > li p):not(:where([class~="not-prose"] *)) {
|
.prose :where(.prose > ul > li p):not(:where([class~="not-prose"] *)) {
|
||||||
margin-top: 0.75em;
|
margin-top: 0.75em;
|
||||||
margin-bottom: 0.75em;
|
margin-bottom: 0.75em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose > :where(ul > li > *:first-child):not(:where([class~="not-prose"] *)) {
|
.prose :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)) {
|
||||||
margin-top: 1.25em;
|
margin-top: 1.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose > :where(ul > li > *:last-child):not(:where([class~="not-prose"] *)) {
|
.prose :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)) {
|
||||||
margin-bottom: 1.25em;
|
margin-bottom: 1.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose > :where(ol > li > *:first-child):not(:where([class~="not-prose"] *)) {
|
.prose :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)) {
|
||||||
margin-top: 1.25em;
|
margin-top: 1.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose > :where(ol > li > *:last-child):not(:where([class~="not-prose"] *)) {
|
.prose :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)) {
|
||||||
margin-bottom: 1.25em;
|
margin-bottom: 1.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -958,19 +994,26 @@ video {
|
|||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(tbody td:first-child):not(:where([class~="not-prose"] *)) {
|
.prose :where(tbody td, tfoot td):not(:where([class~="not-prose"] *)) {
|
||||||
|
padding-top: 0.5714286em;
|
||||||
|
padding-right: 0.5714286em;
|
||||||
|
padding-bottom: 0.5714286em;
|
||||||
|
padding-left: 0.5714286em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"] *)) {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(tbody td:last-child):not(:where([class~="not-prose"] *)) {
|
.prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"] *)) {
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose > :where(:first-child):not(:where([class~="not-prose"] *)) {
|
.prose :where(.prose > :first-child):not(:where([class~="not-prose"] *)) {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose > :where(:last-child):not(:where([class~="not-prose"] *)) {
|
.prose :where(.prose > :last-child):not(:where([class~="not-prose"] *)) {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -989,6 +1032,151 @@ video {
|
|||||||
border-radius: 0.12rem;
|
border-radius: 0.12rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.prose-sm :where(.prose > ul > li p):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 0.5714286em;
|
||||||
|
margin-bottom: 0.5714286em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-sm :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.1428571em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-sm :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-bottom: 1.1428571em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-sm :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.1428571em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-sm :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-bottom: 1.1428571em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-sm :where(.prose > :first-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-sm :where(.prose > :last-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-base :where(.prose > ul > li p):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 0.75em;
|
||||||
|
margin-bottom: 0.75em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-base :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-base :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-bottom: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-base :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-base :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-bottom: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-base :where(.prose > :first-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-base :where(.prose > :last-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-lg :where(.prose > ul > li p):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 0.8888889em;
|
||||||
|
margin-bottom: 0.8888889em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-lg :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.3333333em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-lg :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-bottom: 1.3333333em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-lg :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.3333333em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-lg :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-bottom: 1.3333333em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-lg :where(.prose > :first-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-lg :where(.prose > :last-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-xl :where(.prose > ul > li p):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 0.8em;
|
||||||
|
margin-bottom: 0.8em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-xl :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-xl :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-bottom: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-xl :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-xl :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-bottom: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-xl :where(.prose > :first-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-xl :where(.prose > :last-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-2xl :where(.prose > ul > li p):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 0.8333333em;
|
||||||
|
margin-bottom: 0.8333333em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-2xl :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.3333333em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-2xl :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-bottom: 1.3333333em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-2xl :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.3333333em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-2xl :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-bottom: 1.3333333em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-2xl :where(.prose > :first-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prose-2xl :where(.prose > :last-child):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* Scale SVG icons to text size */
|
/* Scale SVG icons to text size */
|
||||||
|
|
||||||
.icon svg {
|
.icon svg {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*! Lynx v1.2.0 | MIT License | https://github.com/jpanther/lynx */
|
/*! Lynx v1.2.1 | MIT License | https://github.com/jpanther/lynx */
|
||||||
|
|
||||||
@tailwind base;
|
@tailwind base;
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en{{ end }}">
|
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en{{ end }}">
|
||||||
{{- partial "head.html" . -}}
|
{{- partial "head.html" . -}}
|
||||||
<body
|
<body
|
||||||
class="flex flex-col h-screen px-6 m-auto text-lg leading-7 bg-neutral text-neutral-900 sm:px-14 md:px-24 lg:px-32 dark:bg-neutral-800 dark:text-white max-w-7xl"
|
class="flex flex-col h-screen px-6 m-auto text-lg leading-7 bg-neutral max-w-7xl text-neutral-900 dark:bg-neutral-800 dark:text-white sm:px-14 md:px-24 lg:px-32"
|
||||||
>
|
>
|
||||||
<main class="flex-grow">{{- block "main" . }}{{- end }}</main>
|
<main class="flex-grow">{{- block "main" . }}{{- end }}</main>
|
||||||
{{- partial "footer.html" . -}}
|
{{- partial "footer.html" . -}}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<article class="flex flex-col items-center justify-center mt-10">
|
<article class="flex flex-col items-center justify-center mt-10">
|
||||||
<nav class="place-self-start">
|
<nav class="place-self-start">
|
||||||
<a href="{{ "/" | relURL }}" class="text-neutral-500">← {{ i18n "nav.home" }}</a>
|
<a href="{{ "" | relURL }}" class="text-neutral-500">← {{ i18n "nav.home" }}</a>
|
||||||
</nav>
|
</nav>
|
||||||
<header>
|
<header>
|
||||||
<h1 class="mt-2 mb-6 text-4xl font-extrabold text-center text-neutral-800 dark:text-white">
|
<h1 class="mt-2 mb-6 text-4xl font-extrabold text-center text-neutral-800 dark:text-white">
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
{{ $src = (.Fill "288x288").RelPermalink }}
|
{{ $src = (.Fill "288x288").RelPermalink }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<img
|
<img
|
||||||
class="mb-2 rounded-full w-36 h-36"
|
class="mb-2 rounded-full h-36 w-36"
|
||||||
width="144"
|
width="144"
|
||||||
height="144"
|
height="144"
|
||||||
alt="{{ $.Site.Author.name | default "Author" }}"
|
alt="{{ $.Site.Author.name | default "Author" }}"
|
||||||
@ -49,7 +49,7 @@
|
|||||||
{{ with $data.title }}{{ $title = . }}{{ end }}
|
{{ with $data.title }}{{ $title = . }}{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<a
|
<a
|
||||||
class="link link-{{ $type }} sm:px-24 min-w-full py-2 mb-3 text-lg rounded"
|
class="link link-{{ $type }} mb-3 min-w-full rounded py-2 text-lg sm:px-24"
|
||||||
href="{{ $href }}"
|
href="{{ $href }}"
|
||||||
target="{{ $target }}"
|
target="{{ $target }}"
|
||||||
{{ with $title }}title="{{ . }}"{{ end }}
|
{{ with $title }}title="{{ . }}"{{ end }}
|
||||||
|
90
package-lock.json
generated
90
package-lock.json
generated
@ -1,18 +1,19 @@
|
|||||||
{
|
{
|
||||||
"name": "hugo-lynx-theme",
|
"name": "hugo-lynx-theme",
|
||||||
"version": "1.1.0",
|
"version": "1.2.0",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "hugo-lynx-theme",
|
"name": "hugo-lynx-theme",
|
||||||
"version": "1.1.0",
|
"version": "1.2.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/typography": "^0.5.2",
|
"@tailwindcss/typography": "^0.5.4",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"prettier-plugin-go-template": "^0.0.13",
|
"prettier-plugin-go-template": "^0.0.13",
|
||||||
"tailwindcss": "^3.1.3"
|
"prettier-plugin-tailwindcss": "^0.1.13",
|
||||||
|
"tailwindcss": "^3.1.8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@nodelib/fs.scandir": {
|
"node_modules/@nodelib/fs.scandir": {
|
||||||
@ -51,9 +52,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tailwindcss/typography": {
|
"node_modules/@tailwindcss/typography": {
|
||||||
"version": "0.5.2",
|
"version": "0.5.4",
|
||||||
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.2.tgz",
|
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.4.tgz",
|
||||||
"integrity": "sha512-coq8DBABRPFcVhVIk6IbKyyHUt7YTEC/C992tatFB+yEx5WGBQrCgsSFjxHUr8AWXphWckadVJbominEduYBqw==",
|
"integrity": "sha512-QEdg40EmGvE7kKoDei8zr5sf4D1pIayHj4R31bH3lX8x2BtTiR+jNejYPOkhbmy3DXgkMF9jC8xqNiGFAuL9Sg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lodash.castarray": "^4.4.0",
|
"lodash.castarray": "^4.4.0",
|
||||||
@ -61,7 +62,7 @@
|
|||||||
"lodash.merge": "^4.6.2"
|
"lodash.merge": "^4.6.2"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"tailwindcss": ">=3.0.0 || >= 3.0.0-alpha.1 || insiders"
|
"tailwindcss": ">=3.0.0 || insiders"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/acorn": {
|
"node_modules/acorn": {
|
||||||
@ -385,9 +386,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/lilconfig": {
|
"node_modules/lilconfig": {
|
||||||
"version": "2.0.5",
|
"version": "2.0.6",
|
||||||
"resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.5.tgz",
|
"resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.6.tgz",
|
||||||
"integrity": "sha512-xaYmXZtTHPAw5m+xLN8ab9C+3a8YmV3asNSPOATITbtwrfbwaLJj8h66H1WMIpALCkqsIzK3h7oQ+PdX+LQ9Eg==",
|
"integrity": "sha512-9JROoBW7pobfsx+Sq2JsASvCo6Pfo6WWoUW79HuB1BCoBXD4PLWJPqDF6fNj67pqBYTbAHkE57M1kS/+L1neOg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10"
|
"node": ">=10"
|
||||||
@ -659,6 +660,18 @@
|
|||||||
"prettier": "^2.0.0"
|
"prettier": "^2.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/prettier-plugin-tailwindcss": {
|
||||||
|
"version": "0.1.13",
|
||||||
|
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.1.13.tgz",
|
||||||
|
"integrity": "sha512-/EKQURUrxLu66CMUg4+1LwGdxnz8of7IDvrSLqEtDqhLH61SAlNNUSr90UTvZaemujgl3OH/VHg+fyGltrNixw==",
|
||||||
|
"dev": true,
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12.17.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"prettier": ">=2.2.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/queue-microtask": {
|
"node_modules/queue-microtask": {
|
||||||
"version": "1.2.3",
|
"version": "1.2.3",
|
||||||
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
|
||||||
@ -713,12 +726,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/resolve": {
|
"node_modules/resolve": {
|
||||||
"version": "1.22.0",
|
"version": "1.22.1",
|
||||||
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz",
|
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz",
|
||||||
"integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==",
|
"integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"is-core-module": "^2.8.1",
|
"is-core-module": "^2.9.0",
|
||||||
"path-parse": "^1.0.7",
|
"path-parse": "^1.0.7",
|
||||||
"supports-preserve-symlinks-flag": "^1.0.0"
|
"supports-preserve-symlinks-flag": "^1.0.0"
|
||||||
},
|
},
|
||||||
@ -784,9 +797,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/tailwindcss": {
|
"node_modules/tailwindcss": {
|
||||||
"version": "3.1.3",
|
"version": "3.1.8",
|
||||||
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.1.8.tgz",
|
||||||
"integrity": "sha512-PRJNYdSIthrb8hjmAyymEyEN8Yo61TMXpzyFUpxULeeyRn3Y3gpvuw6FlRTKrJvK7thSGKRnhT36VovVx4WeMA==",
|
"integrity": "sha512-YSneUCZSFDYMwk+TGq8qYFdCA3yfBRdBlS7txSq0LUmzyeqRe3a8fBQzbz9M3WS/iFT4BNf/nmw9mEzrnSaC0g==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"arg": "^5.0.2",
|
"arg": "^5.0.2",
|
||||||
@ -798,7 +811,7 @@
|
|||||||
"fast-glob": "^3.2.11",
|
"fast-glob": "^3.2.11",
|
||||||
"glob-parent": "^6.0.2",
|
"glob-parent": "^6.0.2",
|
||||||
"is-glob": "^4.0.3",
|
"is-glob": "^4.0.3",
|
||||||
"lilconfig": "^2.0.5",
|
"lilconfig": "^2.0.6",
|
||||||
"normalize-path": "^3.0.0",
|
"normalize-path": "^3.0.0",
|
||||||
"object-hash": "^3.0.0",
|
"object-hash": "^3.0.0",
|
||||||
"picocolors": "^1.0.0",
|
"picocolors": "^1.0.0",
|
||||||
@ -810,7 +823,7 @@
|
|||||||
"postcss-selector-parser": "^6.0.10",
|
"postcss-selector-parser": "^6.0.10",
|
||||||
"postcss-value-parser": "^4.2.0",
|
"postcss-value-parser": "^4.2.0",
|
||||||
"quick-lru": "^5.1.1",
|
"quick-lru": "^5.1.1",
|
||||||
"resolve": "^1.22.0"
|
"resolve": "^1.22.1"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"tailwind": "lib/cli.js",
|
"tailwind": "lib/cli.js",
|
||||||
@ -897,9 +910,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@tailwindcss/typography": {
|
"@tailwindcss/typography": {
|
||||||
"version": "0.5.2",
|
"version": "0.5.4",
|
||||||
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.2.tgz",
|
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.4.tgz",
|
||||||
"integrity": "sha512-coq8DBABRPFcVhVIk6IbKyyHUt7YTEC/C992tatFB+yEx5WGBQrCgsSFjxHUr8AWXphWckadVJbominEduYBqw==",
|
"integrity": "sha512-QEdg40EmGvE7kKoDei8zr5sf4D1pIayHj4R31bH3lX8x2BtTiR+jNejYPOkhbmy3DXgkMF9jC8xqNiGFAuL9Sg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"lodash.castarray": "^4.4.0",
|
"lodash.castarray": "^4.4.0",
|
||||||
@ -1148,9 +1161,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"lilconfig": {
|
"lilconfig": {
|
||||||
"version": "2.0.5",
|
"version": "2.0.6",
|
||||||
"resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.5.tgz",
|
"resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.6.tgz",
|
||||||
"integrity": "sha512-xaYmXZtTHPAw5m+xLN8ab9C+3a8YmV3asNSPOATITbtwrfbwaLJj8h66H1WMIpALCkqsIzK3h7oQ+PdX+LQ9Eg==",
|
"integrity": "sha512-9JROoBW7pobfsx+Sq2JsASvCo6Pfo6WWoUW79HuB1BCoBXD4PLWJPqDF6fNj67pqBYTbAHkE57M1kS/+L1neOg==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"lodash.castarray": {
|
"lodash.castarray": {
|
||||||
@ -1316,6 +1329,13 @@
|
|||||||
"ulid": "^2.3.0"
|
"ulid": "^2.3.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"prettier-plugin-tailwindcss": {
|
||||||
|
"version": "0.1.13",
|
||||||
|
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.1.13.tgz",
|
||||||
|
"integrity": "sha512-/EKQURUrxLu66CMUg4+1LwGdxnz8of7IDvrSLqEtDqhLH61SAlNNUSr90UTvZaemujgl3OH/VHg+fyGltrNixw==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {}
|
||||||
|
},
|
||||||
"queue-microtask": {
|
"queue-microtask": {
|
||||||
"version": "1.2.3",
|
"version": "1.2.3",
|
||||||
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
|
||||||
@ -1347,12 +1367,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"resolve": {
|
"resolve": {
|
||||||
"version": "1.22.0",
|
"version": "1.22.1",
|
||||||
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz",
|
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz",
|
||||||
"integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==",
|
"integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"is-core-module": "^2.8.1",
|
"is-core-module": "^2.9.0",
|
||||||
"path-parse": "^1.0.7",
|
"path-parse": "^1.0.7",
|
||||||
"supports-preserve-symlinks-flag": "^1.0.0"
|
"supports-preserve-symlinks-flag": "^1.0.0"
|
||||||
}
|
}
|
||||||
@ -1385,9 +1405,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"tailwindcss": {
|
"tailwindcss": {
|
||||||
"version": "3.1.3",
|
"version": "3.1.8",
|
||||||
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.1.8.tgz",
|
||||||
"integrity": "sha512-PRJNYdSIthrb8hjmAyymEyEN8Yo61TMXpzyFUpxULeeyRn3Y3gpvuw6FlRTKrJvK7thSGKRnhT36VovVx4WeMA==",
|
"integrity": "sha512-YSneUCZSFDYMwk+TGq8qYFdCA3yfBRdBlS7txSq0LUmzyeqRe3a8fBQzbz9M3WS/iFT4BNf/nmw9mEzrnSaC0g==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"arg": "^5.0.2",
|
"arg": "^5.0.2",
|
||||||
@ -1399,7 +1419,7 @@
|
|||||||
"fast-glob": "^3.2.11",
|
"fast-glob": "^3.2.11",
|
||||||
"glob-parent": "^6.0.2",
|
"glob-parent": "^6.0.2",
|
||||||
"is-glob": "^4.0.3",
|
"is-glob": "^4.0.3",
|
||||||
"lilconfig": "^2.0.5",
|
"lilconfig": "^2.0.6",
|
||||||
"normalize-path": "^3.0.0",
|
"normalize-path": "^3.0.0",
|
||||||
"object-hash": "^3.0.0",
|
"object-hash": "^3.0.0",
|
||||||
"picocolors": "^1.0.0",
|
"picocolors": "^1.0.0",
|
||||||
@ -1411,7 +1431,7 @@
|
|||||||
"postcss-selector-parser": "^6.0.10",
|
"postcss-selector-parser": "^6.0.10",
|
||||||
"postcss-value-parser": "^4.2.0",
|
"postcss-value-parser": "^4.2.0",
|
||||||
"quick-lru": "^5.1.1",
|
"quick-lru": "^5.1.1",
|
||||||
"resolve": "^1.22.0"
|
"resolve": "^1.22.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"to-regex-range": {
|
"to-regex-range": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hugo-lynx-theme",
|
"name": "hugo-lynx-theme",
|
||||||
"version": "1.2.0",
|
"version": "1.2.1",
|
||||||
"description": "Lynx theme for Hugo",
|
"description": "Lynx theme for Hugo",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "NODE_ENV=development ./node_modules/tailwindcss/lib/cli.js -i ./assets/css/main.css -o ./assets/css/compiled/main.css --jit -w",
|
"dev": "NODE_ENV=development ./node_modules/tailwindcss/lib/cli.js -i ./assets/css/main.css -o ./assets/css/compiled/main.css --jit -w",
|
||||||
@ -25,9 +25,10 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/jpanther/lynx#readme",
|
"homepage": "https://github.com/jpanther/lynx#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/typography": "^0.5.2",
|
"@tailwindcss/typography": "^0.5.4",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"prettier-plugin-go-template": "^0.0.13",
|
"prettier-plugin-go-template": "^0.0.13",
|
||||||
"tailwindcss": "^3.1.3"
|
"prettier-plugin-tailwindcss": "^0.1.13",
|
||||||
|
"tailwindcss": "^3.1.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user