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() {

@ -18,8 +18,10 @@
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;
}
}

@ -50,9 +50,10 @@ body, html{
}
.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