white space

master
km0 3 years ago
parent 72f3eed19f
commit 71338bf9e1

@ -14,7 +14,6 @@
<body> <body>
<div class="container"> <div class="container">
<div class="atlas"> <div class="atlas">
<button id="print">libretto</button>
<svg <svg
width="1000" width="1000"
height="1000" height="1000"
@ -151,6 +150,7 @@
<dt>Caretakers</dt> <dt>Caretakers</dt>
<dd>Erica, Gersande, Kamo</dd> <dd>Erica, Gersande, Kamo</dd>
</dl> </dl>
<button id="print">Print Libretto</button>
</header> </header>
<!-- <section class="vocabulary"></section> --> <!-- <section class="vocabulary"></section> -->

@ -72,6 +72,12 @@
overflow: hidden; overflow: hidden;
} }
.content p, .content h2 {
margin: default;
}
button#print {
display: none;
}
} }

@ -149,12 +149,35 @@ dd {
object-fit: contain; object-fit: contain;
} }
.content {
white-space: pre-line;
}
.content p,
.content h2 {
margin: 0;
}
.content img { .content img {
width: 100%; width: 100%;
object-fit: contain; object-fit: contain;
height: auto; height: auto;
} }
#print {
display: inline-block;
margin-top: 32px;
background: none;
border: 1px solid currentColor;
padding: 4px 8px;
font-size: 1rem;
}
#print:hover{
cursor: pointer;
}
@namespace svg url(http://www.w3.org/2000/svg); @namespace svg url(http://www.w3.org/2000/svg);
/* Necessary to select only SVG <a> elements, and not also HTML's. /* Necessary to select only SVG <a> elements, and not also HTML's.
See warning below */ See warning below */

Loading…
Cancel
Save