summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-02-20 23:38:19 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-02-20 23:38:19 +0100
commit19c4d165c060de65f1912072559763c088a6a251 (patch)
tree6f8d52cd24f2153475c4ec86e4c4fa54b3664387
parentd3e001f4b9c20154984fba6f7a30465463ffc086 (diff)
downloadquatuorbellefeuille.com-19c4d165c060de65f1912072559763c088a6a251.tar.xz
Try to align event details below title
-rw-r--r--stylesheets/actualités.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/stylesheets/actualités.css b/stylesheets/actualités.css
index bb11e09..2063238 100644
--- a/stylesheets/actualités.css
+++ b/stylesheets/actualités.css
@@ -40,6 +40,12 @@
text-align: center;
}
+#event-details {
+ /* Align with photos; #event-list h1 has font-size 2em and margin
+ * .67em; browsers default line-height to "roughly 1.2". */
+ margin-top: calc(2*0.67em + 2*1.2em);
+}
+
.details > .detail {
display: grid;
grid-template-columns: 2em 1fr;