122 Commits

Author SHA1 Message Date
Tetrakern
7df10bfa4d Replace user icon 2023-07-09 18:16:55 +02:00
Tetrakern
f64eb135a6 Update modal script
Should have done it like this in the first place.
2023-07-09 14:37:10 +02:00
Tetrakern
ebd7cd8046 Move element templates to partials
This makes it easier to customize them in child themes.
2023-07-02 01:26:59 +02:00
Tetrakern
ab2c65a5bb Rename .blog class to .blog-posts
Avoid conflict with the body blog class from WP.
2023-06-18 21:15:31 +02:00
Tetrakern
41909556e5 Replace all frontend inline onclick handlers 2023-06-18 03:28:44 +02:00
Tetrakern
500ef9450e Replace inline onclick sharing modal link copy 2023-06-18 00:44:31 +02:00
Tetrakern
09ca5ebfe5 Replace inline onclick obfuscation handler 2023-06-17 23:33:08 +02:00
Tetrakern
40c65a89a5 Replace inline onclick logout handler 2023-06-17 23:21:02 +02:00
Tetrakern
2e6bd2c7eb Replace inline onclick to get story comments 2023-06-17 20:51:55 +02:00
Tetrakern
abe20baa74 Clean up TTS interface 2023-06-16 13:58:07 +02:00
Tetrakern
07c76a9d35 Let collections ignore hidden stories 2023-06-16 02:07:03 +02:00
Tetrakern
d9ec7f57dd Add constant to customize TTS regex
This should make it possible to use languages with different characters. Maybe.
2023-06-15 14:18:52 +02:00
Tetrakern
c64384cb40 Remove RSS feed from hidden stories 2023-06-13 11:26:34 +02:00
Tetrakern
137afd6ed4 Use session storage for temp page cache
Far better for this purpose. Also fixed deferred nonce not being cleared on time.
2023-06-12 11:41:31 +02:00
Tetrakern
9e727533dd Add aria labels to info box toggles 2023-06-11 19:24:16 +02:00
Tetrakern
ca3ef92068 Extended archives and sort-order-filter 2023-06-11 16:15:23 +02:00
Tetrakern
de95fb4c22 Fix publish date not showing sometimes
Apparenty, the_date() does that under dubious circumstances. Whatever.
2023-06-11 05:17:09 +02:00
Tetrakern
142096f72a Add aria labels 2023-06-11 04:29:58 +02:00
Tetrakern
c35ea2a5ad Refactored mobile menu
That. Was. Not. Fun!
2023-06-11 01:17:04 +02:00
Tetrakern
a1fdf5de78 Fix chapter folding not honoring settings 2023-06-10 18:30:33 +02:00
Tetrakern
a763bc0eb1 Refactor chapter lists
No more sibling or other exotic selectors.
2023-06-10 18:23:04 +02:00
Tetrakern
8cf01ca6a3 Remove sibling selectors from TTS 2023-06-10 03:00:07 +02:00
Tetrakern
92bce95ef3 Improved formatting modal markup and CSS 2023-06-10 01:45:05 +02:00
Tetrakern
08406b6fb6 Refactor follows/reminder/checkmark on cards
And removed the sibling selectors too.
2023-06-09 23:19:18 +02:00
Tetrakern
4feef249f3 Remove sibling selectors from card infoboxes 2023-06-09 21:52:17 +02:00
Tetrakern
9885b47efd Added wrapper for paginate_links function
Only adds a tabindex for the dots right now, which was done with JS before and that was bad.
2023-06-09 11:31:40 +02:00
Tetrakern
527fda7871 Remove unnecessary sibling selector 2023-06-09 02:06:45 +02:00
Tetrakern
12466a6872 Update _modal-sharing.php 2023-06-08 21:29:28 +02:00
Tetrakern
cd07fd0bbf Show modified/publish date based on orderby 2023-06-07 23:34:46 +02:00
Tetrakern
568ee21a4f Update template doc comments 2023-06-07 23:23:19 +02:00
Tetrakern
23d019dec3 Update date strings
And add more constants.
2023-06-06 22:01:29 +02:00
Tetrakern
ad6d54482d Use constants for Latest * shortcodes
Easy to override in child templates and allow a more precise customization than via the settings page.
2023-06-06 20:04:45 +02:00
Tetrakern
6728e34faf Add constant for Latest Update shortcode date 2023-06-06 15:34:08 +02:00
Tetrakern
699d6efbb8 Further reduced elements of large cards 2023-06-06 13:44:16 +02:00
Tetrakern
db15d8c0b2 Improved word/date markup of Latest Updates 2023-06-06 13:43:49 +02:00
Tetrakern
4a49bd26ed Exclude login markup if already logged-in 2023-06-06 10:20:00 +02:00
Tetrakern
a480c124b5 Fix custom tab page padding on story pages
I wonder why I did this...
2023-06-05 23:15:58 +02:00
Tetrakern
a574f1a77d Fixed action signature
Forgot to properly prefix all the new actions. Yikes. But I doubt anyone has yet used them for anything, so I might just get away with changing them quickly.
2023-06-05 22:47:55 +02:00
Tetrakern
a1c3ff3883 Remove superfluous elements after page load
Some elements are delivered for the purpose of client-side setup, such as checkmarks. However, if not required, you may as well remove them from the DOM.
2023-06-05 12:05:36 +02:00
Tetrakern
59f3a6f62d Reduce elements of large cards
How did I forget these?
2023-06-05 10:41:19 +02:00
Tetrakern
aeaadadd9c Reduce card nodes further 2023-06-04 22:17:42 +02:00
Tetrakern
54d6228f9a Remove more superfluous nodes 2023-06-04 20:45:25 +02:00
Tetrakern
0eae5e17eb Reduce chapter list elements and add filter
Most people will not even use the prefixes and those who do will probably not add extra styling, so wrapping them in a span by default is just a waste.
2023-06-04 17:49:56 +02:00
Tetrakern
4486077b62 Reduce elements in chapter lists
Up to several hundreds, although some style features had to be sacrificed, like the different word count display. For now, may re-add this with JS.
2023-06-04 15:40:18 +02:00
Tetrakern
9f115e54e7 Reduced spans in author nodes and cards 2023-06-04 14:02:12 +02:00
Tetrakern
f1b18283a7 Remove some superfluous spans 2023-06-04 02:50:47 +02:00
Tetrakern
84c87b8008 Convert   to  
Apparently the other one doesn't work.
2023-06-04 02:05:11 +02:00
Tetrakern
6d93b1d77b Reduce DOM elements 2023-06-04 01:49:00 +02:00
Tetrakern
07ceaeca8e Cleanup frontend profile OAuth section 2023-06-03 05:39:09 +02:00
Tetrakern
efb597c73d Refactor frontend profile 2023-06-03 04:15:26 +02:00