templates/asciidoctor-compatibility.css in asciidoctor-revealjs-4.1.0 vs templates/asciidoctor-compatibility.css in asciidoctor-revealjs-5.0.0.rc1
- old
+ new
@@ -1,10 +1,10 @@
.reveal div.right {
float: right
}
-/* listing block */
+/* source blocks */
.reveal .listingblock.stretch > .content {
height: 100%
}
.reveal .listingblock.stretch > .content > pre {
@@ -14,10 +14,25 @@
.reveal .listingblock.stretch > .content > pre > code {
height: 100%;
max-height: 100%
}
+/* auto-animate feature */
+/* hide the scrollbar when auto-animating source blocks */
+.reveal pre[data-auto-animate-target] {
+ overflow: hidden;
+}
+
+.reveal pre[data-auto-animate-target] code {
+ overflow: hidden;
+}
+
+/* add a min width to avoid horizontal shift on line numbers */
+code.hljs .hljs-ln-line.hljs-ln-n {
+ min-width: 1.25em;
+}
+
/* tables */
table {
border-collapse: collapse;
border-spacing: 0
}
@@ -385,6 +400,16 @@
.footnotes {
border-top: 1px solid rgba(0, 0, 0, 0.2);
padding: 0.5em 0 0 0;
font-size: 0.65em;
margin-top: 4em;
+}
+
+.byline {
+ font-size:.8em
+}
+ul.byline {
+ list-style-type: none;
+}
+ul.byline li + li {
+ margin-top: 0.25em;
}