summaryrefslogtreecommitdiff
path: root/style.scss
diff options
context:
space:
mode:
Diffstat (limited to 'style.scss')
-rw-r--r--style.scss19
1 files changed, 13 insertions, 6 deletions
diff --git a/style.scss b/style.scss
index ef61e18..70747bd 100644
--- a/style.scss
+++ b/style.scss
@@ -9,12 +9,16 @@ body {
margin: 0;
display: flex;
- flex-direction: column;
- flex-wrap: wrap;
+ flex-direction: row;
align-items: center;
-}
-body > * {
- margin: auto;
+ & > * {
+ flex-direction: column;
+ align-items: center;
+ margin: auto;
+ & > * {
+ margin: auto;
+ }
+ }
}
* {
box-sizing: border-box;
@@ -63,7 +67,10 @@ table {
color: black;
}
}
-/* generic time formatting */
+/* generic time formatting - for datetimes that we want to render as
+ just a date, but still want to be sortable, we a construct like
+ `<time>DATE<span class=time>TIME</span></time>`, then use this to
+ hide the TIME part of it. */
time .time {
display: none
}