header.css 779 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /* Header */
  2. header.big {
  3. background-size: cover, cover;
  4. background-position: center center;
  5. width: 100%;
  6. max-width: 100%;
  7. color: white;
  8. position: relative;
  9. margin-bottom: 2rem;
  10. }
  11. header.fixed {
  12. position: fixed;
  13. width: 100%;
  14. max-width: 100%;
  15. z-index: 1;
  16. top: 0;
  17. }
  18. header.relative {
  19. position: relative;
  20. }
  21. @media screen and (min-width: 1024px) {
  22. main > section > div:first-child:nth-last-child(2) ~ div > header.fixed {
  23. width: inherit;
  24. }
  25. }
  26. header > ul:first-child > li:first-child p:not(.normal) {
  27. text-align: center;
  28. }
  29. /* Specific forms in header */
  30. header form > div:not(.clear):not(.control) {
  31. min-height: 0;
  32. top: 0;
  33. }
  34. header form > div > input:not([type=submit]) {
  35. padding-top: 2rem;
  36. }