Files
marisa/static/partage.css
dev 2cafec6f80 Change page header disposition
git-svn-id: file:///srv/svn/repo/marisa/trunk@18 d6811dac-2434-b64a-9ddc-f563ab233461
2021-10-18 15:35:50 +00:00

60 lines
978 B
CSS

body {
padding: 5%;
margin: auto;
max-width: 540px;
text-align: center;
font-family: serif;
font-size: 1.5rem;
background-color: #eeeeee;
color: #222222;
}
header {
display: flex;
flex-direction: column;
flex-wrap: wrap-reverse;
align-items: center;
align-content: center;
}
img#logo { height: 100%; max-height: 30vh; }
h1 { font-size: 4.5rem; }
ul { list-style: none; padding: 0; }
/* font attributes are not inherited by default */
input, input::file-selector-button {
text-align: inherit;
font-family: inherit;
font-size: inherit;
}
@media (min-aspect-ratio: 18/9) {
header {
flex-direction: row;
}
h1 { font-size: 3rem; margin-right: 10px; }
img#logo {
height: 50%;
max-height: 20vh;
order: 2;
}
}
@media (prefers-color-scheme: light) {
a { color: black; }
body {
color: #222222;
background-color: #eeeeee;
}
}
@media (prefers-color-scheme: dark) {
a { color: white; }
body {
color: #eeeeee;
background-color: #222222;
}
}