style.css 679 B

123456789101112
  1. body { display: flex; flex-wrap: wrap; font-family: sans; }
  2. header { flex-basis: 100%; flex-shrink: 0; }
  3. article { flex-basis: 60%; padding-left: 1em; }
  4. footer { flex-basis: 100%; flex-shrink: 0; }
  5. header nav { display: flex; justify-content: space-between; }
  6. nav a, header a { text-decoration: none ; color: inherit; }
  7. header h1 span { margin-left: 1em; font-size: 50%; font-style: italic; }
  8. body > nav { flex-basis: content; padding-right: 1vw; min-width: 16em; }
  9. nav ul { display: flex; flex-direction: column; list-style-type: none; list-style-position: outside; padding-left: 0; }
  10. nav li ul { padding-left: 0.6em }
  11. footer { display: flex; justify-content: space-between; }