mirror of
https://gitlab.com/parroquia-san-leandro/cancionero-web.git
synced 2025-04-26 15:16:19 +02:00
Move to less, improved style, fixed bugs
* Redirection wasn't being encoded properly * CSS to LESS transition * Improved Makefile * Explained red color in index * Unified link and button styles
This commit is contained in:
parent
67bedb49e4
commit
c7bca76c8c
14 changed files with 233 additions and 185 deletions
35
Makefile
35
Makefile
|
@ -1,7 +1,36 @@
|
|||
all: clean
|
||||
mkdir -p public audios
|
||||
ln -s ../audios public/audios
|
||||
.PHONY=static all clean svg js css
|
||||
|
||||
ALL_CSS := $(patsubst res/%.less,public/%.css,$(wildcard res/*.less))
|
||||
ALL_JS := $(patsubst res/%.js,public/%.js,$(wildcard res/*.js))
|
||||
ALL_SVG := $(patsubst res/%.svg,public/%.svg,$(wildcard res/*.svg))
|
||||
|
||||
all: public/index.html
|
||||
|
||||
static: css js svg
|
||||
|
||||
css: $(ALL_CSS)
|
||||
|
||||
js: $(ALL_JS)
|
||||
|
||||
svg: $(ALL_SVG)
|
||||
|
||||
public:
|
||||
mkdir public
|
||||
|
||||
public/index.html: static public public/audios \
|
||||
res/index.html res/page.html \
|
||||
res/song.html res/song_li.html res/song_redir.html
|
||||
python3 src/latex_scanner.py
|
||||
|
||||
public/audios: audios public
|
||||
rm -f public/audios
|
||||
ln -s ../audios public/audios
|
||||
|
||||
public/%.css: res/%.less
|
||||
lessc $< $@
|
||||
|
||||
public/%: res/%
|
||||
cp $< $@
|
||||
|
||||
clean:
|
||||
rm -rf public
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue