From 27f25ae1749f28d59edb925c3989efbeb83fcc41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 23 Aug 2020 17:11:21 +0200 Subject: Add rendering of standalone small-cal. --- static/.gitignore | 2 +- static/Makefile | 2 +- static/_global.scss | 4 ++++ static/smallcal.scss | 2 ++ static/style.scss | 3 +-- 5 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 static/_global.scss create mode 100644 static/smallcal.scss (limited to 'static') diff --git a/static/.gitignore b/static/.gitignore index c90a6b1b..735b5dce 100644 --- a/static/.gitignore +++ b/static/.gitignore @@ -1,3 +1,3 @@ -style.css +*.css .*-cache *.map diff --git a/static/Makefile b/static/Makefile index a5c42396..12df8c2a 100644 --- a/static/Makefile +++ b/static/Makefile @@ -1,6 +1,6 @@ .PHONY: all clean -TARGETS := style.css +TARGETS := style.css smallcal.css all: $(TARGETS) diff --git a/static/_global.scss b/static/_global.scss new file mode 100644 index 00000000..bb8f4bf5 --- /dev/null +++ b/static/_global.scss @@ -0,0 +1,4 @@ +$gray: #757575; +$btn-height: 0.5ex; + + diff --git a/static/smallcal.scss b/static/smallcal.scss new file mode 100644 index 00000000..c9a356c4 --- /dev/null +++ b/static/smallcal.scss @@ -0,0 +1,2 @@ +@import 'global'; +@import 'small-calendar'; diff --git a/static/style.scss b/static/style.scss index 1d47691a..3f92f8fc 100644 --- a/static/style.scss +++ b/static/style.scss @@ -1,5 +1,4 @@ -$gray: #757575; -$btn-height: 0.5ex; +@import 'global'; html, body { height: 100%; -- cgit v1.2.3