Compare commits
2 Commits
81981792b5
...
87beeee1b6
Author | SHA1 | Date | |
---|---|---|---|
87beeee1b6
|
|||
48ffefef3f
|
12
Makefile
12
Makefile
@@ -4,13 +4,16 @@ SHARED_FILES := stallman.webp stallman_2024.webp favicon.ico \
|
|||||||
word_cloud_cz.png word_cloud_en.png background.jpg \
|
word_cloud_cz.png word_cloud_en.png background.jpg \
|
||||||
moon.svg sun.svg narrow_light.svg narrow_dark.svg wide_light.svg wide_dark.svg lang_cz.svg lang_en.svg \
|
moon.svg sun.svg narrow_light.svg narrow_dark.svg wide_light.svg wide_dark.svg lang_cz.svg lang_en.svg \
|
||||||
styles.css icons.css \
|
styles.css icons.css \
|
||||||
countdown.js theme.js lang.js \
|
countdown.js theme.js lang.js
|
||||||
jetbrains_mono.woff2
|
STATIC_ASSETS := jetbrains_mono.woff2
|
||||||
SEARCH_REPLACE := lib/search_and_replace/target/release/search_and_replace
|
SEARCH_REPLACE := lib/search_and_replace/target/release/search_and_replace
|
||||||
COMPONENTS := head.html header.html nav.html footer.html
|
COMPONENTS := head.html header.html nav.html footer.html
|
||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build: $(PAGES:%=dst/cz/%) $(PAGES:%=dst/en/%) $(SHARED_FILES:%=dst/%)
|
build: $(PAGES:%=dst/cz/%) $(PAGES:%=dst/en/%) $(SHARED_FILES:%=dst/%) $(STATIC_ASSETS:%=dst/%)
|
||||||
|
|
||||||
|
.PHONY: pack
|
||||||
|
pack: dst/libre_liberec.tar.gz
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
@@ -80,3 +83,6 @@ dst/favicon.ico: images/favicon.ico
|
|||||||
dst/%.woff2: fonts/%.woff2
|
dst/%.woff2: fonts/%.woff2
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
ln -f $< $@
|
ln -f $< $@
|
||||||
|
|
||||||
|
dst/libre_liberec.tar.gz: $(PAGES:%=dst/cz/%) $(PAGES:%=dst/en/%) $(SHARED_FILES:%=dst/%)
|
||||||
|
tar --transform='s,^dst/,libre_liberec/,' -czvf $@ $^ --owner=0 --group=0
|
||||||
|
@@ -252,10 +252,9 @@ footer {
|
|||||||
width: fit-content;
|
width: fit-content;
|
||||||
margin: 2em auto;
|
margin: 2em auto;
|
||||||
margin-top: 4em;
|
margin-top: 4em;
|
||||||
font-size: .8em;
|
font-size: .9em;
|
||||||
word-spacing: 0em;
|
word-spacing: 0em;
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
letter-spacing: 0em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
footer>* {
|
footer>* {
|
||||||
|
Reference in New Issue
Block a user