From 46ab705a3fef8294a37e6f329fbf898d9f3ad2f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 16 Aug 2020 13:04:17 +0200 Subject: Move small-calendar css to own file. --- static/Makefile | 2 +- static/_small-calendar.scss | 51 +++++++++++++++++++++++++++++++++++++++++ static/style.scss | 55 ++++----------------------------------------- 3 files changed, 56 insertions(+), 52 deletions(-) create mode 100644 static/_small-calendar.scss diff --git a/static/Makefile b/static/Makefile index f848b784..a5c42396 100644 --- a/static/Makefile +++ b/static/Makefile @@ -8,4 +8,4 @@ clean: rm $(TARGETS) %.css: %.scss - scss $< $@ + scss -I. $< $@ diff --git a/static/_small-calendar.scss b/static/_small-calendar.scss new file mode 100644 index 00000000..c4814285 --- /dev/null +++ b/static/_small-calendar.scss @@ -0,0 +1,51 @@ +.small-calendar { + display: grid; + grid-template-rows: auto; + grid-template-columns: auto; + + grid-auto-flow: dense; + + > * { + text-align: center; + > time { + width: 100%; + text-align: right; + /* padding place in