Commit Graph

56 Commits

Author SHA1 Message Date
David Thurstenson ca98192cfb asside: remove author and related logic, replace date with lastmod, tweak formatting 2022-01-05 17:22:53 -06:00
David Thurstenson cbb2777114 removing unused github pages config 2021-11-21 14:27:23 -06:00
David Thurstenson 2ed69e67b8 Fixed broken section/page hide feature 2021-11-21 13:49:30 -06:00
David Thurstenson 9ea510e106 layouts: Migrate layout modifications from tlwiki
Previous home:
https://git.thurstylark.com/thurstylark/tlwiki/src/branch/master/layouts
2021-10-07 01:10:23 -05:00
David Thurstenson aed270edf2 exampleSite/config.toml: Filing off the serial numbers 2021-10-07 00:54:37 -05:00
David Thurstenson 85c51aea14 theme.toml: Update name, author and links 2021-10-07 00:45:36 -05:00
David Thurstenson 9ea466d5fb README.md: Change name of theme to 'tlwiki' 2021-10-07 00:32:21 -05:00
David Thurstenson c140f855d7 README.md: Updated to point to new repo location 2021-10-07 00:20:24 -05:00
Joe Roe 07f1b3ecfd
Merge pull request #22 from mntn-xyz/patch-15
Ensure long page content doesn't overflow
2021-09-09 10:03:34 +02:00
Joe Roe dc6bc7727a
Merge pull request #21 from mntn-xyz/patch-13
Format additional elements and fix overflow:auto
2021-09-09 10:03:17 +02:00
Joe Roe e517952121
Merge pull request #23 from mntn-xyz/patch-16
Add bottom margin to hr for consistency
2021-09-06 11:19:49 +02:00
Joe Roe 3db2f205a4
Merge pull request #24 from mntn-xyz/patch-17
Fix UL/OL margin per #11
2021-09-06 11:19:39 +02:00
mntn 93a22994d4 Fix UL/OL margin per #11 2021-08-25 14:42:42 -04:00
mntn ea9f20b5a0 Add bottom margin to hr for consistency 2021-08-25 14:16:36 -04:00
mntn 6a53658646 Ensure long page content doesn't overflow 2021-08-24 09:08:00 -04:00
mntn 060cea27a7 Format additional elements
Add formatting for dl/dd/dt and samp, remove overflow:auto from inline elements
2021-08-24 08:26:18 -04:00
Joe Roe 2dbfdf52a0
Merge pull request #10 from mntn-xyz/patch-7
Add margin and padding to pre blocks
2021-08-24 10:10:45 +02:00
Joe Roe 9b7205e733
Merge pull request #18 from mntn-xyz/patch-10
Fix table margins, padding, and overflow
2021-08-24 10:10:35 +02:00
Joe Roe 06e239121c
Merge pull request #19 from mntn-xyz/patch-12
Fix blockquote top/bottom margin
2021-08-24 10:10:18 +02:00
Joe Roe 6d313bd596
Merge pull request #20 from bedefaced/main
Fix unexpected whitespace
2021-08-24 10:09:35 +02:00
bedefaced 082509291b
Fix unexpected whitespace 2021-08-23 16:20:19 +03:00
mntn 3ca826bfc1
Fix blockquote top/bottom margin
Make top and bottom consistent with other elements
2021-08-09 12:31:21 -04:00
mntn edb5a0f856
Fix table margins, padding, and overflow
This sets up a simple unstyled table with spacing that matches other elements.
2021-08-09 10:24:55 -04:00
mntn 91fd34e8a2
Change pre padding to 1.5rem all around 2021-08-09 10:09:48 -04:00
Joe Roe 8d534bcdad Format dates as YYYY-MM-DD 2021-08-09 13:44:57 +02:00
Joe Roe e46b83375d
Merge pull request #9 from mntn-xyz/patch-6
Set pre overflow to auto and make bg !important
2021-08-09 13:44:43 +02:00
Joe Roe 8408382ae3
Merge pull request #15 from mntn-xyz/patch-11
Only show aside data if relevant front matter data is present
2021-08-09 13:31:13 +02:00
Joe Roe b3cf3d58a5
Merge pull request #13 from mntn-xyz/patch-9
Prevent super/subscript from affecting line height
2021-08-09 13:30:32 +02:00
Joe Roe 56c5038a51
Merge pull request #12 from mntn-xyz/patch-8
Add missing colors to gruvbox-light.css
2021-08-09 13:29:44 +02:00
Joe Roe f76087a312
Merge pull request #8 from mntn-xyz/patch-5
Fix issue with .page__body outline on Firefox
2021-08-09 13:28:42 +02:00
Joe Roe f68304f3d2
Merge pull request #7 from mntn-xyz/patch-4
Fix UL marker spacing on Firefox
2021-08-09 13:27:35 +02:00
mntn 25c894d51c
Only show aside data if present
People may not always define description, author, and date in their front matter. This change skips adding each field to the aside if it is missing.
2021-08-04 22:29:10 -04:00
mntn c816f14596
Prevent super/subscript from affecting line height
This keeps line height static and brings in the vertical position of super/subscript slightly to prevent overlap with multiple lines.
2021-08-03 10:41:42 -04:00
mntn d0f1a909d3
Add missing colors to gruvbox-light.css
Add orange and gray (plus bright variants)
2021-08-03 10:36:11 -04:00
mntn 43feb8c94c
Add margin and padding to pre blocks
This puts one character's worth of padding inside each pre block, making the text inside easier to read. It also changes the margin to match the spacing of paragraphs, ensuring that everything is aligned "on the line" as if it is displayed in a terminal.
2021-07-31 21:34:03 -04:00
mntn e9cfcaf94c
Set pre overflow to auto and make bg !important
Fixes 2 issues:
1. In Firefox, overflow: scroll puts an ugly unscrollable scrollbar on the page. With auto it behaves as normal but the scrollbar only appears when needed.
2. When using code highlighting, the generated Hugo styles replace the <pre> background color, making the page look ugly (only the text has a background, not the entire <pre> block). Setting the background !important fixes this. This is not ideal, but the styles are applied directly to the element when using the internal highlight shortcode, so this is the only way to override them.

Tested on Firefox and Chrome.
2021-07-31 21:18:25 -04:00
mntn 7cb0d9b363
Fix issue with .page__body outline on Firefox
CSS outline has issues with Firefox in several situations involving child elements with negative margins. Changing to box-shadow fixes this. Tested on Chrome and Firefox.
2021-07-31 21:00:17 -04:00
mntn aef1f01402
Fix UL marker spacing on Firefox
Replaces space with nonbreaking Unicode space
2021-07-31 20:52:41 -04:00
Joe Roe 1e6ebdbb52 Crop screenshot and generate thumbnail 2021-07-28 22:04:32 +02:00
Joe Roe cd0c127023 Update README with other install methods 2021-07-28 21:56:26 +02:00
Joe Roe e1dca6be66 Add cname to gh-pages workflow
To stop it cloberring it.
2021-07-28 21:31:07 +02:00
Joe Roe 312231822d Add demo site to theme metadata 2021-07-28 21:20:50 +02:00
Joe Roe 9c34a215b0 Change example site baseURL to live site 2021-07-28 21:16:49 +02:00
Joe Roe 01f0735de0 Try different publish directory 2021-07-28 21:14:12 +02:00
Joe Roe aea667ce54 Fix workflow file extension 2021-07-28 21:08:58 +02:00
Joe Roe b4f5a26be0 Try to build example site with a workflow 2021-07-28 21:06:28 +02:00
Joe Roe 9a51d64732 Update theme.toml and add config.toml
Following the instructions at https://github.com/gohugoio/hugoThemesSiteBuilder
2021-07-28 20:39:25 +02:00
Joe Roe 616c52ea4b
Merge pull request #2 from mntn-xyz/patch-1
Add missing colors to gruvbox-dark theme
2021-07-28 13:46:58 +02:00
Joe Roe bf921f2400
Merge pull request #4 from mntn-xyz/patch-3
Fix bad link in footer
2021-07-28 13:46:17 +02:00
mntn 8d08f02bf1
Fix bad link in footer 2021-07-27 21:09:30 -04:00