aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-05-10 22:53:17 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2019-05-10 22:53:17 +0200
commitb697acb6a32d12987b60c94990a56271b956c5e5 (patch)
tree77f5a458885a82c140f2c812791c3fd404d66495 /static
parentAdd HTML footer. (diff)
downloadcalp-b697acb6a32d12987b60c94990a56271b956c5e5.tar.gz
calp-b697acb6a32d12987b60c94990a56271b956c5e5.tar.xz
Update CSS.
Diffstat (limited to 'static')
-rw-r--r--static/style.css28
1 files changed, 23 insertions, 5 deletions
diff --git a/static/style.css b/static/style.css
index 5017e5ef..5f33d4ff 100644
--- a/static/style.css
+++ b/static/style.css
@@ -47,17 +47,21 @@
.sideinfo {
width: 20em;
height: 100%;
+ display: flex;
+ flex-direction: column;
}
.sideinfo .about {
display: flex;
justify-content: center;
- height: 20%;
+}
+
+.sideinfo .about > div {
+ margin: 1em;
}
.sideinfo .eventlist {
overflow: scroll;
- max-height: 80%;
}
.sideinfo .eventlist article {
@@ -68,7 +72,7 @@
padding-left: 2px;
}
-.sideinfo .eventlist main {
+.sideinfo .eventlist {
white-space: pre-line;
font-size: 10pt;
}
@@ -85,10 +89,16 @@
text-decoration: none;
}
-.calendar {
- height: 100%;
+.root main {
max-width: calc(100% - 20em);
display: flex;
+ flex-direction: column;
+}
+
+.calendar {
+ width: 100%;
+ display: flex;
+ flex-grow: 2;
}
.clockbar {
@@ -206,6 +216,14 @@
z-index: 0;
}
+.root footer {
+ font-family: monospace;
+}
+
+.root footer span {
+ margin: 0 1em;
+}
+
.event.continuing {
border-bottom: none;
background-image: linear-gradient(to top, #0007 0%,#FFF0 4em);