Commit Graph

178 Commits

Author SHA1 Message Date
BBaoVanC 7dd01894da
Add print button 2022-05-08 15:21:41 -05:00
BBaoVanC 9665133ba4
Make hr color solid 2022-05-08 15:15:20 -05:00
BBaoVanC b272ed6181
Hide "View source" button when printing 2022-05-08 15:12:13 -05:00
BBaoVanC 17918a5617
Update hidden elements when printing 2022-05-08 14:59:25 -05:00
BBaoVanC 493ee2da96
Redo color scheme 2022-05-08 00:46:05 -05:00
BBaoVanC 684769df5a
Prevent some elements on categories taxonomy from wrapping 2022-05-06 22:15:48 -05:00
BBaoVanC 9bee463a3c
Add post count to category taxonomy 2022-05-06 21:47:24 -05:00
BBaoVanC fe08bdc93c
Prevent navbar items from wrapping 2022-05-06 20:19:45 -05:00
BBaoVanC 026d5ab2c3
Remove an empty CSS rule I accidentally left in 2022-05-06 20:18:14 -05:00
BBaoVanC 311d846cb8
Support categories again, but hopefully a bit better 2022-05-06 20:16:41 -05:00
BBaoVanC 56610009e9
Add latest posts section to the bottom of every content page 2022-05-04 22:02:36 -05:00
BBaoVanC 76b0383c2c
Update related posts design and move comments above it 2022-05-04 18:45:02 -05:00
BBaoVanC 2731d9795f
Add see-also shortcode 2022-05-03 22:09:18 -05:00
BBaoVanC e450f3fbc7
Add commented-out CSS hack to fix Telegram share button 2022-05-02 21:33:13 -05:00
BBaoVanC fa5c014a1b
Add share_event JS function 2022-05-01 18:14:02 -05:00
BBaoVanC 72ebcf134a
Add share buttons below post 2022-04-30 21:23:45 -05:00
BBaoVanC e97d4f921d
Add background-accent color 2022-04-23 22:47:42 -05:00
BBaoVanC 5ffca36b84
Add table formatting, requires using custom "table" shortcode 2022-04-23 17:54:05 -05:00
BBaoVanC 3713fdae5b
Insert line breaks between commas in CSS 2022-04-23 17:09:13 -05:00
BBaoVanC 1127795717
Remove duplicate padding rule on .series-pages 2022-04-21 20:43:47 -05:00
BBaoVanC 1db48c3101
Somehow I had two .navbar queries next to eachother 2022-04-21 20:40:35 -05:00
BBaoVanC 42a7e27d09
Use horizontal scrolling on related posts section 2022-04-11 21:08:39 -05:00
BBaoVanC 2113c7a4e9
Better related posts section 2022-04-10 15:42:58 -05:00
BBaoVanC b14e0e90fd
Don't make the gap bigger for regular list pages 2022-04-10 03:08:22 -05:00
BBaoVanC 2742bac9ff
Increase gap between series 2022-04-10 02:48:56 -05:00
BBaoVanC e8f9d1c5df
Replace See also with a nicer looking Related posts section 2022-04-10 02:14:42 -05:00
BBaoVanC dff23045a8
Use <main> and have different class names for authors 2022-04-09 23:29:22 -05:00
BBaoVanC a3a7f50a5b
Remove gap between paragraphs in footer 2022-04-09 19:54:42 -05:00
BBaoVanC 586bea37d5
Re-add margins on mobile 2022-04-04 21:54:52 -05:00
BBaoVanC 37c04460b5
Clean up some of the div layout 2022-04-04 21:47:26 -05:00
BBaoVanC 11599e01d7
Don't put page breaks in the middle of code blocks 2021-11-25 23:56:10 -06:00
BBaoVanC 40f6ed20fe
Hide back to top button when printing 2021-11-23 14:37:29 -06:00
BBaoVanC 55bbfa90e4
Show page position in series on series taxonomy pages
Fix #40
2021-11-23 13:14:44 -06:00
BBaoVanC 161c68d16c
Add back to top button 2021-11-22 20:49:11 -06:00
BBaoVanC 0e1559f2a2
Use CSS variables for colors 2021-11-22 16:46:58 -06:00
BBaoVanC 15d58effcf
Super cool tag taxonomy list and term pages
Fixes #48
2021-11-22 15:20:20 -06:00
BBaoVanC 28cf50d3d8
Fix the flex layout for series taxonomy 2021-11-21 19:34:56 -06:00
BBaoVanC 8edbfd3077
Improve printing style
- Allow wrapping in code blocks
- Use 100% width
2021-11-21 00:04:29 -06:00
BBaoVanC aa3974c186
Fix uncentered pagination 2021-11-20 22:05:33 -06:00
BBaoVanC 7c877e7781
Improve wrapping in post metadata 2021-11-20 19:56:30 -06:00
BBaoVanC 7a73432238
Improve language picker usability 2021-11-19 17:22:25 -06:00
BBaoVanC 15d9ad52e9
Hide breadcrumb navigation when printing 2021-11-19 16:26:51 -06:00
BBaoVanC b45551639c
Fix print background colors for browsers other than Firefox 2021-11-19 16:13:38 -06:00
BBaoVanC 217e54c1b5
Expand table of contents and show background colors while printing 2021-11-18 17:47:31 -06:00
BBaoVanC d0c216165e
Add light mode and improve print compatibility 2021-11-18 17:26:02 -06:00
BBaoVanC ef8559d923
Change series-box sizing to match table of contents 2021-11-14 17:16:25 -06:00
BBaoVanC e67bd58ceb
Add previous and next page links
Fix #33
2021-11-14 00:41:49 -06:00
BBaoVanC f6140abc26
Fix #42 2021-11-13 23:31:20 -06:00
BBaoVanC 240476061b
Use flexbox for more stuff 2021-11-13 17:23:30 -06:00
BBaoVanC 96893d7de6
Add better series taxonomy list and clean up post metadata 2021-11-13 17:04:10 -06:00
BBaoVanC fb43b41d64
Put line breaks after commas in CSS 2021-11-13 14:29:59 -06:00
BBaoVanC b03fc6c7b1
Improve list pages + support "series"
- Use a <ul>: better accessibility
- Background for individual pages in the list, giving a better feeling
  of separation
- Support "series" taxonomy (displayed oldest to newest)
2021-11-12 20:25:47 -06:00
BBaoVanC a75d49e8bc
Don't use a ridiculously large border on non-featured images 2021-11-10 21:41:15 -06:00
BBaoVanC 21ecc630df
Use a dropdown for language selector 2021-11-07 19:55:17 -06:00
BBaoVanC c337596635
Fix caption alignment in figures 2021-11-06 21:55:23 -05:00
BBaoVanC 4e27a6ce8a
Add aside shortcode 2021-11-06 17:02:59 -05:00
BBaoVanC 42f0046747
Move the langbar to be part of the navbar - TODO: dropdown 2021-11-04 21:04:27 -05:00
BBaoVanC 13db8825a4
Add styling to disabled pagination buttons 2021-11-02 17:22:29 -05:00
BBaoVanC 99f53a386e
Add breadcrumb nav and show active navbar item 2021-11-02 16:51:07 -05:00
BBaoVanC 8ad0690d00
Update navbar item styling a little 2021-11-02 15:51:24 -05:00
BBaoVanC 11d98f8c92
Remove unused starwars style for now 2021-11-02 15:48:10 -05:00
BBaoVanC 5f40b6742b
Add scroll bar on navbar and langbar when overflowing 2021-11-01 20:32:37 -05:00
BBaoVanC 91c554ef83
Use a highlight instead of zoom for hovering on subsections
It fits the rest of the theme's style better
2021-11-01 20:30:56 -05:00
BBaoVanC 14121f2269
New navbar and langbar style 2021-11-01 20:29:28 -05:00
BBaoVanC 906b6213fd
Support subsections 2021-11-01 17:38:44 -05:00
BBaoVanC 8e83209898
Fix blockquote formatting with twitter tweets 2021-10-29 17:46:01 -05:00
BBaoVanC 7ffa6c068c
Improve figures
- Add option to disable border and caption
2021-10-27 09:49:21 -05:00
BBaoVanC 0cfecdab18
Make table of contents collapsible 2021-10-26 20:50:45 -05:00
BBaoVanC fc5f408831
Use jam icons instead of feather
https://jam-icons.com
2021-10-26 18:51:17 -05:00
BBaoVanC e0f04cb279
Make comments toggleable, remove word count, and give tags some space 2021-10-23 23:24:05 -05:00
BBaoVanC ff2e87fd9e
Make the image and video border a bit bigger 2021-10-22 23:40:09 -05:00
BBaoVanC ffbfc842c2
The footer should be printed 2021-10-20 14:04:24 -05:00
BBaoVanC 9de85093d3
Make the page better compatible with printing 2021-10-20 14:00:40 -05:00
BBaoVanC 937a80bc17
Use <figure> for images and videos 2021-10-19 13:57:39 -05:00
BBaoVanC b51c6c257f
Add figure shortcode 2021-10-19 12:40:34 -05:00
BBaoVanC c4e7258d69
Tweak formatting of the copyright footer 2021-10-18 17:29:39 -05:00
BBaoVanC f56b9028b3
Support a copyright notice footer 2021-10-17 20:17:12 -05:00
BBaoVanC 9f46c35bc0
Fix single line fenced code blocks on Firefox 2021-10-17 15:45:45 -05:00
BBaoVanC 29df0325f0
Fix the latest commit 2021-10-17 00:13:18 -05:00
BBaoVanC 00c3cfd0e6
A small cleanup relating to word wrap 2021-10-17 00:10:03 -05:00
BBaoVanC 92352a0c19
Fix #11 - better syntax highlighting
This requires the following to be added to config.toml:

[markup]
  [markup.highlight]
    noClasses = false
    lineNos = true
2021-10-15 19:16:14 -05:00
BBaoVanC 7276be72e9
Add a language switcher bar below the navbar 2021-10-11 21:26:23 -05:00
BBaoVanC 9ff5314bc0
Use with in head.html and add code block section to CSS 2021-10-10 19:36:47 -05:00
BBaoVanC ddbcaa6d56
Don't show modified date if git commit is shown
It's redundant
2021-10-10 19:03:15 -05:00
BBaoVanC 476519c022
Fix weird padding in full-size code blocks 2021-10-10 17:51:50 -05:00
BBaoVanC 1b59b258bc
Move the header link icon to the end 2021-10-10 17:47:45 -05:00
BBaoVanC 6ce4cdad32
Fix #21 2021-10-10 17:20:50 -05:00
BBaoVanC b923054bd3
Enable the section header link icon 2021-10-10 15:14:36 -05:00
BBaoVanC ff79ae29b5
Add header link icon but commented out because it looks weird 2021-10-10 15:02:20 -05:00
BBaoVanC c233b8122f
Show certain metadata on all pages 2021-10-09 22:54:33 -05:00
BBaoVanC 7cf99c0245
Move h1 svg.icon 2021-10-09 22:38:31 -05:00
BBaoVanC cc20b09e8e
Clean up after the last commit 2021-10-09 22:33:18 -05:00
BBaoVanC f3274c67fc
Add git commit, improve post metadata wrapping 2021-10-09 22:17:24 -05:00
BBaoVanC 7f3d3f3dca
Don't let word count or reading time wrap awkwardly 2021-10-09 19:16:40 -05:00
BBaoVanC 98587c94ae
Don't enable reading time and word count by default 2021-10-09 18:44:36 -05:00
BBaoVanC c8874736ea
Update post-metadata to use a partial, and add word count 2021-10-09 18:08:27 -05:00
BBaoVanC fa3f9b7a51
Use the actual svg instead of feather-sprite.svg for icons 2021-10-09 17:32:35 -05:00
BBaoVanC afb9ff6ab0
Update blog archetype and add border to videos 2021-10-09 13:44:30 -05:00
BBaoVanC 2616803f47
Support featured videos (instead of image) 2021-10-08 22:52:58 -05:00
BBaoVanC 346ef21784
Fix left padding in blockquote 2021-10-08 21:54:21 -05:00