source: code/trunk/static/partage.css@ 23

Last change on this file since 23 was 18, checked in by dev, 4 years ago

Change page header disposition

File size: 978 bytes
Line 
1body {
2 padding: 5%;
3 margin: auto;
4 max-width: 540px;
5 text-align: center;
6 font-family: serif;
7 font-size: 1.5rem;
8 background-color: #eeeeee;
9 color: #222222;
10}
11
12header {
13 display: flex;
14 flex-direction: column;
15 flex-wrap: wrap-reverse;
16 align-items: center;
17 align-content: center;
18}
19
20
21img#logo { height: 100%; max-height: 30vh; }
22h1 { font-size: 4.5rem; }
23ul { list-style: none; padding: 0; }
24
25/* font attributes are not inherited by default */
26input, input::file-selector-button {
27 text-align: inherit;
28 font-family: inherit;
29 font-size: inherit;
30}
31
32@media (min-aspect-ratio: 18/9) {
33 header {
34 flex-direction: row;
35 }
36 h1 { font-size: 3rem; margin-right: 10px; }
37 img#logo {
38 height: 50%;
39 max-height: 20vh;
40 order: 2;
41 }
42}
43
44@media (prefers-color-scheme: light) {
45 a { color: black; }
46 body {
47 color: #222222;
48 background-color: #eeeeee;
49 }
50}
51
52@media (prefers-color-scheme: dark) {
53 a { color: white; }
54 body {
55 color: #eeeeee;
56 background-color: #222222;
57 }
58}
59
Note: See TracBrowser for help on using the repository browser.