Commit Graph

28 Commits

Author SHA1 Message Date
a248ff98c4 Fix gallery search for folders with underscore
Gallery title names replace '_' in the folder name with ' ' (generate_main_html()). To match against these title names when searching, we must also replace '_' with ' ' for each folder name we add to the list of titles to unhide.
2024-09-13 15:56:01 -07:00
ba04f81a6f add minimal viewer, fix not using config's template on --html only option 2021-06-22 23:17:03 -04:00
51074ee948 support multi viewers 2020-11-26 17:22:23 +08:00
37b4ee7d00 Fixing typos
ms-user-select should be -ms-user-select. #0d0d0d9 isn't a valid hex code - I assume it's supposed to be #0d0d0d?
2020-06-23 23:04:09 -07:00
49ac1d035d Merge branch 'master' into dev 2020-03-14 23:34:49 +08:00
53e1923e67 Changed keyboard nav
In conjunction with styles.css change, changed W, and S keys to scroll image vertically and removed page change from Up and Down, leaving A, D, Left, and Right as keys for changing page. Page returns to the top when changing page. W and S scroll behavior is not smooth. Up and Down scroll relies on browser's in-built keyboard scrolling functionality.
2020-01-16 20:20:42 +01:00
ba6d4047e2 Larger image display
Bodged file edit. Changed image to extend off the screen, and be scrollable. Easier to read speech and other text on smaller displays. Moved page counter to top center. Not quite as nice looking.
2020-01-16 20:12:27 +01:00
dcf22b30a5 Merge pull request #96 from symant233/dev
Add @media to html_viewer (mobile friendly)
2019-12-16 10:41:53 +08:00
0208d9b9e6 remove... 2019-12-13 11:57:42 +08:00
0115285e10 trying to fix conflict 2019-12-13 11:56:36 +08:00
ea8a576f7e remove webkit tap color and outline 2019-12-11 18:52:27 +08:00
05eaa9eebc fix 'max-width' not working 2019-12-11 18:35:53 +08:00
9592870d85 add html viewer @media 2019-12-11 10:55:50 +08:00
6156cf5914 added zoom in index.html and some increments in main.html 2019-12-07 14:36:19 -03:00
ff8af8279f fixed html and removed unused .css properties 2019-12-07 12:58:19 -03:00
110a2acb7c main page filter fixes 2019-12-06 13:08:16 -03:00
c60f1f34d5 main page filter(2/2) 2019-12-05 18:02:03 -03:00
4f2db83a13 almost gave up 2019-12-04 18:54:40 -03:00
bd8bb42ecd main page filter(1/2) 2019-12-04 00:45:14 -03:00
0abcb048b4 filter for main page(1/2) 2019-12-02 16:46:22 -03:00
a5eba94064 clean unused style for main.css 2019-05-06 15:41:26 +08:00
6053e302ee fix output_dir make gen-main error 2019-05-05 22:02:24 +08:00
c32b516575 js return to prev page press 'q' 2019-05-05 21:47:23 +08:00
0cda30385b Main viewer generator 2019-05-05 21:01:49 +08:00
18bdab1962 add main viewer 2019-05-05 21:01:49 +08:00
1eb1b5c04c Add viewer arrow support & Readme license badage 2019-05-04 11:04:43 +08:00
de157ccb7f Merge branch 'master' of github.com:RicterZ/nhentai 2018-08-11 09:19:31 +08:00
99edcef9ac Rework the HTML Viewer
* More modern and efficient code, particularily for the JS
 * Also the layout is better, with flexboxes and all
 * The CSS and JS have their own files
 * The sidebar has proper margins around the images
 * You can use A + D and the arrow keys to navigate images, like on nhentai
 * Images with a lot of width are  properly sized
 * There is a page counter on the bottom left
2018-06-02 23:22:37 +02:00