try to fix page width etc

This commit is contained in:
Rhiannon Morris 2020-07-23 19:59:07 +02:00
parent b62586b4ad
commit a533d096eb
3 changed files with 18 additions and 5 deletions

View file

@ -4,6 +4,10 @@
--image-width: 1000px;
}
body {
max-width: var(--image-width);
}
#mainfig {
margin: 1em auto;
width: min-content;
@ -61,6 +65,7 @@
padding: 0;
display: flex;
align-items: flex-start;
flex-flow: row wrap;
}
.alts ul {
@ -95,7 +100,7 @@
grid-template-columns: 10% auto;
grid-gap: 2em;
align-items: baseline;
width: calc(var(--image-width) - 10%);
max-width: 80%;
margin: auto;
}
@ -114,9 +119,11 @@ footer {
font-size: 200%;
border-width: 2px;
}
footer {
font-size: 150%;
}
}
@media (prefers-reduced-motion: no-preference) {
.alts label {
transition-property: color, background;