nav.css 343 B

1234567891011121314151617181920212223242526272829303132
  1. #nav
  2. {
  3. position: absolute;
  4. top: 0;
  5. width: 100%;
  6. /*background-color: #000;*/
  7. /*box-shadow: 0 1px 3px rgba(0,0,0,0.1);*/
  8. height: 8rem;
  9. box-sizing: border-box;
  10. z-index: 1;
  11. color: white;
  12. padding: 0.5em 0;
  13. overflow: hidden;
  14. }
  15. #nav > .container
  16. {
  17. height: 100%;
  18. }
  19. #nav .logo
  20. {
  21. height: 100%;
  22. }
  23. #nav .logo > img
  24. {
  25. height: 100%;
  26. }