Compare commits
93 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d3527e6a96 | ||
|
|
4c30716cec | ||
|
|
0922877fc6 | ||
|
|
87874b3954 | ||
|
|
e258beb522 | ||
|
|
25fb355ff7 | ||
|
|
8653a4d170 | ||
|
|
e2a46a025e | ||
|
|
a5317a5c27 | ||
|
|
06ee62646a | ||
|
|
323e97502c | ||
|
|
d019329eb1 | ||
|
|
6e372a80b3 | ||
|
|
32d8911741 | ||
|
|
50a23d089d | ||
|
|
e224abe574 | ||
|
|
9bd19b9f6a | ||
|
|
1ae34754c0 | ||
|
|
cd3a9fc9c8 | ||
|
|
95908d3c89 | ||
|
|
133072abdb | ||
|
|
fa7fe1cdae | ||
|
|
99fca1e88c | ||
|
|
324e42d10b | ||
|
|
bb3c3185a0 | ||
|
|
3db16563b0 | ||
|
|
b1fbb2bd12 | ||
|
|
7ed4b91583 | ||
|
|
742480b3b7 | ||
|
|
dbebe3275d | ||
|
|
ba4dda2696 | ||
|
|
b37e426285 | ||
|
|
49095fc8d2 | ||
|
|
c303a8313b | ||
|
|
6c7f2d4aa8 | ||
|
|
14ff75f663 | ||
|
|
91aaffc9ea | ||
|
|
4554c562dc | ||
|
|
b7f35dd503 | ||
|
|
8feb868688 | ||
|
|
7ecfb843bc | ||
|
|
a72972fbf7 | ||
|
|
a14eedfe1f | ||
|
|
5bf72e5f14 | ||
|
|
5aa33a10e9 | ||
|
|
a72e7cbd51 | ||
|
|
4bd8643269 | ||
|
|
63323bdd31 | ||
|
|
9b4ae21c90 | ||
|
|
3e6bd4b125 | ||
|
|
6c3d1b0b9d | ||
|
|
6b9769b7b7 | ||
|
|
70842ef60c | ||
|
|
875c8451a5 | ||
|
|
3bddff301c | ||
|
|
03f7920c60 | ||
|
|
720524f2e9 | ||
|
|
0c38b7ba96 | ||
|
|
61778ee5d6 | ||
|
|
8112f84e46 | ||
|
|
0180ec02a6 | ||
|
|
cd9d762338 | ||
|
|
84ea1005bb | ||
|
|
d6d6a744d4 | ||
|
|
3a7c4de9f4 | ||
|
|
972c2cde4c | ||
|
|
0fe70db7b3 | ||
|
|
287c33fc9e | ||
|
|
8644f2aa90 | ||
|
|
af4c151b3d | ||
|
|
08d94c6ca1 | ||
|
|
d9f6d2777e | ||
|
|
0f4c8c2d7d | ||
|
|
9b87348dd2 | ||
|
|
8358095b5b | ||
|
|
4f7f693bd2 | ||
|
|
24552a7df2 | ||
|
|
6f18c1fd49 | ||
|
|
c3f89bd75c | ||
|
|
71765a44fe | ||
|
|
dcba2153b1 | ||
|
|
6642b0c150 | ||
|
|
158dc18e28 | ||
|
|
7fcbf963db | ||
|
|
355c1e4745 | ||
|
|
f262d4e77e | ||
|
|
8e0b79c4aa | ||
|
|
50a821adce | ||
|
|
d579ba0a0c | ||
|
|
01d6147607 | ||
|
|
8402ff0093 | ||
|
|
69f5b16a34 | ||
|
|
7d6781a739 |
25
.github/workflows/build-theme.yml
vendored
Normal file
25
.github/workflows/build-theme.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
name: Build Theme
|
||||
|
||||
on: [pull_request_target]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.actor == 'dependabot[bot]' }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: "${{ github.head_ref }}"
|
||||
- name: Install dependencies and Build Theme
|
||||
uses: actions/setup-node@v3
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
- name: Commit CSS changes
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
branch: "${{ github.head_ref }}"
|
||||
push_options: "--dry-run"
|
||||
file_pattern: "assets/css/compiled/main.css"
|
||||
commit_message: "💄 Rebuild CSS"
|
||||
- run: git push
|
||||
2
.github/workflows/stale.yml
vendored
2
.github/workflows/stale.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions/stale@v5
|
||||
- uses: actions/stale@v8
|
||||
with:
|
||||
days-before-stale: 30
|
||||
days-before-close: 14
|
||||
|
||||
52
CHANGELOG.md
52
CHANGELOG.md
@@ -7,6 +7,51 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [1.3.0] - 2023-06-04
|
||||
|
||||
### Added
|
||||
|
||||
- Support for Stack Exchange and Stack Overflow ([#52](https://github.com/jpanther/lynx/pull/52))
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated GitLab icon
|
||||
- Upgrade to Tailwind v3.3.2 ([#74](https://github.com/jpanther/lynx/pull/74))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Error building site when using Hugo v0.112.0 or later ([#73](https://github.com/jpanther/lynx/issues/73))
|
||||
|
||||
## [1.2.4] - 2023-01-18
|
||||
|
||||
### Changed
|
||||
|
||||
- Upgrade to Typography v0.5.9 ([#41](https://github.com/jpanther/lynx/pull/41))
|
||||
|
||||
## [1.2.3] - 2023-01-09
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated Mastodon link colour in line with branding changes ([#36](https://github.com/jpanther/lynx/pull/36))
|
||||
|
||||
## [1.2.2] - 2022-11-22
|
||||
|
||||
### Changed
|
||||
|
||||
- Upgrade to Tailwind v3.2.4 ([#30](https://github.com/jpanther/lynx/pull/30))
|
||||
- Upgrade to Typography v0.5.8 ([#23](https://github.com/jpanther/lynx/pull/23), [#27](https://github.com/jpanther/lynx/pull/27))
|
||||
|
||||
## [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
|
||||
|
||||
### Added
|
||||
@@ -48,7 +93,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Fathom Analytics and Google Analytics support
|
||||
- Favicons support
|
||||
|
||||
[unreleased]: https://github.com/jpanther/lynx/compare/v1.2.0...HEAD
|
||||
[Unreleased]: https://github.com/jpanther/lynx/compare/v1.3.0...HEAD
|
||||
[1.3.0]: https://github.com/jpanther/lynx/compare/v1.2.4...v1.3.0
|
||||
[1.2.4]: https://github.com/jpanther/lynx/compare/v1.2.3...v1.2.4
|
||||
[1.2.3]: https://github.com/jpanther/lynx/compare/v1.2.2...v1.2.3
|
||||
[1.2.2]: https://github.com/jpanther/lynx/compare/v1.2.1...v1.2.2
|
||||
[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.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,6 +1,6 @@
|
||||
/*! Lynx v1.2.0 | MIT License | https://github.com/jpanther/lynx */
|
||||
/*! Lynx v1.3.0 | MIT License | https://github.com/jpanther/lynx */
|
||||
|
||||
/*! tailwindcss v3.1.3 | MIT License | https://tailwindcss.com */
|
||||
/*! tailwindcss v3.2.4 | MIT License | https://tailwindcss.com */
|
||||
|
||||
/*
|
||||
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
||||
@@ -30,6 +30,7 @@
|
||||
2. Prevent adjustments of font size after orientation changes in iOS.
|
||||
3. Use a more readable tab size.
|
||||
4. Use the user's configured `sans` font-family by default.
|
||||
5. Use the user's configured `sans` font-feature-settings by default.
|
||||
*/
|
||||
|
||||
html {
|
||||
@@ -44,6 +45,8 @@ html {
|
||||
/* 3 */
|
||||
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
/* 4 */
|
||||
font-feature-settings: normal;
|
||||
/* 5 */
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -355,13 +358,6 @@ input::-moz-placeholder, textarea::-moz-placeholder {
|
||||
/* 2 */
|
||||
}
|
||||
|
||||
input:-ms-input-placeholder, textarea:-ms-input-placeholder {
|
||||
opacity: 1;
|
||||
/* 1 */
|
||||
color: #9ca3af;
|
||||
/* 2 */
|
||||
}
|
||||
|
||||
input::placeholder,
|
||||
textarea::placeholder {
|
||||
opacity: 1;
|
||||
@@ -417,54 +413,13 @@ video {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
*, ::before, ::after {
|
||||
--tw-border-spacing-x: 0;
|
||||
--tw-border-spacing-y: 0;
|
||||
--tw-translate-x: 0;
|
||||
--tw-translate-y: 0;
|
||||
--tw-rotate: 0;
|
||||
--tw-skew-x: 0;
|
||||
--tw-skew-y: 0;
|
||||
--tw-scale-x: 1;
|
||||
--tw-scale-y: 1;
|
||||
--tw-pan-x: ;
|
||||
--tw-pan-y: ;
|
||||
--tw-pinch-zoom: ;
|
||||
--tw-scroll-snap-strictness: proximity;
|
||||
--tw-ordinal: ;
|
||||
--tw-slashed-zero: ;
|
||||
--tw-numeric-figure: ;
|
||||
--tw-numeric-spacing: ;
|
||||
--tw-numeric-fraction: ;
|
||||
--tw-ring-inset: ;
|
||||
--tw-ring-offset-width: 0px;
|
||||
--tw-ring-offset-color: #fff;
|
||||
--tw-ring-color: rgb(59 130 246 / 0.5);
|
||||
--tw-ring-offset-shadow: 0 0 #0000;
|
||||
--tw-ring-shadow: 0 0 #0000;
|
||||
--tw-shadow: 0 0 #0000;
|
||||
--tw-shadow-colored: 0 0 #0000;
|
||||
--tw-blur: ;
|
||||
--tw-brightness: ;
|
||||
--tw-contrast: ;
|
||||
--tw-grayscale: ;
|
||||
--tw-hue-rotate: ;
|
||||
--tw-invert: ;
|
||||
--tw-saturate: ;
|
||||
--tw-sepia: ;
|
||||
--tw-drop-shadow: ;
|
||||
--tw-backdrop-blur: ;
|
||||
--tw-backdrop-brightness: ;
|
||||
--tw-backdrop-contrast: ;
|
||||
--tw-backdrop-grayscale: ;
|
||||
--tw-backdrop-hue-rotate: ;
|
||||
--tw-backdrop-invert: ;
|
||||
--tw-backdrop-opacity: ;
|
||||
--tw-backdrop-saturate: ;
|
||||
--tw-backdrop-sepia: ;
|
||||
/* Make elements with the HTML hidden attribute stay hidden by default */
|
||||
|
||||
[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
::-webkit-backdrop {
|
||||
*, ::before, ::after {
|
||||
--tw-border-spacing-x: 0;
|
||||
--tw-border-spacing-y: 0;
|
||||
--tw-translate-x: 0;
|
||||
@@ -563,6 +518,11 @@ video {
|
||||
max-width: 65ch;
|
||||
}
|
||||
|
||||
.prose :where(p):not(:where([class~="not-prose"] *)) {
|
||||
margin-top: 1.25em;
|
||||
margin-bottom: 1.25em;
|
||||
}
|
||||
|
||||
.prose :where([class~="lead"]):not(:where([class~="not-prose"] *)) {
|
||||
color: var(--tw-prose-lead);
|
||||
font-size: 1.25em;
|
||||
@@ -575,8 +535,7 @@ video {
|
||||
color: var(--tw-prose-links);
|
||||
text-decoration: underline;
|
||||
font-weight: 500;
|
||||
-webkit-text-decoration-color: #d8b4fe;
|
||||
text-decoration-color: #d8b4fe;
|
||||
text-decoration-color: #d8b4fe;
|
||||
}
|
||||
|
||||
.prose :where(a):not(:where([class~="not-prose"] *)):hover {
|
||||
@@ -590,8 +549,22 @@ video {
|
||||
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"] *)) {
|
||||
list-style-type: decimal;
|
||||
margin-top: 1.25em;
|
||||
margin-bottom: 1.25em;
|
||||
padding-left: 1.625em;
|
||||
}
|
||||
|
||||
@@ -633,6 +606,8 @@ video {
|
||||
|
||||
.prose :where(ul):not(:where([class~="not-prose"] *)) {
|
||||
list-style-type: disc;
|
||||
margin-top: 1.25em;
|
||||
margin-bottom: 1.25em;
|
||||
padding-left: 1.625em;
|
||||
}
|
||||
|
||||
@@ -683,6 +658,7 @@ video {
|
||||
|
||||
.prose :where(h1 strong):not(:where([class~="not-prose"] *)) {
|
||||
font-weight: 900;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.prose :where(h2):not(:where([class~="not-prose"] *)) {
|
||||
@@ -696,6 +672,7 @@ video {
|
||||
|
||||
.prose :where(h2 strong):not(:where([class~="not-prose"] *)) {
|
||||
font-weight: 800;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.prose :where(h3):not(:where([class~="not-prose"] *)) {
|
||||
@@ -709,6 +686,7 @@ video {
|
||||
|
||||
.prose :where(h3 strong):not(:where([class~="not-prose"] *)) {
|
||||
font-weight: 700;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.prose :where(h4):not(:where([class~="not-prose"] *)) {
|
||||
@@ -721,6 +699,12 @@ video {
|
||||
|
||||
.prose :where(h4 strong):not(:where([class~="not-prose"] *)) {
|
||||
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"] *)) {
|
||||
@@ -753,6 +737,32 @@ video {
|
||||
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"] *)) {
|
||||
color: var(--tw-prose-pre-code);
|
||||
background-color: var(--tw-prose-pre-bg);
|
||||
@@ -824,10 +834,15 @@ video {
|
||||
|
||||
.prose :where(tbody td):not(:where([class~="not-prose"] *)) {
|
||||
vertical-align: baseline;
|
||||
padding-top: 0.5714286em;
|
||||
padding-right: 0.5714286em;
|
||||
padding-bottom: 0.5714286em;
|
||||
padding-left: 0.5714286em;
|
||||
}
|
||||
|
||||
.prose :where(tfoot):not(:where([class~="not-prose"] *)) {
|
||||
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 {
|
||||
@@ -867,16 +882,6 @@ video {
|
||||
line-height: 1.75;
|
||||
}
|
||||
|
||||
.prose :where(p):not(:where([class~="not-prose"] *)) {
|
||||
margin-top: 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"] *)) {
|
||||
margin-top: 2em;
|
||||
margin-bottom: 2em;
|
||||
@@ -887,14 +892,6 @@ video {
|
||||
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"] *)) {
|
||||
margin-top: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
@@ -908,24 +905,24 @@ video {
|
||||
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-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;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
@@ -958,19 +955,26 @@ video {
|
||||
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;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.prose > :where(:first-child):not(:where([class~="not-prose"] *)) {
|
||||
.prose :where(.prose > :first-child):not(:where([class~="not-prose"] *)) {
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -1084,7 +1088,7 @@ video {
|
||||
}
|
||||
|
||||
.link-mastodon {
|
||||
background-color: #338cd4;
|
||||
background-color: #6364ff;
|
||||
}
|
||||
|
||||
.link-medium {
|
||||
@@ -1163,6 +1167,14 @@ video {
|
||||
background-color: #ff0000;
|
||||
}
|
||||
|
||||
.link-stack-exchange {
|
||||
background-color: #0095ff;
|
||||
}
|
||||
|
||||
.link-stack-overflow {
|
||||
background-color: #f48024;
|
||||
}
|
||||
|
||||
/* -- Chroma Highlight -- */
|
||||
|
||||
/* Background */
|
||||
@@ -1378,16 +1390,19 @@ video {
|
||||
}
|
||||
|
||||
.hover\:underline:hover {
|
||||
-webkit-text-decoration-line: underline;
|
||||
text-decoration-line: underline;
|
||||
text-decoration-line: underline;
|
||||
}
|
||||
|
||||
.hover\:decoration-primary-400:hover {
|
||||
-webkit-text-decoration-color: #c084fc;
|
||||
text-decoration-color: #c084fc;
|
||||
text-decoration-color: #c084fc;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.dark\:bg-neutral-800 {
|
||||
--tw-bg-opacity: 1;
|
||||
background-color: rgb(31 41 55 / var(--tw-bg-opacity));
|
||||
}
|
||||
|
||||
.dark\:prose-invert {
|
||||
--tw-prose-body: var(--tw-prose-invert-body);
|
||||
--tw-prose-headings: var(--tw-prose-invert-headings);
|
||||
@@ -1408,8 +1423,7 @@ video {
|
||||
}
|
||||
|
||||
.dark\:prose-invert :where(a):not(:where([class~="not-prose"] *)) {
|
||||
-webkit-text-decoration-color: #4b5563;
|
||||
text-decoration-color: #4b5563;
|
||||
text-decoration-color: #4b5563;
|
||||
}
|
||||
|
||||
.dark\:prose-invert :where(kbd):not(:where([class~="not-prose"] *)) {
|
||||
@@ -1421,11 +1435,6 @@ video {
|
||||
background-color: #c084fc;
|
||||
}
|
||||
|
||||
.dark\:bg-neutral-800 {
|
||||
--tw-bg-opacity: 1;
|
||||
background-color: rgb(31 41 55 / var(--tw-bg-opacity));
|
||||
}
|
||||
|
||||
.dark\:text-white {
|
||||
--tw-text-opacity: 1;
|
||||
color: rgb(255 255 255 / var(--tw-text-opacity));
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/*! Lynx v1.2.0 | MIT License | https://github.com/jpanther/lynx */
|
||||
/*! Lynx v1.3.0 | MIT License | https://github.com/jpanther/lynx */
|
||||
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
/* Links */
|
||||
.link {
|
||||
@apply text-white bg-primary-700 hover:brightness-90;
|
||||
@apply bg-primary-700 text-white hover:brightness-90;
|
||||
}
|
||||
|
||||
.link-amazon {
|
||||
@@ -69,7 +69,7 @@
|
||||
background-color: #0077b5;
|
||||
}
|
||||
.link-mastodon {
|
||||
background-color: #338cd4;
|
||||
background-color: #6364ff;
|
||||
}
|
||||
.link-medium {
|
||||
background-color: #00ab6c;
|
||||
@@ -128,11 +128,17 @@
|
||||
.link-youtube {
|
||||
background-color: #ff0000;
|
||||
}
|
||||
.link-stack-exchange {
|
||||
background-color: #0095ff;
|
||||
}
|
||||
.link-stack-overflow {
|
||||
background-color: #f48024;
|
||||
}
|
||||
|
||||
/* -- Chroma Highlight -- */
|
||||
/* Background */
|
||||
.prose .chroma {
|
||||
@apply rounded-md text-neutral-700 bg-neutral-50 dark:bg-neutral-700 dark:text-neutral-200;
|
||||
@apply rounded-md bg-neutral-50 text-neutral-700 dark:bg-neutral-700 dark:text-neutral-200;
|
||||
}
|
||||
|
||||
@tailwind utilities;
|
||||
|
||||
@@ -1 +1 @@
|
||||
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="gitlab" class="svg-inline--fa fa-gitlab fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M105.2 24.9c-3.1-8.9-15.7-8.9-18.9 0L29.8 199.7h132c-.1 0-56.6-174.8-56.6-174.8zM.9 287.7c-2.6 8 .3 16.9 7.1 22l247.9 184-226.2-294zm160.8-88l94.3 294 94.3-294zm349.4 88l-28.8-88-226.3 294 247.9-184c6.9-5.1 9.7-14 7.2-22zM425.7 24.9c-3.1-8.9-15.7-8.9-18.9 0l-56.6 174.8h132z"></path></svg>
|
||||
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="gitlab" class="svg-inline--fa fa-gitlab fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M503.5 204.6L502.8 202.8L433.1 21.02C431.7 17.45 429.2 14.43 425.9 12.38C423.5 10.83 420.8 9.865 417.9 9.57C415 9.275 412.2 9.653 409.5 10.68C406.8 11.7 404.4 13.34 402.4 15.46C400.5 17.58 399.1 20.13 398.3 22.9L351.3 166.9H160.8L113.7 22.9C112.9 20.13 111.5 17.59 109.6 15.47C107.6 13.35 105.2 11.72 102.5 10.7C99.86 9.675 96.98 9.295 94.12 9.587C91.26 9.878 88.51 10.83 86.08 12.38C82.84 14.43 80.33 17.45 78.92 21.02L9.267 202.8L8.543 204.6C-1.484 230.8-2.72 259.6 5.023 286.6C12.77 313.5 29.07 337.3 51.47 354.2L51.74 354.4L52.33 354.8L158.3 434.3L210.9 474L242.9 498.2C246.6 500.1 251.2 502.5 255.9 502.5C260.6 502.5 265.2 500.1 268.9 498.2L300.9 474L353.5 434.3L460.2 354.4L460.5 354.1C482.9 337.2 499.2 313.5 506.1 286.6C514.7 259.6 513.5 230.8 503.5 204.6z"></path></svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 506 B After Width: | Height: | Size: 997 B |
1
assets/icons/stack-exchange.svg
Normal file
1
assets/icons/stack-exchange.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="stack-exchange" class="svg-inline--fa fa-stack-exchange fa-w-20" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M17.7 332.3h412.7v22c0 37.7-29.3 68-65.3 68h-19L259.3 512v-89.7H83c-36 0-65.3-30.3-65.3-68v-22zm0-23.6h412.7v-85H17.7v85zm0-109.4h412.7v-85H17.7v85zM365 0H83C47 0 17.7 30.3 17.7 67.7V90h412.7V67.7C430.3 30.3 401 0 365 0z"/></svg>
|
||||
|
After Width: | Height: | Size: 463 B |
1
assets/icons/stack-overflow.svg
Normal file
1
assets/icons/stack-overflow.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="stack-overflow" class="svg-inline--fa fa-stack-overflow fa-w-20" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M290.7 311L95 269.7 86.8 309l195.7 41zm51-87L188.2 95.7l-25.5 30.8 153.5 128.3zm-31.2 39.7L129.2 179l-16.7 36.5L293.7 300zM262 32l-32 24 119.3 160.3 32-24zm20.5 328h-200v39.7h200zm39.7 80H42.7V320h-40v160h359.5V320h-40z"/></svg>
|
||||
|
After Width: | Height: | Size: 462 B |
@@ -42,6 +42,8 @@ disableKinds = ["taxonomy", "term"]
|
||||
# { slack = "https://workspace.url/team/userid" },
|
||||
# { snapchat = "https://snapchat.com/add/username" },
|
||||
# { soundcloud = "https://soundcloud.com/username" },
|
||||
# { stack-exchange = "https://stackexchange.com/users/userid/username" },
|
||||
# { stack-overflow = "https://stackoverflow.com/users/userid/username" },
|
||||
# { steam = "https://steamcommunity.com/profiles/userid" },
|
||||
# { telegram = "https://t.me/username" },
|
||||
# { tiktok = "https://tiktok.com/@username" },
|
||||
|
||||
@@ -35,6 +35,8 @@ These are all the built-in link styles available in Lynx. Don't forget that you
|
||||
{{< link slack >}}
|
||||
{{< link snapchat >}}
|
||||
{{< link soundcloud >}}
|
||||
{{< link stack-exchange >}}
|
||||
{{< link stack-overflow >}}
|
||||
{{< link steam >}}
|
||||
{{< link telegram >}}
|
||||
{{< link tiktok >}}
|
||||
|
||||
@@ -37,6 +37,8 @@ link:
|
||||
twitter: Twitter
|
||||
whatsapp: WhatsApp
|
||||
youtube: YouTube
|
||||
stack-exchange: Stack Exchange
|
||||
stack-overflow: Stack Overflow
|
||||
|
||||
nav:
|
||||
home: Home
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en{{ end }}">
|
||||
{{- partial "head.html" . -}}
|
||||
<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>
|
||||
{{- partial "footer.html" . -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{ define "main" }}
|
||||
<article class="flex flex-col items-center justify-center mt-10">
|
||||
<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>
|
||||
<header>
|
||||
<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 }}
|
||||
{{ end }}
|
||||
<img
|
||||
class="mb-2 rounded-full w-36 h-36"
|
||||
class="mb-2 rounded-full h-36 w-36"
|
||||
width="144"
|
||||
height="144"
|
||||
alt="{{ $.Site.Author.name | default "Author" }}"
|
||||
@@ -49,7 +49,7 @@
|
||||
{{ with $data.title }}{{ $title = . }}{{ end }}
|
||||
{{ end }}
|
||||
<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 }}"
|
||||
target="{{ $target }}"
|
||||
{{ with $title }}title="{{ . }}"{{ end }}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{{ if not .Site.IsServer }}
|
||||
{{ if hugo.IsProduction }}
|
||||
{{ with .Site.Params.fathomAnalytics.site }}
|
||||
{{ if isset $.Site.Params.fathomanalytics "domain" }}
|
||||
<script defer src="https://{{ $.Site.Params.fathomanalytics.domain }}/script.js" data-site="{{ . }}"></script>
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{/* Analytics */}}
|
||||
{{ partialCached "analytics.html" .Site }}
|
||||
{{ partialCached "analytics.html" . }}
|
||||
{{/* Extend head - eg. for custom analytics scripts, etc. */}}
|
||||
{{ if templates.Exists "partials/extend-head.html" }}
|
||||
{{ partialCached "extend-head.html" .Site }}
|
||||
|
||||
@@ -8,17 +8,17 @@ HUGO_THEME = "repo"
|
||||
TZ = "Australia/Melbourne"
|
||||
|
||||
[context.production.environment]
|
||||
HUGO_VERSION = "0.100.2"
|
||||
HUGO_VERSION = "0.112.7"
|
||||
HUGO_ENV = "production"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[context.deploy-preview.environment]
|
||||
HUGO_VERSION = "0.100.2"
|
||||
HUGO_VERSION = "0.112.7"
|
||||
|
||||
[context.branch-deploy]
|
||||
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[context.branch-deploy.environment]
|
||||
HUGO_VERSION = "0.100.2"
|
||||
HUGO_VERSION = "0.112.7"
|
||||
|
||||
1034
package-lock.json
generated
1034
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hugo-lynx-theme",
|
||||
"version": "1.2.0",
|
||||
"version": "1.3.0",
|
||||
"description": "Lynx theme for Hugo",
|
||||
"scripts": {
|
||||
"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",
|
||||
"devDependencies": {
|
||||
"@tailwindcss/typography": "^0.5.2",
|
||||
"prettier": "^2.7.1",
|
||||
"@tailwindcss/typography": "^0.5.9",
|
||||
"prettier": "^2.8.8",
|
||||
"prettier-plugin-go-template": "^0.0.13",
|
||||
"tailwindcss": "^3.1.3"
|
||||
"prettier-plugin-tailwindcss": "^0.3.0",
|
||||
"tailwindcss": "^3.3.2"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user