infopage/public/css/page.css
2024-03-31 17:56:11 -04:00

79 lines
1.1 KiB
CSS

body {
padding-bottom: calc(30px + 8em);
}
svg {
width: 0.9em;
height: 0.9em;
display: inline-block;
fill: var(--text);
}
a, a:visited, a:link {
color: var(--text);
text-decoration-color: var(--text);
}
footer a, footer a:visited, footer a:link {
color: var(--accent);
text-decoration-color: var(--accent);
}
.added {
display: inline-block;
text-align: left;
max-width: 16em;
white-space: break-word;
}
.added .img-list {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
column-gap: 0.5em;
max-width: 10em;
}
.added img {
max-width: 4em;
}
.added h2 {
text-align: center;
}
.added div {
margin-bottom: 0.2em;
}
#word-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
row-gap: 5em;
column-gap: 2em;
}
#key {
position: fixed;
text-align: left;
bottom: 10px;
opacity: 50%;
}
@media screen and (min-width: 566px) {
#key {
left: 10px;
}
}
@media screen and (max-width: 565px) {
#key {
position: fixed;
text-align: left;
bottom: calc(10px + 2em);
right: 10px;
}
}