aboutsummaryrefslogtreecommitdiff
path: root/static/_small-calendar.scss
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-09-05 01:25:00 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-09-05 01:25:00 +0200
commit7949fcdc683d07689bad5da5d20bfa3eeb5a6a46 (patch)
treec1bc39dc0e508ee498cf7119f888f513db4bab8f /static/_small-calendar.scss
parentAdd build step for jsdoc. (diff)
downloadcalp-7949fcdc683d07689bad5da5d20bfa3eeb5a6a46.tar.gz
calp-7949fcdc683d07689bad5da5d20bfa3eeb5a6a46.tar.xz
Move frontend code to subdirectories, to simplify command line flags.
Diffstat (limited to 'static/_small-calendar.scss')
-rw-r--r--static/_small-calendar.scss51
1 files changed, 0 insertions, 51 deletions
diff --git a/static/_small-calendar.scss b/static/_small-calendar.scss
deleted file mode 100644
index c4814285..00000000
--- a/static/_small-calendar.scss
+++ /dev/null
@@ -1,51 +0,0 @@
-.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 <time> instead on parent block element
- to allow a border radius without making the link area
- smaller
- */
- padding: 5px;
- }
- }
- > *:not(.column-head) {
- display: flex;
- align-items: center; /* vertically center */
- text-align: right;
- }
- a {
- color: initial;
- text-decoration: none;
- }
-
- .row-head {
- grid-column: 1;
- border-right: 1px solid black;
-
- /* Sort of hack to get week numbers looking ok */
- justify-content: right;
- padding-right: 5px;
- }
-
- .column-head {
- grid-row: 1;
- border-bottom: 1px solid black;
- }
-
- .next, .prev {
- color: $gray;
- }
-
- .today {
- border: 1px solid black;
- }
-}