fix img size

master
grgr 3 years ago
commit 0acdaa142d

@ -7,7 +7,7 @@ pagedjs.src = "https://unpkg.com/pagedjs/dist/paged.polyfill.js";
window.addEventListener("load", () => {
fetchContents();
atlasLink();
document.getElementsByTagName("head")[0].appendChild(pagedjs);
//document.getElementsByTagName("head")[0].appendChild(pagedjs);
});
function fetchContents() {

@ -17,9 +17,11 @@
width: auto;
height: auto;
}
.libretto{
overflow: hidden;
.atlas {
border: none;
}
.contributions,
@ -59,4 +61,16 @@
display: block;
}
.contribution .title {
font-size: 28px;
}
.contribution {
border-bottom: none;
overflow: auto;
}
}

@ -49,10 +49,11 @@ body, html{
border-top: solid 1px var(--wireframe);
}
.libretto{
.libretto{
overflow-y: scroll;
}
.libretto > * {
border-bottom: solid 1px var(--wireframe);
}
@ -140,7 +141,12 @@ dd {
.contribution .content h3,
.contribution .content h2 {
font-size: 1rem;
}
.contribution img {
width: 100%;
height: auto;
object-fit: contain;
}
@namespace svg url(http://www.w3.org/2000/svg);

Loading…
Cancel
Save