From 57c0897ab1c70a1ceab3e2ddf98280836443d080 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Fri, 5 Apr 2019 17:38:25 +0200 Subject: [PATCH] Re-work display of revision list entries --- xep.xsl | 6 ++++-- xmpp.v2.css | 21 +++++++++++++++++++-- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/xep.xsl b/xep.xsl index f14c70ee..7124393a 100644 --- a/xep.xsl +++ b/xep.xsl @@ -577,9 +577,11 @@ content: "XEP-";
  • -
    Version ()
    + revision-history-v + +
    Version ()
    -

    ()

    +
  • diff --git a/xmpp.v2.css b/xmpp.v2.css index 4810ff7f..7072dfd7 100644 --- a/xmpp.v2.css +++ b/xmpp.v2.css @@ -1317,7 +1317,9 @@ h3 > a.anchor-link, h4 > a.anchor-link, h5 > a.anchor-link, - h6 > a.anchor-link { + h6 > a.anchor-link, + div.revision-head > a.anchor-link { + break-before: auto; visibility: hidden; } @@ -1326,7 +1328,8 @@ h3:hover > a.anchor-link, h4:hover > a.anchor-link, h5:hover > a.anchor-link, - h6:hover > a.anchor-link { + h6:hover > a.anchor-link, + div.revision-head:hover > a.anchor-link { visibility: visible; } @@ -1393,6 +1396,20 @@ font-weight: bold; font-size: 128.57143%; } + + div.revision-author { + text-align: right; + margin-bottom: 1.5em; + } + + p + div.revision-author, + ul + div.revision-author { + margin-top: -1.5em; + } + + div.revision-author:before { + content: "— "; + } } @media screen and ( min-width: 75em ) {