1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-03 19:56:22 -07:00
gochan/sass
2022-04-30 00:23:13 -07:00
..
bunkerchan Remove unnecessary important tags from stylesheets 2021-12-29 11:31:27 -08:00
burichan Remove unnecessary important tags from stylesheets 2021-12-29 11:31:27 -08:00
clear Add Clear and Dark themes from BunkerChan 2021-03-24 11:26:58 -07:00
dark Add Clear and Dark themes from BunkerChan 2021-03-24 11:26:58 -07:00
global Comment out unnnecessary display css prop for lightbox class 2022-04-30 00:23:13 -07:00
photon Remove unnecessary important tags from stylesheets 2021-12-29 11:31:27 -08:00
pipes Make themes use div#content more 2022-04-14 21:20:32 -07:00
win9x Add Windows 9x theme (unfinished) 2022-01-16 21:13:56 -08:00
yotsuba Add Clear and Dark themes from BunkerChan 2021-03-24 11:26:58 -07:00
yotsubab Add Clear and Dark themes from BunkerChan 2021-03-24 11:26:58 -07:00
_util.scss Replace box-shadow with drop-shadow filter for hardware acceleration 2021-08-24 12:00:50 -07:00
_yotsubacommon.scss Remove unnecessary important tags from stylesheets 2021-12-29 11:31:27 -08:00
bunkerchan.scss Remove unnecessary important tags from stylesheets 2021-12-29 11:31:27 -08:00
burichan.scss Make themes use div#content more 2022-04-14 21:20:32 -07:00
clear.scss Make themes use div#content more 2022-04-14 21:20:32 -07:00
dark.scss Make themes use div#content more 2022-04-14 21:20:32 -07:00
global.scss Make template for recent posts page 2022-01-29 23:47:13 -08:00
photon.scss Remove most of the nasty spaghetti code that relies on HTML output 2021-12-30 14:50:05 -08:00
pipes.scss Remove most of the nasty spaghetti code that relies on HTML output 2021-12-30 14:50:05 -08:00
README.md Add sass watching to build.py 2022-01-27 23:59:03 -08:00
win9x.scss Make themes use div#content more 2022-04-14 21:20:32 -07:00
yotsuba.scss Add Clear and Dark themes from BunkerChan 2021-03-24 11:26:58 -07:00
yotsubab.scss Add Clear and Dark themes from BunkerChan 2021-03-24 11:26:58 -07:00

Theme development using Sass

If you want, you can install Sass to streamline writing CSS stylesheets. It requires node.js as a dependency so if you don't want to install it and Sass's dependencies (and its dependencies' dependencies,...) the CSS files generated by Sass are provided.

To use sass, run ./build.py sass. If you want to minify the created css files, use the --minify flag. If you want sass to watch the input directory for changes as you edit and save the files, use the --watch flag.

If you are upgading from gochan 2.2, delete your html/css directory unless you have made themes that you want to keep. Then rebuild the pages. (/manage?action=rebuildall)

Attribution

The BunkerChan, Clear, and Dark themes come from the imageboard BunkerChan. Burichan is based on the theme with the same name from Kusaba X. Photon comes from nol.ch (I think?) that as far as I know no longer exists. Pipes was created by a user (Mbyte?) on Lunachan (defunct). Yotsuba and Yotsuba B are based on the themes with the same names from 4chan.