aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-03-19 16:31:27 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2020-03-19 16:31:27 +0100
commitb01f3793f7205c1b3c89af40c469ad933282629d (patch)
tree81f16db19d20e2407e48e9206f72b4f9c4351bd9 /static
parentAdd ~e and ~b to date->string. (diff)
downloadcalp-b01f3793f7205c1b3c89af40c469ad933282629d.tar.gz
calp-b01f3793f7205c1b3c89af40c469ad933282629d.tar.xz
Add relevant content to calendar table.
Diffstat (limited to 'static')
-rw-r--r--static/style.css32
1 files changed, 30 insertions, 2 deletions
diff --git a/static/style.css b/static/style.css
index 810fa0b4..d38d8833 100644
--- a/static/style.css
+++ b/static/style.css
@@ -132,13 +132,41 @@ body {
.caltable .thead {
font-weight: bold;
- text-align: center;
+ display: flex;
+ align-items: center;
+ justify-content: center;
}
-.caltable div {
+.caltable .thead,
+.caltable .tbody {
border: 1px solid gray;
}
+.caltable .tbody {
+ overflow-y: auto;
+}
+
+.inline-event {
+ font-size: 8pt;
+ border-radius: 5px;
+ padding: 2px;
+ margin: 2px;
+ font-family: arial;
+}
+
+.date-info .day-number {
+ font-size: 150%;
+ padding: 2pt;
+}
+
+.date-info .month-name {
+ color: gray;
+}
+
+.date-info .year-number {
+ color: gray;
+}
+
/* ---------------------------------------- */
.calendar {