- Timestamp:
- Oct 18, 2021, 3:35:50 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/static/partage.css
r15 r18 12 12 header { 13 13 display: flex; 14 flex-direction: column; 15 flex-wrap: wrap-reverse; 14 16 align-items: center; 15 17 align-content: center; 16 justify-content: center;17 max-height: 30vh;18 gap: 8px;19 18 } 20 19 21 20 22 h1 { font-size: 3rem; }23 img#logo { height: 4rem; }24 ul 21 img#logo { height: 100%; max-height: 30vh; } 22 h1 { font-size: 4.5rem; } 23 ul { list-style: none; padding: 0; } 25 24 26 25 /* font attributes are not inherited by default */ … … 31 30 } 32 31 33 34 @media (orientation: portrait) { 35 header { flex-direction: column; max-height: 50vh; } 36 h1 { font-size: 3rem; } 37 img#logo { height: 30vh; } 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 } 38 42 } 39 43
Note:
See TracChangeset
for help on using the changeset viewer.