From 70a141f72ee276b7cf80f6fe458a81e03eb03836 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 23 Jan 2026 17:46:46 +0100 Subject: separiere den Punktestand spezifischen CSS Code in eigene Datei --- Makefile | 9 +++++---- index.css | 4 ---- index.php | 8 +++++++- punktestand.css | 3 +++ 4 files changed, 15 insertions(+), 9 deletions(-) create mode 100644 punktestand.css diff --git a/Makefile b/Makefile index f07d611..00d352a 100644 --- a/Makefile +++ b/Makefile @@ -2,10 +2,10 @@ JS := node_modules/chart.js/dist/chart.umd.js node_modules/chart.js/dist/chart.u node_modules/chartjs-plugin-annotation/dist/chartjs-plugin-annotation.min.js \ index.js PHP := index.php lade_daten.php config.php -CSS := index.css +CSS := index.css punktestand.css .PHONY: all -all: dist/js dist/php dist/index.css +all: dist/js dist/php dist/css dist: mkdir -p $@ @@ -18,8 +18,9 @@ dist/js: $(JS) dist dist/php: $(PHP) dist for php in $(PHP); do cp $$php ${@D}; done -dist/index.css: index.css - cp $< $@ +.PHONY: dist/css +dist/css: $(CSS) dist + for css in $(CSS); do cp $$css ${@D}; done .PHONY: clean clean: diff --git a/index.css b/index.css index a67d04c..1e6e40a 100644 --- a/index.css +++ b/index.css @@ -64,7 +64,3 @@ li.ereignis { margin-top: 2px; display: block; } - -td.streak { - text-align: center; -} diff --git a/index.php b/index.php index f358289..f14b474 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,10 @@ + Punktestand @@ -9,8 +13,10 @@ - + ` + + `