docs folder

This commit is contained in:
Shish
2020-03-22 15:49:55 +00:00
parent fe874389ab
commit 76b346b45d
7 changed files with 117 additions and 109 deletions

20
docs/DEV.md Normal file
View File

@ -0,0 +1,20 @@
# Development Info
ui-\* cookies are for the client-side scripts only; in some configurations
(eg with varnish cache) they will be stripped before they reach the server
shm-\* CSS classes are for javascript to hook into; if you're customising
themes, be careful with these, and avoid styling them, eg:
- shm-thumb = outermost element of a thumbnail
* data-tags
* data-post-id
- shm-toggler = click this to toggle elements that match the selector
* data-toggle-sel
- shm-unlocker = click this to unlock elements that match the selector
* data-unlock-sel
- shm-clink = a link to a comment, flash the target element when clicked
* data-clink-sel
Please tell me if those docs are lacking in any way, so that they can be
improved for the next person who uses them